Skip to content

fix: keep check-in all from failing silently - #504

Merged
caigee-cmd merged 1 commit into
mainfrom
fix/checkin-all-and-live-poll
Nov 13, 2026
Merged

caigee-cmd merged 1 commit into
mainfrom
fix/checkin-all-and-live-poll

Conversation

@caigee-cmd

Copy link
Copy Markdown
Owner

Summary

  • Check-in all threw before sending any request when the reported server timezone (MST -07:00, e.g. UTC +00:00) is not a name Intl accepts, and the error was swallowed, so the button did nothing. An unusable zone now falls back to the browser zone, and a failure shows an error toast.
  • The sidebar in-flight count polled /api/live on every page. It now reads the count already present in the overview summary; the live poll stays on the overview, which is the page that renders it.

Test plan

  • Intl rejects UTC +00:00; the fallback separates yesterday's check-in from today
  • cd frontend && npm run sync (tsc + vite build) passes and the embedded bundle matches frontend/dist
  • After deploy, check-in all on the accounts page starts the progress toast and reaches /api/accounts/.../checkin
  • Accounts, logs, and settings pages no longer request /api/live; the overview still does

An unusable server timezone made the check-in-all click throw before any
request, with nothing shown. Fall back to the browser zone and surface the
error. Stop the sidebar from polling /api/live on pages that do not render it.
@caigee-cmd
caigee-cmd merged commit 995121e into main Nov 13, 2026
6 checks passed
@caigee-cmd
caigee-cmd deleted the fix/checkin-all-and-live-poll branch November 13, 2026 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant