Commit Graph
10 Commits
Author SHA1 Message Date
agentbox 7a90fec638 fix: chip text and input backgrounds in both light/dark modes
CI / test-and-package (push) Successful in 1m11s
CI / build-android (push) Successful in 1m31s
Root fixes:
- .chip now has explicit color: var(--text) in base theme,
  not just dark — buttons no longer use browser default
- All inputs/selects/textareas get background: var(--surface)
  and color: var(--text) in both light and dark themes
- Removed color-scheme: dark on body (prevented browser from
  forcing dark form controls regardless of data-theme)
- Dark mode input override only changes background shade now

This fixes: unreadable chip text and always-dark inputs.
2026-08-01 13:29:55 +00:00
agentbox ec40e73422 fix: unreadable chip/badge text in dark mode
CI / test-and-package (push) Successful in 59s
CI / build-android (push) Successful in 1m36s
Added explicit color: var(--text) on .chip and .badge selectors
in dark mode so unselected Home/Out chips and not-answered badges
are readable against the dark surface background.
2026-08-01 13:26:20 +00:00
agentbox b41c1ade44 feat: dark mode toggle for the web UI
CI / test-and-package (push) Successful in 1m13s
CI / build-android (push) Successful in 1m41s
- CSS variables for dark theme: surface, text, borders, accents
- Dark mode overrides for all hardcoded colors (buttons, tags,
  flashes, inputs, table headers, code blocks)
- Toggle button (☀️/🌙) in navbar, saved to localStorage
- Inline script applies saved theme before page render (no flash)
- Applied to both base.html and public.html
- System color-scheme meta tag for native browser chrome
2026-08-01 13:19:19 +00:00
agentbox ae95841b5b feat: public sharing links for households
CI / test-and-package (push) Successful in 40s
Add hard-to-guess public URLs (/public/<token>) that show a read-only
meal status dashboard for each household. Only people with the link can
see the data — no login required.

- models.py: public_token + public_enabled columns on households,
  get_household_by_public_token(), generate_public_token(),
  set_public_enabled()
- meals.py: /public/<token> route, /admin/public-link for
  generate/disable/enable/regenerate
- templates/public.html: clean read-only public dashboard
- templates/public-not-found.html: 404 for invalid/disabled links
- templates/dashboard.html: admin UI with copy/regenerate/disable
- static/style.css: public page and URL box styles
- i18n.py: 18 new translation keys (en/fr/de)
2026-08-01 10:12:21 +00:00
agentbox 28cf1a2f6a fix: lunch before dinner in columns, responsive mobile layout
CI / test-and-package (push) Successful in 33s
- models.py: ORDER BY CASE so lunch always appears before dinner in the
  dashboard table (was alphabetical, putting dinner first).
- style.css: add @media (max-width: 600px) with mobile-friendly layout:
  stacked navbar, full-width dashboard header, reduced padding/margins,
  larger touch targets for chips/buttons, stacked manage forms, and
  compact table cells.
2026-08-01 06:55:04 +00:00
agentbox 8466a6e029 fix: unify ntfy URL input styling with rest of manage-form inputs
CI / test-and-package (push) Successful in 38s
Add .manage-form label styling and .manage-form input[type="text"] rule
to match the existing password input styling, so the ntfy topic URL field
looks consistent with the rest of the UI.
2026-08-01 06:37:20 +00:00
agentbox b46691fee3 Add i18n support for French and German with browser language detection
CI / test-and-package (push) Successful in 35s
2026-08-01 06:00:29 +00:00
agentbox 188aaf66a0 Add account deletion, admin user removal, household deletion, grayed-out other-user chips (47 tests) 2026-07-31 22:12:13 +00:00
agentbox c48cd265ca Add household support: multi-household isolation, each with own admin and users, 38 tests 2026-07-31 21:44:29 +00:00
agentbox d58828e0ef Add meal tracker app: Flask + SQLite with auth, dashboard, 31 passing tests, Docker Compose 2026-07-31 21:25:59 +00:00