Skip to content

feat(ext): popup auto-dismiss after save + web UI palette#48

Merged
paperhurts merged 1 commit into
mainfrom
feat/popup-polish
Jun 13, 2026
Merged

feat(ext): popup auto-dismiss after save + web UI palette#48
paperhurts merged 1 commit into
mainfrom
feat/popup-polish

Conversation

@paperhurts

Copy link
Copy Markdown
Owner

What

Two small popup-polish items:

  1. Auto-dismiss after save — after a successful save, the popup shows ✓ saved and auto-closes ~1.2s later via setTimeout(() => window.close(), 1200). It is a no-op when the popup is opened as a plain page (the skipped mvp.spec.ts e2e), so nothing breaks there.
  2. Web UI palette on the popup — restyled popup.html to mirror packages/web/tailwind.config.ts: ink #0a0a0f background, cyan #22d3ee accents + ok status, magenta #e879f9 errors, mono font stack, and a persistent magenta gitmarks wordmark matching the web nav brand.

Source of truth

The edit lives in packages/extension-shared/src/popup.html (the canonical owner). The shells' src/popup.html are git-ignored copies regenerated by copy-html.mjs on prebuild/predev/pretypecheck — no manual sync needed.

Docs

  • CLAUDE.md roadmap: added item 9.
  • Both shell READMEs: smoke-test checklist now notes cyan status, ~1.2s auto-close, and the new palette.

Verification

  • extension-shared typecheck: clean
  • extension-chrome + extension-firefox builds: clean, popup.html regenerated with new styling

🤖 Generated with Claude Code

After a successful save the popup now auto-closes ~1.2s after showing
"✓ saved" (setTimeout(window.close)); a no-op when opened as a plain
page, so the skipped e2e is unaffected.

Restyle the popup to mirror the @gitmarks/web palette (tailwind.config.ts):
ink #0a0a0f background, cyan #22d3ee accents/ok status, magenta #e879f9
errors, mono font, and a persistent magenta "gitmarks" wordmark. Source
of truth is extension-shared/src/popup.html; the shells regenerate their
ignored copies via copy-html.mjs.

Docs: roadmap item 9 in CLAUDE.md; smoke-test checklists in both shell
READMEs note the cyan status, auto-close, and new palette.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@paperhurts paperhurts merged commit 9dd690c into main Jun 13, 2026
1 check passed
@paperhurts paperhurts deleted the feat/popup-polish branch June 13, 2026 19:42
paperhurts added a commit that referenced this pull request Jun 13, 2026
feat(ext): popup auto-dismiss after save + web UI palette
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