Indicate whether reply came from mobile or desktop

AI-generated summary

Indicating Mobile or Desktop Replies

pfaffman proposed an idea for a theme component that would indicate whether a user replied via desktop or mobile device. The motivation behind this idea is to provide a subtle hint that a user may be more prone to typing mistakes when responding on a mobile device.

maiki responded with curiosity about the use case for such a feature, questioning the benefits of indicating that a user replied on a mobile device. pfaffman clarified that the idea is simply to provide a visual cue, such as an icon, to signal that a user replied on a mobile device with a smaller keyboard.

When someone replies via email there is an indicator showing that the reply came via email. Discourse knows what kind of device people are using. How hard would it be to make a theme component that added an indicator showing if the user replied via desktop or mobile (where they are somewhat more likely to make insane typing mistakes)?

I see that in the json load there is a via_email: true, so I guess to do this one would need to add to the serializer something about the device type? And I guess that would take a plugin?

I don’t know, just curious about the use case.

What is it? :slight_smile:

To indicate via icon, “this person replied on a teensy touch keyboard?”

That’s it! I don’t know if this person will even use discourse, but I got to wondering about how hard it would be.