Address six gaps found during review:
- Fix subreddit name extraction bug (gear icon text in textContent)
- Prevent gear icon layout shift via absolute positioning
- Handle native color picker dialog in click-outside detection
- Make per-subreddit overrides mode-aware (light/dark)
- Replace badge hover opacity with filter: brightness
- Split popover logic into separate file
Co-authored-by: Cursor <cursoragent@cursor.com>
- Default subreddit badge background from transparent to opaque fill
(light: #fde8e0, dark: #3d2518) so page highlights don't bleed through
- Remove lingering "to" text node from tagline when subreddit is hidden
- Hide the <li> wrapping the comments link (not just the <a>) to
eliminate leftover whitespace in the flat-list
- Simplify popup: subreddit bg fields are now color pickers (no longer
need transparent text-input workaround)
Co-authored-by: Cursor <cursoragent@cursor.com>
Four tasks: extension skeleton, badge CSS, DOM manipulation, settings popup.
Each task has exact file paths, complete code, and verification steps.
Co-authored-by: Cursor <cursoragent@cursor.com>
- Use div.thing.link selector to exclude comment nodes
- Fix shared module loading (manifest content_scripts array)
- Add FOUC mitigation via CSS-only manifest injection
- Switch to storage.local to avoid sync quota limits
- Add MutationObserver for RES dark mode toggle detection
- Use fallback chain for MutationObserver target container
- Clarify comment count text handling (zero = "0 comments")
- Simplify teardown to page reload on master toggle
- Expand test checklist to cover new behaviors
Co-authored-by: Cursor <cursoragent@cursor.com>