fix(tui): swap 3/4 panel hotkeys so they match the help text

3 now jumps to Stats and 4 to Utilities, matching the documented
"System/Logs/Stats/Utilities/Settings" order. PANEL_ORDER updated so
prev/next cycle navigation follows the same sequence.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-04-28 21:59:48 -07:00
parent a6e6e36266
commit 4c3e88cfde

View File

@@ -704,7 +704,7 @@ function HelpOverlay() {
// ── Status mode grid layout ────────────────────────────────────────────────────
const PANEL_ORDER: SectionId[] = ["system", "logs", "utilities", "stats", "settings"];
const PANEL_ORDER: SectionId[] = ["system", "logs", "stats", "utilities", "settings"];
function StatusModeGrid({
state,
@@ -3921,8 +3921,8 @@ export function DashboardApp({ controller }: DashboardAppProps) {
const sectionForNumber: Record<string, SectionId | undefined> = {
"1": "system",
"2": "logs",
"3": "utilities",
"4": "stats",
"3": "stats",
"4": "utilities",
"5": "settings",
};
const targetSection = sectionForNumber[input];