voelin-ui: new screenshots of the server screens

The pictures in docs/screenshots/ showed the server page before the
design's layout. They are taken again with scripts/shots.sh, and the new
screens get their own: the voice channel, the pins, the topics, an open
topic, the member card and the stream popped out.

`VOELIN_OPEN=topic:<id>` now fills the sample topic as the gateway would
when it is opened (it was answered once at start and then cleared), and
the top bar's members button also closes an open drawer, like the chat
header's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
selikhovandClaude Opus 5.5 committed 2026-10-03 06:33:35 +03:00
1 parent e88498d587
commit 1041ffaf5c
24 files changed
+17 -5

No files matched your search

+14 -2
View File
@@ -153,7 +153,13 @@ pub(crate) fn start(ui: &MainWindow, switches: &Switches) -> Running {
"pins" => nav.invoke_show_pins(true),
"topics" => nav.invoke_show_topics(true),
"topic" => {
with_app(|app| app.open_topic(arg.parse().unwrap_or(1)));
with_app(|app| {
app.open_topic(arg.parse().unwrap_or(1));
// No gateway answers in demo mode.
if switches.demo_ui {
demo_topic(app);
}
});
}
"member" => {
with_app(|app| app.open_first_member());
@@ -640,8 +646,14 @@ fn demo_chat(app: &mut App, session: u64) {
],
},
});
}
/// The messages of the sample topic, as the gateway answers when it is
/// opened.
fn demo_topic(app: &mut App) {
let now = chrono::Utc::now().timestamp_millis();
app.handle_event(Event::Gateway {
session,
session: DEMO as u64,
update: GatewayUpdate::TopicHistory {
target: ChatTarget::Channel(2),
topic: 1,
+3 -3
View File
@@ -220,12 +220,12 @@ export component TopBar inherits Rectangle {
}
IconButton {
icon: Icons.users;
label: @tr("Members and streams");
checked: Nav.right-panel-open && Nav.page == Page.server;
label: @tr("Members");
checked: Nav.right-panel-open && !Nav.pins-open && !Nav.topics-open && Nav.page == Page.server;
y: (parent.height - self.height) / 2;
clicked => {
Nav.show(Page.server);
Nav.right-panel-open = !Nav.right-panel-open;
Nav.toggle-members();
}
}
Rectangle {
Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB