Skip to content

Refresh popup UI with native HTML/CSS polish#84

Merged
ACK-J merged 5 commits into
mainfrom
cursor/popup-ui-refresh-5969
Jul 12, 2026
Merged

Refresh popup UI with native HTML/CSS polish#84
ACK-J merged 5 commits into
mainfrom
cursor/popup-ui-refresh-5969

Conversation

@ACK-J

@ACK-J ACK-J commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Summary

Refreshes the Port Authority extension popup so it stays minimal, functional, and fully native (no third-party CSS/JS bundles).

UI changes

  • Brand header with logo, title, and short tagline; settings gear stays top-right
  • Blocking / Notifications become labeled control rows with short hints
  • Blocked port scans show host + port-count toggle, expanding into compact port chips
  • Blocked tracking scripts use the same list treatment with monospace hosts
  • Light motion, focus styles, and reduced-motion respect; still follows system light/dark

Scope

  • popup/popup.html, popup/popup.css, popup/switchButtons.css
  • Small PopupUI.js / switch.js tweaks for port-count labels and blocking state mirroring
  • Shared token/typography nudge in global/common.css

Testing

  • npm test — 459 passed, 0 failed

Popup preview

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

cursoragent and others added 5 commits July 11, 2026 22:27
Restyle the extension popup using only local HTML/CSS/JS: clearer
brand header, labeled toggle rows, compact activity lists with port
count chips, and light accessibility/focus polish while keeping the
existing blocking and notifications behavior.

Co-authored-by: Hacks and Hops <ACK-J@users.noreply.github.com>
Restore shared common.css tokens so settings stays unchanged, keep
popup surfaces on the inherited white background, collapse duplicate
switch focus rings, and add a visible focus state for port toggles.

Co-authored-by: Hacks and Hops <ACK-J@users.noreply.github.com>
Remove the logo outline ring and drop the Network protection tagline
so the header is just the icon and Port Authority title.

Co-authored-by: Hacks and Hops <ACK-J@users.noreply.github.com>
Restyle the allowlist settings page to align with the popup: brand
header, clearer domain form, and a compact allowed-domains list, still
using only local HTML/CSS/JS.

Co-authored-by: Hacks and Hops <ACK-J@users.noreply.github.com>
Drop the Port Authority header from the settings page so preferences
start with the allowlist content.

Co-authored-by: Hacks and Hops <ACK-J@users.noreply.github.com>
@ACK-J ACK-J marked this pull request as ready for review July 12, 2026 00:34
@ACK-J ACK-J merged commit 7915538 into main Jul 12, 2026
1 check passed
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.

2 participants