Skip to content

Give the edit strip the apps' order, groups and palette - #2

Merged
andiwand merged 4 commits into
mainfrom
edit-toolbar
Dec 5, 2026
Merged

andiwand merged 4 commits into
mainfrom
edit-toolbar

Conversation

@andiwand

@andiwand andiwand commented Dec 5, 2026 •

Copy link
Copy Markdown
Member

🤖 Generated with Claude Code

The web part of the shared design (edit tools).

  • One order: highlight (fill on a sheet), text colour, B I U, then the text group (S, − size +, alignment), the table and the slide, with a thin line before each group.
  • No wrapping: where the row doesn't fit, the strip closes into the phone's: the quick tools plus Aa, Table and Slide. A group button swaps the row for that group, and ‹ swaps back. A PDF keeps its five marking tools.
  • One palette: the arrow beside each colour tool opens recent colours (kept in the browser), the colours on this page (odr.editing.documentColors() through the bridge), the apps' 40, No highlight / No fill, and Other color…, which is the browser's picker. A press on the A applies the colour of its bar.
  • Text size: a stepper over the 14 sizes, shown as plain numbers. The − and + only show in a wide strip.
  • Top bar: Undo and Redo move next to Save while editing. The hint moves into the pen's tooltip.
  • Names: Text size, Text color, Center, Insert columns left/right, as the apps say them.

astro check is clean and the build passes. Checked in Chrome with odt, ods, odp and pdf, wide and at 360–400 px.

andiwand and others added 3 commits December 5, 2026 15:58
The two colours, then bold, italic and underline, then the text group
(strikethrough, a size stepper, alignment), the table and the slide, with a
line between groups. Where the row does not fit it closes into the phone's
strip with Aa, Table and Slide instead of wrapping. The colour arrows open one
palette: recent colours, the page's own, the apps' forty, none, and the
browser's picker. Undo and Redo sit next to Save; the hint is the pen's
tooltip. Font size, Centre and Text colour become Text size, Center and Text
color.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FW6WZZDW37iW7ZvG3LGiFw
@github-actions

github-actions Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 60fe44d):

https://admob-app-id-9025061963--pr2-edit-toolbar-y22lis7s.web.app

(expires Sat, 19 Dec 2026 18:11:02 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: b0d3d5ed9702d729bc1b3ec04fb565e826dd7179

- The A applies the colour of its bar, the last one picked, as in the apps.
  It followed the selection, so a press gave the selection its own colour.
- An open group, the size and the palette no longer outlive the document,
  and the palette closes when the pen goes up.
- The size steps start off, and each one is off where there is no next size.
- From the keyboard, a group button and the palette take the focus along
  and give it back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FW6WZZDW37iW7ZvG3LGiFw
@andiwand
andiwand merged commit 82e9181 into main Dec 5, 2026
2 checks passed
@andiwand
andiwand deleted the edit-toolbar branch December 5, 2026 19:16
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