Skip to content

Rearrange the app's mode bar, canvas foot and footer; tipjar menu - #263

Merged
mtblck merged 3 commits into
mainfrom
claude/project-thread-6i5oyf
Nov 25, 2026
Merged

mtblck merged 3 commits into
mainfrom
claude/project-thread-6i5oyf

Conversation

@mtblck

@mtblck mtblck commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Requested by Matt · project thread

Rearranges the app's controls, per Matt's list:

  • Compare views: Split / Difference / Vector move up beside Clean up / Trace / Edit, after a divider, and the active one is the primary buttons' mustard (--c-mark) instead of accent text. On a phone (no mode bar) they stay in the canvas foot.
  • Undo / Redo leave the bottom of the tool rail for the mode bar, after a second divider (Clean up and Edit, as before; Trace has none).
  • Canvas foot: Paths, Nodes and the zoom control on the left; the view's hint on the right.
  • Sidebar footer: no "Support Inlay", right-aligned, links open in a new tab (the phone's ⋯ menu links too, to match).
  • tipjar 1.2.0 → 2.2.0 (app and site). The header's Support button now uses links: a popover menu with Tip on Ko-fi and Star on GitHub (github.com/mtblck/inlaytrace). No star count, since fetching it from the browser would need api.github.com in the CSP. 2.0's breaking changes are icon redraws we don't use (we use heart, coffee, star). The site keeps its single-link buttons.

verify.mjs checks updated: the rail no longer holds Undo, the mode bar holds the compare views and history, the footer has no Support and opens links in new tabs, and the header button opens both links.

Test plan

  • npm test: 537 passed
  • npm run lint: clean
  • npm run build + npm run verify (local preview, Chromium): all 336 checks pass
  • Screenshots at 1440×860 light/dark and iPhone 13

Generated by Claude Code

…2.2 menu

- Split/Difference/Vector move up beside the mode tabs, after a divider, with the active one in the primary mustard.
- Undo and Redo leave the tool rail for the mode bar, after a second divider.
- The canvas foot puts Paths, Nodes and zoom on the left, the hint on the right.
- The sidebar footer drops Support Inlay, sits right-aligned, and opens its links in new tabs (the phone's menu too).
- tipjar 1.2.0 -> 2.2.0; the header's Support button opens a menu: Tip on Ko-fi and Star on GitHub.

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

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
img-to-svg Ready Ready Preview Nov 25, 2026 2:23am UTC

Request Review

@mtblck mtblck self-assigned this Nov 25, 2026
@mtblck
mtblck marked this pull request as ready for review November 25, 2026 02:16
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018HstUmb9GRyN44HGSHP7r9
@claude

claude Bot commented Nov 25, 2026

Copy link
Copy Markdown

Claude review

✅ No blocking issues: the layout moves hold up, with no regressions in callers.

🔴 0 · 🟡 0 · 🔵 1

Checked: correctness, security, tests and docs, repo rules and design, accessibility and performance (UI and dependency changes), plus the root CLAUDE.md. I found no ADR conflicts. The tipjar bump keeps the app's CSP at connect-src 'self' and adds no network call. The new target="_blank" links all carry rel="noopener".
Coverage: the report in .claude-coverage was not used, and the changes are UI markup that verify.mjs covers.
Performance: I did not use the measurements, because summary.json is for c4fc6ed, not this head (751f848). I judged the diff alone. It adds no heavy dependency, and a tipjar bump and some CSS are all that ships.

🔵 Nit, apps/app/src/App.tsx:1727 (not on a changed line, so it is posted here instead of inline): the comment "A phone's undo and redo: on a wide screen they are at the foot of the tool rail" is now wrong. This PR moves them into the mode bar, so the comment should say so.

Considered and dropped
  • Phone loses Undo/Redo: the header's lg:hidden History group still provides them.
  • bg-mark and text-mark-ink may not exist: both are defined in the theme (--color-mark, --color-mark-ink).
  • The position-area CSS in unsupported browsers: it sits behind @supports, so the menu falls back to tipjar's default placement.

Its hovers take a deeper grey so they still show. Also fixes the phone
undo/redo comment (they moved to the mode bar on a wide screen).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018HstUmb9GRyN44HGSHP7r9
@mtblck
mtblck merged commit 7a5dfe8 into main Nov 25, 2026
11 checks passed
@mtblck
mtblck deleted the claude/project-thread-6i5oyf branch November 25, 2026 02:30

This branch was successfully deployed

1 active deployment
Preview — 8ea1924f Deployed Nov 25, 2026 by vercel[bot]
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