ui: pins and topics as icon buttons with a count in the chat header
The labelled Pinned Messages and Topics buttons took about 300 px of the header, so the channel's topic was cut first. They are icon buttons now, named in their tooltip, with how many pins and topics the chat has (Bridge.pins-count and topics-count, -1 until the gateway answered). The counts are asked for when a chat comes on screen (a tab, a server, a gateway that connects, another server after a delete), not only when a drawer opens, so they show before. An answer for a chat that was closed meanwhile is dropped, instead of reopening it as a tab named Server. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
This commit is contained in:
1 parent
14ea206521
commit
2e3ddc11ec
7 files changed
+63
-11
No files matched your search
@@ -96,6 +96,8 @@ User-visible changes of the apps and the `tsgw` gateway. The format follows
|
||||
- The members panel shows a hand on those who need talk power to speak,
|
||||
instead of everyone's talk power as a bare number (the member card still
|
||||
has it).
|
||||
- The chat header's pinned messages and topics are icon buttons with a
|
||||
count, so the channel's topic has room.
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
Reference in new issue
Block a user