Skip to content

feat(ext): add "Open web UI" link to the popup#52

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

feat(ext): add "Open web UI" link to the popup#52
paperhurts merged 1 commit into
mainfrom
feat/popup-webui-link

Conversation

@paperhurts

Copy link
Copy Markdown
Owner

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"> in popup.html, placed outside #root so it renders on every popup state — welcome, configured, and the error fallback — independent of what render() writes into #root. Plain anchor with target="_blank" rel="noopener noreferrer" (no JS, no new permissions; navigation isn't governed by the popup's connect-src CSP). 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 via copy-html.mjs.

Verification

  • Both shells build clean; the link is present in both built popups.
  • Real-browser render confirmed (screenshot in the chat that requested this).
  • Smoke-test bullet added to both shell READMEs.

🤖 Generated with Claude Code

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>
@paperhurts paperhurts merged commit 2f52d7a into main Jun 13, 2026
1 check passed
@paperhurts paperhurts deleted the feat/popup-webui-link branch June 13, 2026 22:17
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