Commit Graph

11 Commits

Author SHA1 Message Date
4345f2322f correlations
All checks were successful
CI / ci (push) Successful in 18m51s
2026-08-29 13:15:46 +02:00
128e66abda spa: restore metrics on dashboard; it was the only route to the metrics page
Some checks failed
CI / ci (push) Failing after 1m42s
hiding the card when nothing was recorded made /metrics unreachable, so an
account with no readings could never enter its first one. always shown now,
with today's readings or a prompt. second entry point on stats.

also: metric inputs had no label association, so all eight announced as
'Not recorded' (the placeholder). minutes read as 7h 12m, not 432.
2026-08-28 15:11:03 +02:00
bf148902ab spa hardening, offline logging, rate limit fixes
server:
- backup exporter, auth extractors, error shapes, CONTEXT (prior work)
- spa assets served outside the rate limit via route_layer
- requests_per_second went to per_second(), which takes an interval not a
  rate: 50 meant one request per 50s once burst was spent. now converted
  properly. 15/s, burst 60

spa fixes:
- account delete cleared snake_case token keys that were never written
- refresh interceptor could retry forever
- date ranges used local day boundaries stamped +00:00
- "all" period trend plotted one page; calendar days fabricated mood 3
- chart grid invisible: hsl(var(--border)) against rgba tokens
- blob url leak, orphaned media on failed save, devtools in prod bundle
- pt-safe/safe-area-pb classes never existed

spa features:
- offline outbox: entries queue to IndexedDB, replay with backoff, only
  server refusals count against an entry
- drafts persist, quick-log sheet, diary infinite scroll + filters
- route error boundary, stale-chunk recovery, no service worker in dev

a11y + perf:
- mood picker is a radiogroup, activity picker keyboard-operable,
  text alternatives for colour/emoji, locale week start
- dark glass over the bright photo: worst case 1.4:1 -> 4.9-9.6:1
- initial payload 1095->769kB raw, 306->230kB gzip; 38 unused components
  and 5 deps dropped; fonts 218->133kB

53 tests added (43 spa, 10 server)
2026-08-28 15:00:30 +02:00
23d052278a changes
All checks were successful
CI / ci (push) Successful in 19m38s
2026-08-26 20:58:14 +02:00
a557c183e9 Refactor web push notification handling to use reqwest client and improve session cleanup logic
Some checks failed
CI / ci (push) Failing after 1m44s
2026-08-26 09:48:05 +02:00
7aa5d692dc Refactor component code for improved readability and consistency
Some checks failed
CI / ci (push) Failing after 1m36s
- Simplified map creation in ActivityCorrelations component.
- Adjusted className formatting in AccordionTrigger and other UI components for better readability.
- Removed unnecessary line breaks in various components including Breadcrumb, Calendar, Checkbox, and others.
- Enhanced code formatting in NativeSelect and NavigationMenuTrigger components for consistency.
- Updated route imports in routeTree.gen.ts for uniformity in quotation marks.
- Cleaned up JSX structure in ReminderCard and ReminderForm components for clarity.
2026-08-26 09:19:45 +02:00
4bcc9f0686 Refactor VAPID signature building for improved clarity and error handling
Some checks failed
CI / ci (push) Has been cancelled
2026-08-26 09:18:19 +02:00
050b82e67a Refactor Dockerfile to use slim images and remove openapi.json
Some checks failed
CI / ci (push) Failing after 1m36s
2026-08-26 00:16:55 +02:00
b27561c91e Update VAPID key handling and improve push notification encoding
Some checks failed
CI / ci (push) Failing after 1m14s
2026-08-25 23:50:28 +02:00
ab42e16eca Add wget to Alpine image for enhanced functionality
Some checks failed
CI / ci (push) Failing after 1m51s
2026-08-25 23:30:19 +02:00
95739892de init
Some checks failed
CI / ci (push) Failing after 1m48s
2026-08-25 23:24:36 +02:00