Skip to content

fix: Recent Documents sidebar can be closed from its header - #21

Open
Coriou wants to merge 1 commit into
b451c:mainfrom
Coriou:ui/recent-docs-header-collapse
Open

fix: Recent Documents sidebar can be closed from its header#21
Coriou wants to merge 1 commit into
b451c:mainfrom
Coriou:ui/recent-docs-header-collapse

Conversation

@Coriou

@Coriou Coriou commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Me again with a half-baked, visually untested PR.

Once the Recent Documents sidebar is open, there is no in-panel way to close it. Shift-Cmd-D still toggles it; this just adds a collapse control on the Documents header (same icon as the floating capsule, inverse verb).

Still no Xcode on this machine, so I have not seen it run. The button clones the existing trash control. MarkdownView still owns the flag.

Two more PRs coming on the same theme:

  • the same collapse control on the Table of Contents header
  • moving Table of Contents and Recent Documents from Edit to View

If you can't be bothered to clean up after me, I'll take care of it when I get home.

The sidebar could be opened from the floating capsule but had no in-panel
close. Header collapse clones the trash button (sidebar.leading, inverse
of the overlay); MarkdownView still owns the flag; ⇧⌘D still toggles.
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