Commit Graph

10 Commits

Author SHA1 Message Date
84621484da fix: reposition popover after picker opens, debounce popup saves
- Popover: call positionPopover() after opening the picker so the
  popover flips above the badge if it would clip the viewport bottom.
- Popup: debounce saveFromControls() calls during picker drag (200ms)
  to avoid dozens of storage writes per gesture.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 17:20:37 -04:00
1b4b5706de fix: mark per-subreddit mode dirty on color picker change
Without this, new subreddit entries would not persist their color
overrides because _dirtyModes was never set when picking via the
custom color picker.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 17:17:16 -04:00
2abb71fbb8 feat: integrate tabbed color picker into extension popup
Replace native color inputs with swatch divs wired to the shared
tabbed picker widget for global and per-subreddit color controls.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 17:16:00 -04:00
a3567005bd feat: add tabbed color picker widget (palette, named colors, custom HSV)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 17:11:53 -04:00
210676e65b fix: only persist edited/existing mode overrides, refresh popover theme on dark mode toggle
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 16:11:24 -04:00
dd92ce8f0a fix: subreddit entry flex layout for stacked mode-aware structure
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 16:08:30 -04:00
565f039bc5 feat: popup per-subreddit overrides with mode-aware light/dark toggle
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 16:07:07 -04:00
cca7940dd9 fix: subreddit badge fill, tagline 'to' cleanup, and comments li spacing
- 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>
2026-08-26 15:32:33 -04:00
8be62e1fec fix: disabled-state UI, settings shallow-merge, and popup save reliability
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 15:05:48 -04:00
46d008d339 feat: settings popup with color pickers, dark mode, and subreddit overrides
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 15:02:46 -04:00