Skip to content

power_level badges for users in room settings (issue #453)

image

To sum up:

  • Added a badge parameter to Avatar::circle
  • Renamed admin_badge to avatar_badge and AdminColor to BadgeColor, since they are also usable for room avatars
  • Badges are aligned top right like in Riot (it looked better than top left IMHO)
  • Golden badge for PL 100
  • Silver badge for PL 50 -> 99

Next step is to implement tooltips or other textual information to display the power level value.

Here are the solutions that comes to my mind:

  • Text next to the matrix ID (probably better?)
  • Text next to the user name
  • Tooltip on the avatar (in addition to another solution?)

Do you have any preference?

Edited by Crom (Thibaut CHARLES)

Merge request reports