Refresh popup UI with native HTML/CSS polish#84
Merged
Conversation
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>
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.
Summary
Refreshes the Port Authority extension popup so it stays minimal, functional, and fully native (no third-party CSS/JS bundles).
UI changes
Scope
popup/popup.html,popup/popup.css,popup/switchButtons.cssPopupUI.js/switch.jstweaks for port-count labels and blocking state mirroringglobal/common.cssTesting
npm test— 459 passed, 0 failedPopup preview
To show artifacts inline, enable in settings.