Skip to content

Fix CI deploy gate + Clear-formatting icon discoverability#5

Merged
cbroberg merged 2 commits into
mainfrom
fix/ci-deploy-gate-and-clear-format-icon
Jun 7, 2026
Merged

Fix CI deploy gate + Clear-formatting icon discoverability#5
cbroberg merged 2 commits into
mainfrom
fix/ci-deploy-gate-and-clear-format-icon

Conversation

@cbroberg
Copy link
Copy Markdown
Contributor

@cbroberg cbroberg commented Jun 7, 2026

Two fixes:

1. Unblock auto-deploy (deploy.yml)

The "Lint & Typecheck" job (tsc -b) was failing on 5 TS2345 errors in webhook-dispatch.test.ts (a vi.fn() mock passed where the inline test's fetchFn: typeof fetch param is expected) → the Deploy job was skipped on every push to main (auto-deploy silently broken; prod shipped only via manual flyctl deploy). Cast the mock at the 5 call sites. Verified: build packages + tsc -bexit 0; 29 tests green. This PR merging + auto-deploying IS the end-to-end proof.

2. Clear-formatting icon discoverability (F150)

The Clear-formatting toolbar button rendered but its abstract inline-SVG was hard to spot. Swapped to Lucide's standard RemoveFormatting icon (the universal "clear formatting" symbol). Sits right after superscript/subscript, before the separator.

🤖 Generated with Claude Code

cbroberg and others added 2 commits June 7, 2026 15:36
deploy.yml's "Lint & Typecheck" job (tsc -b) failed on 5 TS2345 errors in
webhook-dispatch.test.ts — a vi.fn() mock passed where the inline test's
`fetchFn: typeof fetch` param is expected — which skipped the Deploy job, so
pushes to main never auto-deployed. Cast the mock at the 5 call sites
(`mockFetch as unknown as typeof fetch`); .mock assertions keep the Mock type.
Verified: build packages + `tsc -b` → exit 0; 29 tests green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…tton (F150)

The Clear-formatting button rendered but its abstract inline-SVG eraser was
hard to spot in the toolbar. Swap to Lucide's standard RemoveFormatting icon —
the universally recognised "clear formatting" symbol — so editors can find it
(sits right after superscript/subscript, before the separator).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@cbroberg cbroberg merged commit 7598d69 into main Jun 7, 2026
4 checks passed
@cbroberg cbroberg deleted the fix/ci-deploy-gate-and-clear-format-icon branch June 7, 2026 13:36
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