feat(clients/windows): rename the Help button to Shortcuts

"Shortcuts" says what the page actually is — the in-stream keyboard/controller
reference — and the keyboard glyph reads better than the generic help icon
(user feedback from the live-test round). Page title follows.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-09 01:07:03 +02:00
co-authored by Claude Fable 5
parent a3332aedae
commit bf9be59f0b
3 changed files with 12 additions and 11 deletions
+9 -8
View File
@@ -1,7 +1,8 @@
//! The Help screen: a short note on the in-stream capture model plus a reference of the keyboard
//! shortcuts — reached from the Help button on the host list. The Windows counterpart of the GTK
//! client's Keyboard Shortcuts window; the bindings themselves live in [`crate::input`], so both
//! clients document the same set.
//! The Shortcuts screen: a short note on the in-stream capture model plus a reference of the
//! keyboard shortcuts — reached from the Shortcuts button on the host list. The Windows
//! counterpart of the GTK client's Keyboard Shortcuts window; the bindings themselves live in
//! the session window (and [`crate::input`] for the legacy builtin path), so both clients
//! document the same set.
use super::style::*;
use super::Screen;
@@ -65,9 +66,9 @@ fn shortcuts_reference() -> Element {
.into()
}
/// The Help screen: a `page`-column with a Back button to the host list, an intro card on the
/// capture model, and the shortcuts reference. Hook-free — called inline from `root` like the
/// other static screens.
/// The Shortcuts screen: a `page`-column with a Back button to the host list, an intro card on
/// the capture model, and the shortcuts reference. Hook-free — called inline from `root` like
/// the other static screens.
pub(crate) fn help_page(set_screen: &AsyncSetState<Screen>) -> Element {
let back_btn = button("Back").accent().icon(Symbol::Back).on_click({
let ss = set_screen.clone();
@@ -90,7 +91,7 @@ pub(crate) fn help_page(set_screen: &AsyncSetState<Screen>) -> Element {
);
page(vec![
page_header("Help", back_btn),
page_header("Shortcuts", back_btn),
intro.into(),
shortcuts_reference(),
])
+1 -1
View File
@@ -292,7 +292,7 @@ pub(crate) fn hosts_page(props: &HostsProps, cx: &mut RenderCx) -> Element {
let sa = set_show_add.clone();
move || sa.call(true)
}),
header_btn("Help", Symbol::Help).on_click({
header_btn("Shortcuts", Symbol::Keyboard).on_click({
let ss = set_screen.clone();
move || ss.call(Screen::Help)
}),
+2 -2
View File
@@ -62,8 +62,8 @@ pub(crate) enum Screen {
Settings,
/// Open-source / third-party license notices (reached from Settings).
Licenses,
/// In-stream keyboard-shortcuts reference + capture help (reached from the host list's Help
/// button).
/// In-stream keyboard-shortcuts reference + capture help (reached from the host list's
/// Shortcuts button).
Help,
Pair,
/// Per-host network speed test (probe burst + recommended bitrate).