Skip to content

fix: Table of Contents sidebar can be closed from its header - #22

Merged
b451c merged 1 commit into
b451c:mainfrom
Coriou:ui/toc-header-collapse
Aug 28, 2026
Merged

fix: Table of Contents sidebar can be closed from its header#22
b451c merged 1 commit into
b451c:mainfrom
Coriou:ui/toc-header-collapse

Conversation

@Coriou

@Coriou Coriou commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Same as Documents: once the ToC is open, there's no in-panel way to close it.

Shift-Cmd-T still toggles; this just adds a collapse control on the Contents header (same hide-sidebar icon as Documents). MarkdownView still owns the flag. No overlay capsule — ToC never had one.

The ToC could be opened from the menu/shortcut but had no in-panel
close. Header collapse clones the Documents control (sidebar.leading);
MarkdownView still owns the flag; ⇧⌘T still toggles.
@b451c
b451c merged commit 5f411be into b451c:main Aug 28, 2026
3 checks passed
@b451c

b451c commented Aug 28, 2026

Copy link
Copy Markdown
Owner

Merged - thank you! Review notes for all three PRs are in #23.

b451c added a commit that referenced this pull request Aug 28, 2026
Sidebar collapse controls and View-menu move (#21, #22, #23 @Coriou), Homebrew cask depends_on fix (#25, #26 @robin-moser; tap #2 @GregOriol).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HHNj7eLDeEN5RDQXSZdRco
@b451c

b451c commented Aug 28, 2026

Copy link
Copy Markdown
Owner

Shipped in v1.9.1: https://github.com/b451c/quickmd/releases/tag/v1.9.1 (GitHub + Homebrew live; App Store build submitted). Thanks again!

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.

2 participants