Skip to content

feat: collapsible side panels#6

Merged
halbekanne merged 9 commits into
mainfrom
feat/collapsible-panels
Apr 9, 2026
Merged

feat: collapsible side panels#6
halbekanne merged 9 commits into
mainfrom
feat/collapsible-panels

Conversation

@halbekanne
Copy link
Copy Markdown
Owner

@halbekanne halbekanne commented Apr 9, 2026

Summary

  • Navigator (links) und Tagesplan-Kalender (rechts) sind jetzt einklappbar — Sunsama-inspiriertes Design
  • Panels verschwinden komplett beim Einklappen, subtile Toggle-Buttons erscheinen in den Workbench-Ecken (PanelLeftOpen/PanelRightOpen)
  • Collapse-Buttons im Panel-Header (PanelLeftClose/PanelRightClose), sanfte 150ms CSS-Transition
  • Zustand wird in localStorage persistiert, beide Panels unabhängig steuerbar
  • Kalender-Refactor: alter 8px-Streifen-Collapse komplett entfernt, jetzt parent-gesteuert via Output
  • Accessibility: inert-Attribut auf eingeklappten Panels

Test plan

  • Sidebar einklappen/aufklappen — Button im Navigator-Header
  • Kalender einklappen/aufklappen — Button im Tagesplan-Header
  • Beide gleichzeitig einklappen — volle Workbench-Breite
  • Page Reload — Zustand bleibt erhalten
  • Dark Mode prüfen
  • prefers-reduced-motion — keine Animation

🤖 Generated with Claude Code

halbekanne and others added 9 commits April 9, 2026 20:43
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Rename sidebar key to orbit.navigator.sidebarCollapsed
- Add bg-surface + border to workbench corner buttons (resting state)
- Switch from @if to CSS width transitions for smooth slide animation
- Add prefers-reduced-motion guard
- Add overflow-hidden to calendar panel host

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Replace aria-hidden with inert for proper keyboard trap prevention
- Remove non-existent --color-bg-surface-hover token
- Use TestBed.flushEffects() instead of TestBed.tick()
- Add calendar persistence and collapse template tests

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The server loads settings from ~/.orbit/settings.json, not from env
vars. In CI there is no settings file, causing 503 responses. The
smoke test now writes a temporary settings.json before starting the
server and cleans it up afterwards.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@halbekanne halbekanne merged commit 23a8a9b into main Apr 9, 2026
1 check passed
@halbekanne halbekanne deleted the feat/collapsible-panels branch April 9, 2026 21:58
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