Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Feat: simplify popup by moving rule toggles to options page#171

Merged
twschiller merged 1 commit into
mainfrom
popup-remove-rule-toggles
Jun 5, 2026
Merged

Feat: simplify popup by moving rule toggles to options page#171
twschiller merged 1 commit into
mainfrom
popup-remove-rule-toggles

Conversation

@twschiller

Copy link
Copy Markdown
Contributor

Summary

  • The popup's per-rule checkbox list has grown too long to be usable as the rule count climbed; remove it from the popup entirely
  • Rule configuration now lives only on the options page (which already rendered the same list)
  • Drop the disabledByEnforcement prop from RuleList (only the popup ever set it) and the now-unused rule-list CSS from popup.html

The popup keeps the enforcement switch, detections, on-page options-button toggle, and footer links.

Test plan

  • bun run typecheck
  • bun run check (biome + eslint)
  • bun run knip
  • bun run test (1354 tests pass)
  • Load the unpacked extension; confirm popup shows enforcement + detections + on-page-button toggle only, and options page still toggles rules normally

🤖 Generated with Claude Code

The popup's per-rule checkbox list has grown too long to be usable as rule
count climbed. The popup keeps the enforcement switch, detections, on-page
button toggle, and links; rule configuration now lives only on the options
page (which already had the same list).

Also drops the `disabledByEnforcement` prop from `RuleList` (only the popup
ever set it) and the rule-list CSS block from `popup.html`.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@vercel

vercel Bot commented Jun 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-browser-shield-demo-site Ready Ready Preview, Comment Jun 5, 2026 5:15pm

Request Review

@twschiller twschiller merged commit 94b40d3 into main Jun 5, 2026
7 checks passed
@twschiller twschiller deleted the popup-remove-rule-toggles branch June 5, 2026 17:18
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