No description
Find a file
jtricerolph c7066521ff Rework workforce sync to per-date storage with rolling window
Replaces the single workforce_rota config snapshot (which was overwritten
on each sync, losing data when switching weeks) with a workforce_daily_shifts
table keyed by date. Sync now covers a rolling today-7 to today+28 window
unconditionally — no date params needed. Each date's record carries a
synced_at timestamp so the UI shows the age of the oldest date in view.
Mid-week viewing works naturally since data is stored per date not per week.
source column reserved for future timesheet replacement of past dates.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-22 14:06:56 +00:00
backend Rework workforce sync to per-date storage with rolling window 2026-07-22 14:06:56 +00:00
frontend Rework workforce sync to per-date storage with rolling window 2026-07-22 14:06:56 +00:00
.env.example Initial commit: HK Planner app 2026-07-02 09:24:14 +00:00
docker-compose.yml Fix compose: use default bridge network, match cashup service names 2026-07-02 14:03:33 +00:00
seed-app.js Rename app to Rota Check 2026-07-04 13:19:40 +00:00