element-hq / riot-meta

A place to experiment with tracking features at a higher level than Riot web/iOS/Android.
25 stars 6 forks source link

Groups: Flair for users #118

Open giomfo opened 7 years ago

giomfo commented 7 years ago

Flair is a series of badges after the user’s (disambiguated) display name.

By default, we apply flair if you are a member of a group to which the current room belongs. E.g. if you’re a member of the Matrix core team, and Matrix HQ is part of the Matrix core team group, then your flair will be automatically visible when entering it by default.

We suggest letting users override which flair is visible per-room though (in MemberInfo for that room, or as a dialog box when joining the room) TBD.

Do we limit the number of flairs? Either arbitrary limit of 3 or whatever TBD

denyeo commented 7 years ago

I think flairs will be particularly important for subgroup/labels, to differentiate users within the same group. edit: I've become aware that flairs seem to be being implemented only for Groups (e.g. matrix-dev) at this time, but I'd like to bring up the case of flairs for subgroups (e.g. matrix-dev Core Contributors).

discord roles

For reference, here is how Discord displays roles (equivalent to Matrix subgroups?). Roles have priorities and colours in Discord, and the highest-ranked role of a user determines the colour of their username. This username colouring makes for a handy reference system (e.g. in this case, learners of Japanese can tell at a glance which users are native speakers or advanced learners of the language).

There are UI issues with colouring usernames, so the alternative giomfo mentioned of displaying the top 3/however many flairs is a good idea.

turt2live commented 7 years ago

Related: https://github.com/vector-im/riot-web/issues/5379

giomfo commented 6 years ago

The flair added to the user’s display name in the room history is finally defined by crossing the 2 following information:

In the mobile application, we display no more than 3 flair.

Riot Android displays the full list of flair when the user clicks on them. TODO: this improvement should be added in Riot iOS