Fixed tab naming to correspond to the web client. (#1780)

This commit is contained in:
Bob Dickinson 2026-07-25 17:11:52 -07:00 • committed by GitHub
commit d009fcca09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,13 +8,23 @@ export type TabType =
| "requests"
| "logging";
/**
* Tab bar labels + single-letter accelerators.
*
* Accelerators must be unique and appear in the label. Prefer the first letter;
* when that conflicts (Protocol vs Prompts both want `p`, Console vs Connect's
* global `c`), pick the earliest remaining letter in the word.
*
* Connect (`c`) / Disconnect (`d`) are global actions, not tab accelerators —
* Console therefore uses `o` (C**o**nsole).
*/
export const tabs: { id: TabType; label: string; accelerator: string }[] = [
{ id: "info", label: "Info", accelerator: "i" },
{ id: "auth", label: "Auth", accelerator: "a" },
{ id: "resources", label: "Resources", accelerator: "r" },
{ id: "prompts", label: "Prompts", accelerator: "p" },
{ id: "prompts", label: "Prompts", accelerator: "m" },
{ id: "tools", label: "Tools", accelerator: "t" },
{ id: "messages", label: "Messages", accelerator: "m" },
{ id: "requests", label: "HTTP Requests", accelerator: "h" },
{ id: "logging", label: "Logging", accelerator: "l" },
{ id: "messages", label: "Protocol", accelerator: "p" },
{ id: "requests", label: "Network", accelerator: "n" },
{ id: "logging", label: "Console", accelerator: "o" },
];