svrnty-hermes-webui-plugin/static
Svrnty b43e6496f5
Some checks failed
plugin-tests / test (push) Failing after 5s
fix(plugin): inject sidebar buttons into BOTH .rail (desktop) + .sidebar-nav (mobile)
ROOT CAUSE of JP's "buttons not showing" report: hermes-webui has two nav
containers — `<nav class="rail">` (desktop ≥641px, rail-btn 20×20 stroke
1.5) and `.sidebar-nav` (mobile, nav-tab 18×18 stroke 2). My previous
injection only touched .sidebar-nav, so on desktop the buttons literally
didn't exist anywhere visible.

This patch:
- Defines per-container button templates (class list + svg size/stroke)
  matching exactly how upstream renders its native rail-btn vs nav-tab
- Iterates both containers on init + retries
- MutationObserver re-injects into either if something re-renders it
- Tooltip modifier (--bottom) only applied for sidebar-nav (mobile pattern)
- SVG paths centralized so adding new tabs is one entry

Karpathy 4 rules: surfaced root cause via console logs + DOM inspection
instead of guessing, simplest fix (data-driven container list), surgical
(no other behavior changed).
2026-05-24 12:58:06 -04:00
..
adwright feat(plugin): Adwright + BTE Command Center panels (v0.4.0) 2026-05-24 12:12:27 -04:00
bte feat(plugin): Adwright + BTE Command Center panels (v0.4.0) 2026-05-24 12:12:27 -04:00
fonts feat(plugin): Phase 2 partial — vault_status migrated + brand skin moved + eval suite (P2.B/C, P3.A/B) 2026-05-23 10:02:47 -04:00
adwright.css feat(plugin): sidebar nav buttons for Adwright + BTE (v0.5.0) 2026-05-24 12:45:01 -04:00
adwright.js feat(adwright panel): add cross-link button to BTE Command Center 2026-05-24 12:19:17 -04:00
app.css feat(plugin): Phase 2 partial — vault_status migrated + brand skin moved + eval suite (P2.B/C, P3.A/B) 2026-05-23 10:02:47 -04:00
app.js feat(plugin): voice-message mic UI in app.js — closes Phase 2.A UX gap (L8) 2026-05-23 10:28:47 -04:00
bte.css feat(plugin): sidebar nav buttons for Adwright + BTE (v0.5.0) 2026-05-24 12:45:01 -04:00
bte.js feat(plugin): sidebar nav buttons for Adwright + BTE (v0.5.0) 2026-05-24 12:45:01 -04:00
svrnty_nav.js fix(plugin): inject sidebar buttons into BOTH .rail (desktop) + .sidebar-nav (mobile) 2026-05-24 12:58:06 -04:00
umbrella.css feat(umbrella): cortex-os umbrella graph viz panel — Phase 2.E 2026-05-24 12:43:29 -04:00
umbrella.html feat(umbrella): cortex-os umbrella graph viz panel — Phase 2.E 2026-05-24 12:43:29 -04:00
umbrella.js feat(umbrella): cortex-os umbrella graph viz panel — Phase 2.E 2026-05-24 12:43:29 -04:00