mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
Add server group icon badges and a 'no talk power' status icon
Group icons were entirely missing from the data model - GroupEntry only carried id/name. Added icon_id (from ServerGroup/ChannelGroup's Icon field) through connector -> gateway -> frontend, matching the same channel-0 icon_<id> file convention already used for server icons (#77), reusing that dialog's fetch/cache/render plumbing (serverIconImages, iconDataUrl). Client rows now render a small badge per server group with a non-zero icon, positioned after the name/status icons (i.e. on the right), instead of not existing at all. Also added a 🔒 status icon for clients who aren't muted but still can't talk due to insufficient talk power in a moderated channel (previously no icon indicated this state at all).
This commit is contained in:
1 parent
6e343c4d4c
commit
b7ef6f78e7
6 files changed
+76
-14
No files matched your search
@@ -550,6 +550,13 @@
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.ts-group-icon {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
object-fit: contain;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.ts-poke-button {
|
||||
margin-left: auto;
|
||||
background: transparent;
|
||||
|
||||
Reference in new issue
Block a user