Skip to content

fix(editor): polish slash commands and align split documents - #276

Merged
ThisIs-Developer merged 5 commits into
mainfrom
fix/slash-menu-consistent-styling
Oct 10, 2026
Merged

ThisIs-Developer merged 5 commits into
mainfrom
fix/slash-menu-consistent-styling

Conversation

@ThisIs-Developer

@ThisIs-Developer ThisIs-Developer commented Oct 10, 2026 •

Copy link
Copy Markdown
Owner

The slash menu now matches the application's dropdown styling and keeps the typing line visible. This also completes the command audit: media uploads stay in the originating editor, the documented Reference command is available, and Date/time matches the toolbar.

  • Reuse the shared menu surface, typography, spacing, Lucide icons, and heading symbols in both themes.
  • Fit the menu above or below the caret and scroll its contents internally, including after filtering and viewport changes.
  • Carry the target editor through media upload, persistence, and rollback. Cancel insertion when the target document changes during consent or upload, and save restored content after a persistence failure.
  • Add Reference using the existing chooser, including automatic numbering in either editor. Share the toolbar's date/time formatter.
  • Align both documents in split view using the shared outer pane padding and matching preview backgrounds. Show the same typing/paste/import placeholder in both empty editors.
  • Remove the secondary document's blue focus outline in Edit and Preview.
  • Synchronize desktop resources and update the feature and usage documentation.

Validation:

  • npm run build and all 22 unit tests passed.
  • Verified 66 slash-menu and command-action cases across Chromium and Firefox, covering all 22 commands in both editor panes, including placeholder selections, all five alerts, table/diagram/media choosers, references, persisted uploads, cancellation, save recovery, keyboard navigation, accessibility, RTL, and constrained viewport placement.
  • The corrected upload/persistence/recovery subset passed all 8 cases in a focused rerun. Media upload tests intercept the API; no files are uploaded externally.
  • Split-view behavior tests passed in Chromium and Firefox. Browser measurements and screenshots verified matching editor/preview top offsets and backgrounds at 1280px and 375px in both themes, plus both empty-editor placeholders and the absence of a focus outline in the secondary Editor and Preview.
  • node desktop-app/prepare.js, JavaScript syntax checks, and git diff --check passed.

WebKit could not run on this Windows machine: the installed runtime fails with spawn UNKNOWN, and a fresh task-local installation reports missing icutu77.dll.

@vercel

vercel Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
markdown-viewer Ready Ready Preview Oct 10, 2026 11:56am UTC

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Deploying markdownviewer with  Cloudflare Pages  Cloudflare Pages

Latest commit: f65aa3b
Status: ✅  Deploy successful!
Preview URL: https://3767659f.markdownviewer.pages.dev
Branch Preview URL: https://fix-slash-menu-consistent-st.markdownviewer.pages.dev

View logs

@ThisIs-Developer ThisIs-Developer changed the title fix(editor): match slash menu to shared dropdown styling fix(editor): unify slash menu styling and keep typing visible Oct 10, 2026
@ThisIs-Developer ThisIs-Developer added bug Something is broken or not working as expected. ui/ux User interface, layout, interaction, usability, or visual improvements. labels Oct 10, 2026 — with ChatGPT Codex Connector
@ThisIs-Developer ThisIs-Developer changed the title fix(editor): unify slash menu styling and keep typing visible fix(editor): polish slash menu and complete command handling Oct 10, 2026
@ThisIs-Developer ThisIs-Developer changed the title fix(editor): polish slash menu and complete command handling fix(editor): polish slash commands and align split documents Oct 10, 2026
@ThisIs-Developer
ThisIs-Developer merged commit 0a54859 into main Oct 10, 2026
5 checks passed
@ThisIs-Developer
ThisIs-Developer deleted the fix/slash-menu-consistent-styling branch October 10, 2026 17:21

This branch was successfully deployed

1 active deployment
Preview — f65aa3bc Deployed Oct 10, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something is broken or not working as expected. ui/ux User interface, layout, interaction, usability, or visual improvements.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant