Adds a "Hermes Dashboard" chip to the Settings > Appearance "Sidebar tabs" grid, bidirectionally synced with the existing dashboard-mode dropdown (never/always/auto). Chip off -> dropdown "never"; chip on -> restore last non-never mode; dropdown change -> chip re-render. The chip is a proxy for the dashboard config via saveDashboardSettings -> POST /api/dashboard/config; it NEVER mutates hidden_tabs/tab_order (separate toggle fn from _toggleTabVisibilityChip). loadDashboardSettings guards a stale config GET from clobbering a newer save (_dashboardSettingsLoadSeq / _dashboardSettingsWriteSeq), and a failed chip save rolls the dropdown/chip back. Chip label via textContent (XSS-safe). Co-authored-by: rodboev <rodboev@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| vendor | ||
| apple-touch-icon.png | ||
| assistant_turn_anchors.js | ||
| boot.js | ||
| commands.js | ||
| favicon-32.png | ||
| favicon-192.png | ||
| favicon-512.png | ||
| favicon-512.svg | ||
| favicon.ico | ||
| favicon.svg | ||
| i18n.js | ||
| icons.js | ||
| index.html | ||
| login.js | ||
| manifest.json | ||
| messages.js | ||
| onboarding.js | ||
| outline.js | ||
| panels.js | ||
| pwa-startup.js | ||
| sessions.js | ||
| style.css | ||
| sw.js | ||
| terminal.js | ||
| ui.js | ||
| workspace.js | ||