feat(ext): add "Open web UI" link to the popup#52
Merged
Conversation
The popup now carries an always-present footer link to the companion web UI (https://paperhurts.github.io/gitmarks/), opening it in a new tab. It lives outside #root in popup.html, so it shows on every popup state (welcome, configured, error) regardless of what render() produces. Styled in the web palette (cyan-soft link above a fog divider). Source of truth is extension-shared/src/popup.html; the shells regenerate their ignored copies via copy-html.mjs. Smoke-test note added to both READMEs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
Adds an always-present "Open web UI ↗" link to the extension popup, so clicking the toolbar button gives you a one-tap path to the companion read/search/manage web UI (https://paperhurts.github.io/gitmarks/, opens in a new tab).
How
A static
<footer class="weblink">inpopup.html, placed outside#rootso it renders on every popup state — welcome, configured, and the error fallback — independent of whatrender()writes into#root. Plain anchor withtarget="_blank" rel="noopener noreferrer"(no JS, no new permissions; navigation isn't governed by the popup'sconnect-srcCSP). Styled in the web palette: cyan-soft link above a fog (#23232e) divider.Source of truth is
extension-shared/src/popup.html; the shells regenerate their gitignored copies viacopy-html.mjs.Verification
🤖 Generated with Claude Code