samsa/internal/views
Claude fe0c7e8dc8
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 7s
Mirror to GitHub / mirror (push) Failing after 5s
Tests / test (push) Successful in 27s
feat: add server-side theme cookie with dropdown selector (no JS)
- Add theme POST handler that sets HttpOnly cookie
- Update preferences page to use <select> dropdown instead of JS buttons
- Theme cookie set on POST /preferences with theme parameter
- Theme read from cookie on all page renders
- No JavaScript required for theme selection

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 18:47:06 +00:00
..
static feat: use CSS prefers-color-scheme for dark mode (no JS) 2026-03-23 18:34:18 +00:00
templates feat: add server-side theme cookie with dropdown selector (no JS) 2026-03-23 18:47:06 +00:00
views.go feat: add server-side theme cookie with dropdown selector (no JS) 2026-03-23 18:47:06 +00:00
views_test.go fix: rename remaining kafka references to samsa 2026-03-23 07:25:30 +00:00