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