Skip to content

feat(theme): Aurora routes — collapsible route groups (chevron + collapse-all) - #165

Merged
CallMeTechie merged 2 commits into
masterfrom
feat/aurora-routes-collapsible-groups
Jun 23, 2026
Merged

CallMeTechie merged 2 commits into
masterfrom
feat/aurora-routes-collapsible-groups

Conversation

@CallMeTechie

Copy link
Copy Markdown
Owner

Wunsch

Gruppierte Routen auf der Aurora-routes/-Seite sollen wieder ein-/ausklappbar sein, damit Unterpunkte ausgeblendet werden können, wenn sie nicht gebraucht werden.

Umsetzung (Variante A — vom User aus 3 Mockups gewählt)

  • Chevron-Gruppenköpfe: Klick auf eine Gruppenkopf-Zeile klappt deren Sub-Routen ein/aus; der Chevron rotiert, aria-expanded spiegelt den Zustand.
  • Persistenz + Konsistenz: nutzt den vorhandenen [data-gtoggle]-Handler und dasselbe collapsedGroups-localStorage-Set wie die Default-/Pro-Kartenansicht → Zustand überlebt Reloads, themeübergreifend konsistent.
  • „Alle ein-/ausklappen': Toolbar-Toggle, der sich automatisch ausblendet, wenn keine Mehrfach-Gruppen existieren; Label wechselt zwischen Einklappen/Ausklappen.

Aurora-only

  • Nur der isAurora()-Render-Pfad, aurora.css und das Aurora-routes-Template berührt. renderTable (default/pro), pro.css, app.css unverändert.
  • Neue i18n-Keys routes.collapse_all / routes.expand_all (en+de). Kosmetisch → nicht lizenz-gated.

Verifikation

Interaktions-Test gegen die reale App (Headless-Chromium, 17 Assertions, ALLE grün): Klick-Toggle (6↔4 Zeilen), aria-expanded='false', „Collapse all' (→ nur 2 Standalone-Zeilen), Persistenz über vollen Page-Reload, „Expand all' kehrt zurück, keine JS-Fehler.

…apse-all)

Make the Aurora routes-list group headers collapsible so sub-routes can be
hidden when not needed. Clicking a group header toggles its members via the
shared [data-gtoggle] handler and the same persisted collapsedGroups
localStorage set the default/pro card view already uses — so collapse state
survives reloads and is consistent across themes. Adds a rotating chevron
(aria-expanded reflects state) and a toolbar 'collapse all / expand all'
toggle that auto-hides when no multi-route groups exist.

Aurora-only: only the isAurora() render path + aurora.css + the aurora
routes template are touched; default/pro renderTable and pro.css/app.css are
unchanged. New i18n keys routes.collapse_all / routes.expand_all (en+de).
…atches

The aurora_theme.test.js guard asserts the literal 'if (isAurora()) auroraInitTypeToggle'; split the two init calls into separate isAurora() lines instead of a braced block.
@CallMeTechie
CallMeTechie merged commit 73b6a3a into master Jun 23, 2026
8 checks passed
@CallMeTechie
CallMeTechie deleted the feat/aurora-routes-collapsible-groups branch June 25, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant