ui: the Servers tab is titled Servers, and the voice card names only the channel
On the phone's Servers tab the top bar showed the server's name and counts,
which the server card right below it shows too, and the voice card named
the server again ("Chill Zone / Nightfall Guild"). The top bar now says
Servers, as the Activity and You tabs say their names; the server card
stays the one place for the name, the counts, the banner and its Edit
server / Add a server menu. The voice card shows only the channel, on
desktop too; while connecting, before there is a channel, it shows
Connecting… alone.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
This commit is contained in:
1 parent
22fac502fa
commit
d0cd3f6cfd
5 files changed
+33
-16
No files matched your search
+7
-7
@@ -87,13 +87,13 @@ capture, NDK MediaCodec format queries); targetSdk and compileSdk 36.
|
||||
do not recreate it.
|
||||
- **Voice in the background**: while any session has a voice connection,
|
||||
`VoiceService` runs as a foreground service of type `microphone`. Its
|
||||
notification reads like the app's voice card: the channel as the title,
|
||||
the server and who is there ("Home · 3 in voice", "just you"), the time
|
||||
in voice as a chronometer, and Mute, Deafen and Leave, which act on every
|
||||
voice session; with several servers, "In voice on 2 servers" and their
|
||||
names. Tapping it opens the voice channel screen (the activity hands the
|
||||
request to Rust, which queues it until the window runs:
|
||||
`voelin_ui::request`). Rust drives it from engine events (`foreground.rs`,
|
||||
notification has the channel as the title, the server and who is there
|
||||
("Home · 3 in voice", "just you"), the time in voice as a chronometer,
|
||||
and Mute, Deafen and Leave, which act on every voice session; with
|
||||
several servers, "In voice on 2 servers" and their names. Tapping it
|
||||
opens the voice channel screen (the activity hands the request to Rust,
|
||||
which queues it until the window runs: `voelin_ui::request`). Rust
|
||||
drives it from engine events (`foreground.rs`,
|
||||
`Bridge.setVoiceNotification`). Audio itself is cpal on AAudio, as on
|
||||
desktop.
|
||||
- **Sharing the screen**: `voelin_media::capture::default_screen_capture()`
|
||||
|
||||
+13
-3
@@ -147,9 +147,13 @@ Shell pieces (ui/shells/): `DesktopShell` (rail + top bar + panels as
|
||||
server shows its icon or its initials, on a colour no other server has while
|
||||
there are at most ten, kept when a server is added),
|
||||
`TopBar` (the search, starting over the main panel, opens the search like
|
||||
Ctrl+K; the bell at the right), `MobileShell` (top bar, on the voice screen
|
||||
with Back, the channel, the people, Chats and More; the page; bottom
|
||||
navigation), `VoiceCard`, `VoiceButtons` (mute, deafen, share; `gear` adds
|
||||
Ctrl+K; the bell at the right), `MobileShell` (top bar: the tab's or the
|
||||
page's name, such as Servers, Activity, You or Settings, the app's name on
|
||||
Home, the server with the chat below on Chats; on the voice screen Back,
|
||||
the channel with the server below, the people, Chats and More; the page;
|
||||
bottom navigation), `VoiceCard` (Voice Connected, or Connecting…, and our
|
||||
channel; Disconnect, and Hold to talk with push-to-talk; on the phone a tap
|
||||
opens the voice screen), `VoiceButtons` (mute, deafen, share; `gear` adds
|
||||
the voice settings; `round` and `filled` for the voice view's call bar),
|
||||
`UserCard` (its avatar and name open Settings → My Account), `HoldToTalk`.
|
||||
Pages bring their own title; About is in the settings (and on the phone's
|
||||
@@ -189,6 +193,12 @@ Activity tab, with the streams (the streamer's avatar on their colour, Watch,
|
||||
Show and Leave). The Chat tab counts the server's unread chats; private chats
|
||||
count on the Home tab, where the direct messages are.
|
||||
|
||||
The phone's Servers tab (`tab:servers`) is titled Servers: the servers as a
|
||||
row of icons (a double tap edits one, + adds one), then the server card, the
|
||||
one place for the server's name, counts and banner, with its menu (Edit
|
||||
server, Add a server); Connect, or the voice card with our channel (a tap
|
||||
opens the voice screen); and the channel tree.
|
||||
|
||||
The phone's voice screen (`voice` in a phone-sized window,
|
||||
`screens/mobile-voice.slint`) has one header, the shell's top bar: Back (it
|
||||
closes the pins, the topics or the members over the screen first, then the
|
||||
|
||||
Reference in new issue
Block a user