Skip to content

feat: Neonwolf settings section in the preferences pane - #19

Merged
neon798 merged 1 commit into
mainfrom
feat/pref-pane-settings
Jul 7, 2026
Merged

neon798 merged 1 commit into
mainfrom
feat/pref-pane-settings

Conversation

@neon798

@neon798 neon798 commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Task-5 of the Grok batch (Grok bounced it — pref pane is in patches/pref-pane/, outside its scope). Adds a Shields & updates section to the Neonwolf preferences pane:

  • Block ads and trackers (native uBO engine) — one checkbox flipping the three enforcement prefs, mirroring the Shields panel's ads category.
  • Auto-refresh filter lists + Refresh lists now button + a live last-refreshed label.
  • Check for new Neonwolf versions (notify-only).

Wired directly to prefs in librewolf.js. Built (incremental, 7s) + Marionette-validated: all 5 controls present, the ads toggle flips all three prefs, refresh-now fires, last-refresh label renders.

🤖 Generated with Claude Code

Task-5 of the Grok batch (Grok correctly bounced it — the pref pane lives in
patches/pref-pane/, outside its file scope). Adds a "Shields & updates" section
to the Neonwolf (paneLibrewolf) preferences pane:

- Block ads and trackers (native uBO engine) — one checkbox flipping the three
  enforcement prefs (ubo.network + ubo.cosmetic + content.protection.enabled),
  mirroring the Shields panel's ads category.
- Automatically refresh filter lists (neonwolf.shields.lists.autoRefresh) +
  "Refresh lists now" button (neonwolf.shields.lists.refreshNow) + a live
  last-refreshed label (observes lastRefresh; epoch SECONDS).
- Check for new Neonwolf versions (neonwolf.update.checkEnabled) with a note
  that updates are notify-only.

Wired directly to prefs in librewolf.js (not setting-groups, since the ads
toggle is multi-pref and refresh is a one-shot). Built + Marionette-validated:
all controls present, ads toggle flips all three prefs, refresh-now fires.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@neon798
neon798 merged commit 3ad7128 into main Jul 7, 2026
1 check passed
@neon798
neon798 deleted the feat/pref-pane-settings branch July 7, 2026 18:13
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