Skip to content

feat(ui): collapsible sidebar - #212

Merged
ionos-landgraf-vin merged 6 commits into
mainfrom
feat/sidebar-collapse
Oct 30, 2026
Merged

ionos-landgraf-vin merged 6 commits into
mainfrom
feat/sidebar-collapse

Conversation

@ionos-landgraf-vin

@ionos-landgraf-vin ionos-landgraf-vin commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Hide button as first action in the sidebar (left of reload); while hidden, a show button appears in the header after the logo. The choice is remembered in localStorage (archsight.sidebar.collapsed).
  • Narrow windows (<800px): menu button on the right of the header opens/closes the stacked sidebar (closed by default, not remembered).
  • Wiki TOC rail appears from 1200px when the sidebar is collapsed (1500px otherwise).

Test plan

  • Toggle hides/shows the sidebar, content widens, state survives reload
  • Sidebar action buttons have equal size
  • Narrow window: menu button opens/closes the sidebar
  • Wiki page TOC rail with collapsed sidebar
  • Print preview unchanged (not tested; print.css already hides the sidebar)
  • bundle exec rake

🤖 Generated with Claude Code

ionos-landgraf-vin and others added 6 commits October 29, 2026 15:36
Hide button in the sidebar actions, show button after the logo while the
sidebar is hidden (remembered in localStorage), menu button on narrow
windows. The wiki TOC rail fits from 1200px when collapsed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The header menu button only opens the menu; the hide button in the
sidebar actions closes it, instead of a hamburger that turns into an X.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@ionos-landgraf-vin
ionos-landgraf-vin merged commit 8b197c9 into main Oct 30, 2026
8 checks passed
@ionos-landgraf-vin
ionos-landgraf-vin deleted the feat/sidebar-collapse branch October 30, 2026 07:55
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