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

@ -197,6 +197,7 @@ fn wire_signals(window: &MainWindow, state: &Rc<RefCell<AppState>>) {
});
}
ui::emoji::wire(window);
crate::ui::appearance::wire(window, state, !cfg!(test));
ui::i18n::wire(window, !cfg!(test));
crate::ui::avatar::wire(window, state, !cfg!(test));
@ -804,14 +805,11 @@ fn wire_signals(window: &MainWindow, state: &Rc<RefCell<AppState>>) {
let s = state.borrow();
let ch_id = s.ui.active_channel.clone().unwrap_or_default();
let net = s.net.clone();
let command =
ui::update::reaction_command(&s.ui, &s.identity.pubkey_hex, ch_id, msg_id, emoji);
drop(s);
tokio::spawn(async move {
net.send(NetCommand::ReactionAdd {
channel_id: ch_id,
message_id: msg_id,
emoji,
})
.await;
net.send(command).await;
});
});
}