iOS: one Commands entry on every screen, and a rule for the key bar and More #135

open cmc opened this on 2026-11-22 05:05 UTC · feature · milestone 4 Commands and editing speed

Discussion

cmc 2026-11-22 05:05 UTC

The editor spreads functions over the key bar (16 buttons, scrolled sideways), the More menu (a dozen rows, including Commands) and the Commands list, with no rule for what lives where.

  • One rule: the key bar holds what is done repeatedly at the caret; everything else is found through Commands.
  • The same Commands button in the toolbar of the agenda, the reader and the editor.
  • More shrinks to status items (conflict, recovery) and recents, or goes away.

To be settled with the design review (#97).

Platforms: iOS.

cmc 2026-11-22 07:52 UTC

Recommendation from the design review, docs/review-2026-11-22-design.md:

What is there now. The key bar has 18 buttons in one sideways-scrolling row, hard-coded (EditorScreen.swift:834-872): Commands, Fold, Overview, Promote, Demote, Move up, Move down, New heading or item, TODO, Act at point, Schedule, Deadline, Tags, Open link, Bold, Italic, Code, Hide keyboard. Eight are visible at once on an iPhone 17. More has 19 top-level rows and about 50 leaf items (:137-207), of which half are visible above the keyboard. Commands is a flat list reachable only from the editor, through the key bar or More. The reader and agenda have no entry to it. Every key bar function but Hide keyboard is also in Commands; about half of More is too; Redo, find, Refile and Archive are in Commands only.

Recommendation:

  1. The rule. The key bar holds what is done repeatedly at the caret while typing. A toolbar button is for what acts on the file or screen as a whole and is needed often. Everything else is in Commands, and only there.
  2. The key bar: ten buttons that fit without scrolling on an iPhone 17, at 44 pt. Commands, Fold, Promote, Demote, Move up, Move down, New heading or item, TODO, Act at point, Hide keyboard. Overview (a whole-file action) and Open link (a tap on the link does it) go to Commands. Schedule, Deadline and Tags go behind one "Plan" button with a three-row menu, or to Commands. Bold, Italic and Code move to the text selection's edit menu, where iOS users look for formatting. On iPad, where the bar is wider, the three planning buttons can stay.
  3. The same Commands button in the toolbar of the editor, the reader and the agenda, with the command symbol, replacing More in the editor. In the reader and agenda the list holds the commands that apply to the heading or row in view.
  4. More goes away. Its status items become what they already are elsewhere: Conflict is already a toolbar button when there is one (:133-135); Recovered Versions and Sync Conflict Copies appear as a toolbar button only when there is something to show, and are in Commands otherwise. Export is a share button in the editor toolbar as it is in the reader. Word Count, Clock In, Column View, Table, Backlinks, Daily Notes, nodes, Attachments, Encryption and Panes are found in Commands.
  5. Commands gains what makes that workable: an empty query lists Recent (the last eight used), then sections by subject (Structure, TODO and Planning, Clock, Tables, Links and Notes, Attachments, Export, File); search is fuzzy as on the Mac; hints show only when a hardware keyboard is attached; commands that do not apply at the caret are shown dimmed with the reason, not hidden; rows are in the primary colour.
  6. Find and Redo get buttons (U13, U24): Find in the editor and reader toolbars, Redo on a long press of Undo.

Order of work: 5 first (it makes Commands good enough to carry the load), then 3 and 6, then 2 and 4 together.

The related findings are in #222 (usability) and #221 (accessibility, the key bar's target size).