Merge the development branch: Wave 5B's phone screens and quick-share sound
Both sides kept. From the development branch: the phone's voice channel screen, the pages over it (pins, topics, members), the voice button in the phone's top bar, the quick share's mixer and picker, invite links, viewer counts, the studio's cameras and RTMP output, and the Android pieces. The phone's top bar keeps this wave's search button next to the voice button and the bell (the bell opens the notifications panel); its tabs mark Home also on the friends, messages and Library pages and Servers on a server's events page. The phone shell shows both sides' pages: this wave's friends, messages, events and Library pages with their back button, and the development branch's voice channel screen, which hides the bottom navigation as before. Home keeps this wave's page, which maps the design onto TeamSpeak as decided for it (friends' presence across servers, the latest chats of every server, live streams of all servers); the development branch's interim home (people on the current server, its chats, its streams) gives way to it. Its server cards still switch the phone to the Servers tab through Nav.show. A server item keeps this wave's detail and flavor with the development branch's wording of `live` (streams on the server). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
cd5ac614ef
104 files changed
+8174
-574
No files matched your search
@@ -15,7 +15,10 @@
|
||||
//! appearance, or 0-4), `about`, `share`, `bookmark` (add a server),
|
||||
//! `emoji` (the picker), `client` (the volume dialog of the first other
|
||||
//! client once connected), `panel` / `no-panel` (the members panel),
|
||||
//! `voice` (the voice channel view), `pins`, `topics` (the drawers),
|
||||
//! `voice` (the voice channel view; on the phone its own screen),
|
||||
//! `members` (the phone's members page), `notification` (a tapped voice
|
||||
//! notification), `shared:<text>` (text shared to the app on Android),
|
||||
//! `pins`, `topics` (the drawers),
|
||||
//! `topic:<id>` (a topic's messages), `member` (the member card of the
|
||||
//! first other client), `watch` (the first stream; with sample data the
|
||||
//! local test pattern in its place), `popout` (the same, popped out),
|
||||
@@ -167,7 +170,13 @@ pub(crate) fn start(ui: &MainWindow, switches: &Switches) -> Running {
|
||||
"server" => nav.invoke_show(Page::Server),
|
||||
"settings" => nav.invoke_open_settings(section(arg)),
|
||||
"about" => nav.invoke_open_about(),
|
||||
"share" => nav.invoke_open_share(),
|
||||
"share" => {
|
||||
nav.invoke_open_share();
|
||||
// The sample share of the test pattern, live at once.
|
||||
if arg == "live" && switches.demo_ui {
|
||||
with_app(|app| app.demo_share());
|
||||
}
|
||||
}
|
||||
"bookmark" => nav.invoke_add_server(),
|
||||
"emoji" => nav.set_emoji_open(true),
|
||||
"panel" => nav.set_right_panel_open(true),
|
||||
@@ -175,6 +184,15 @@ pub(crate) fn start(ui: &MainWindow, switches: &Switches) -> Running {
|
||||
"tab" => nav.set_mobile_tab(mobile_tab(arg)),
|
||||
"voice" => nav.invoke_show_voice(true),
|
||||
"pins" => nav.invoke_show_pins(true),
|
||||
// The phone's members page.
|
||||
"members" => nav.set_members_open(true),
|
||||
// What Android hands over: a tapped voice notification, text
|
||||
// shared to the app.
|
||||
"notification" => crate::inbox::request(crate::inbox::Request::ShowVoice),
|
||||
"shared" => crate::inbox::request(crate::inbox::Request::Share {
|
||||
text: Some(arg.to_owned()),
|
||||
files: Vec::new(),
|
||||
}),
|
||||
"topics" => nav.invoke_show_topics(true),
|
||||
"topic" => {
|
||||
with_app(|app| {
|
||||
@@ -480,6 +498,7 @@ fn demo_ui(app: &mut App) {
|
||||
bitrate: 8000,
|
||||
viewer_limit: 0,
|
||||
audio: true,
|
||||
viewers: Some(12),
|
||||
}],
|
||||
},
|
||||
Event::State {
|
||||
|
||||
Reference in new issue
Block a user