Skip to content

feat: hide the top bar for reading with a configurable toggle - #118

Open
BinaryOutlook wants to merge 1 commit into
mainfrom
feat/collapsible-toolbar
Open

BinaryOutlook wants to merge 1 commit into
mainfrom
feat/collapsible-toolbar

Conversation

@BinaryOutlook

Copy link
Copy Markdown
Owner

The top bar currently occupies space even when someone is reading. Add a toggle before Undo that hides the entire bar, including docked table controls, and releases its height. The 01md logo remains available to restore it, with no button background or shadow, including on hover.

Behavior

  • Add saved, live-updating preferences in VS Code and Electron for the default logo or double up/down chevrons, and optional hover-only visibility while hidden. Hover-only is off by default; keyboard focus reveals the button and touch devices keep it visible. Reduced-motion preferences disable the fade.
  • Keep collapsed state within the current editor session, independently of Full/Simple mode and Contextual tools. Preserve content, selection, active equation input, editor mode, and undo history.
  • Close anchored menus when hiding the bar and retain recoverable keyboard focus, including from Export and docked table navigation. Keep the toggle reachable after resizing and restore toolbar overflow correctly.
  • Update all seven interface/settings locales, desktop logo packaging, documentation, and regression coverage. Settings tests continue to enforce the exact supported contract.

Validation

  • Full compilation and Electron TypeScript check passed.
  • Focused Chromium regression: 137 passed, two workers, zero retries, across toolbar visibility/discovery/command search, table toolbar rows/overflow, Export, and Preferences. Includes all seven themes, narrow panes, touch, keyboard recovery, selection, and Undo/Redo.
  • Complete unit suite: 468 passed, 19 skipped; real-converter/package prerequisites were not enabled.
  • Lint: zero errors, 11 existing warnings.
  • Documentation/link checks and git diff --check passed. Reviewed the complete changed Markdown files in source and a local rendered preview.

Native installed VS Code and Electron launch checks have not been run locally; browser fixtures exercise both production HTML generators. Remote CI results remain separate from these local results.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T18:24:40.874224Z 9cdde38 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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