feat(ext): popup auto-dismiss after save + web UI palette#48
Merged
Conversation
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
added a commit
that referenced
this pull request
Jun 13, 2026
feat(ext): popup auto-dismiss after save + web UI palette
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Two small popup-polish items:
✓ savedand auto-closes ~1.2s later viasetTimeout(() => window.close(), 1200). It is a no-op when the popup is opened as a plain page (the skippedmvp.spec.tse2e), so nothing breaks there.popup.htmlto mirrorpackages/web/tailwind.config.ts: ink#0a0a0fbackground, cyan#22d3eeaccents + ok status, magenta#e879f9errors, 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.htmlare git-ignored copies regenerated bycopy-html.mjsonprebuild/predev/pretypecheck— no manual sync needed.Docs
Verification
extension-sharedtypecheck: cleanextension-chrome+extension-firefoxbuilds: clean,popup.htmlregenerated with new styling🤖 Generated with Claude Code