voelin-ui: lay the server screens out as the design mockups do
The screens were built before the mockups were at hand and guessed at their layout: a strip of voice controls over the chat, pins and topics floating over the messages, the voice channel as a grid of tiles and a members panel of our channel only. The mockups put them elsewhere. - The members panel lists everyone on the server, "Members — N" with a search: those streaming (or, in the voice channel and while watching, the people in our channel) first, then each server group in the server's order, people elsewhere with the channel they are in, and moderator groups as a role next to the name. - Pinned messages and topics take the members panel's place, as cards; topics can be searched and show when they were last active, and the chat header opens them with labelled buttons. - The voice channel view is a header with Voice Settings and Leave, the people as large avatars with talking and muted marks, the streams as large cards (with the picture while we watch) and the channel's chat. - The chat drops the extra voice strip (the sidebar has the controls); messages are larger, times read "Today at 10:14", reactions end with an add button, and the composer has a round attach button. - Hold-to-talk shows only with push-to-talk. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6d1dd65c17
commit
decddc357f
20 files changed
+1196
-666
No files matched your search
@@ -7,6 +7,9 @@ use crate::app::{App, Bridge, MainWindow, with_app};
|
||||
|
||||
pub(super) fn wire(ui: &MainWindow) {
|
||||
let bridge = ui.global::<Bridge>();
|
||||
bridge.on_search_topics(|text| {
|
||||
with_app(|app| app.search_topics(text.to_string()));
|
||||
});
|
||||
bridge.on_open_channel_chat(|cid| {
|
||||
with_app(|app| app.open_chat(ChatTarget::Channel(cid as ChannelId), true));
|
||||
});
|
||||
|
||||
@@ -14,6 +14,12 @@ pub(super) fn wire(ui: &MainWindow) {
|
||||
bridge.on_search(|text| {
|
||||
with_app(|app| app.search(text.to_string()));
|
||||
});
|
||||
bridge.on_search_members(|text| {
|
||||
with_app(|app| app.search_members(text.to_string()));
|
||||
});
|
||||
bridge.on_show_voice_view(|on| {
|
||||
with_app(|app| app.show_voice_view(on));
|
||||
});
|
||||
bridge.on_connect_voice(|| {
|
||||
with_app(|app| app.connect_voice());
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user