From f824d33bc2d8ef177b4fdbbc09951f6aa12cf958 Mon Sep 17 00:00:00 2001 From: Rain Date: Tue, 18 Jul 2023 16:19:34 -0700 Subject: [PATCH] [wicket] don't use all-caps for key shortcuts (#3693) We're somewhat inconsistent on casing for key shortcuts, e.g. "UP/DOWN" in some places and "Up/Down" in others. Settle on a consistent case style for key shortcuts. I think all-upper-case like "CTRL-R CTRL-R" looks too much like shouting, so choose title case instead. --- wicket/src/ui/panes/overview.rs | 6 +++--- wicket/src/ui/panes/rack_setup.rs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wicket/src/ui/panes/overview.rs b/wicket/src/ui/panes/overview.rs index aa19fb51a4..aeebbd5f92 100644 --- a/wicket/src/ui/panes/overview.rs +++ b/wicket/src/ui/panes/overview.rs @@ -228,9 +228,9 @@ impl InventoryView { pub fn new() -> InventoryView { InventoryView { help: vec![ - ("Rack View", ""), - ("Switch Component", ""), - ("Scroll", ""), + ("Rack View", ""), + ("Switch Component", ""), + ("Scroll", ""), ("Ignition", ""), ], scroll_offsets: ALL_COMPONENT_IDS diff --git a/wicket/src/ui/panes/rack_setup.rs b/wicket/src/ui/panes/rack_setup.rs index 26b205337a..b89df9de2e 100644 --- a/wicket/src/ui/panes/rack_setup.rs +++ b/wicket/src/ui/panes/rack_setup.rs @@ -114,16 +114,16 @@ impl Default for RackSetupPane { fn default() -> Self { Self { help: vec![ - ("Scroll", ""), + ("Scroll", ""), ("Current Status Details", ""), ], rack_uninitialized_help: vec![ - ("Scroll", ""), + ("Scroll", ""), ("Current Status Details", ""), ("Start Rack Setup", ""), ], rack_initialized_help: vec![ - ("Scroll", ""), + ("Scroll", ""), ("Current Status Details", ""), ("Start Rack Reset", ""), ],