feat(client): icon buttons, emoji picker, reactions and a redesigned voice room

- Replace every hand drawn symbol and unicode glyph with Lucide icons via
  Symbol, with tooltips on icon buttons (built-in Tooltip, which does not
  swallow clicks), a proper gear and a clear log-out button for leaving a
  server.
- Center text and controls vertically in channel rows, headers, the user
  panel and friend rows.
- Message actions: quick reactions, add reaction, reply, edit and delete as
  icons. The bar stays visible while the pointer is over its buttons.
- Emoji picker with categories and Russian and English search for the
  composer and for reactions. Reactions are shown under the message and
  toggle on click (ReactionAdd or ReactionRemove).
- Remove the keyboard hint under the composer, add a placeholder and a
  growing editor with emoji and send buttons.
- Voice room: participant cards with avatar and speaking ring, round icon
  controls with off states in red, accent gradient background.
- One AvatarView everywhere (including voice cards and members). The local
  user is listed as online in the member list.
- Real checkbox on the connect screen, theme overlay colour for the trust
  dialog, accent primary button.
- ui_smoke now renders screens in all four themes and checks the member
  status, the action bar and the picker with real pointer input.
This commit is contained in:
Loki 2026-10-25 10:26:02 +01:00
parent 4462ef4708
commit 220af2d6a4
Signed by: boba
GPG key ID: 253067914055423B
24 changed files with 1120 additions and 258 deletions

View file

@ -38,7 +38,7 @@ export component AvatarCropper inherits Rectangle {
padding: 18px; spacing: 8px; alignment: start;
HorizontalLayout {
Text { text: @tr("Crop photo"); color: Theme.text-primary; font-size: Theme.font-size + 5px; font-weight: 600; horizontal-stretch: 1; vertical-alignment: center; }
ActionButton { text: "×"; width: 30px; quiet: true; clicked => { root.cancel(); } }
ActionButton { text: @tr("Cancel"); icon: "x"; width: 30px; quiet: true; clicked => { root.cancel(); } }
}
Text { text: @tr("Drag the photo and adjust the zoom."); color: Theme.text-muted; font-size: Math.max(Theme.font-size - 3px, 11px); }
Rectangle { height: 4px; }
@ -95,7 +95,7 @@ export component AvatarCropper inherits Rectangle {
Rectangle { height: 2px; }
HorizontalLayout {
spacing: 10px;
ActionButton { text: "−"; width: 32px; clicked => { root.set-zoom(root.zoom - 0.1); } }
ActionButton { text: "-"; width: 32px; clicked => { root.set-zoom(root.zoom - 0.1); } }
AudioSlider { minimum: 1; maximum: 3; value <=> root.zoom; changed(value) => { root.zoom-changed(value); } }
ActionButton { text: "+"; width: 32px; clicked => { root.set-zoom(root.zoom + 0.1); } }
}