hk-planner/frontend/src
jtricerolph c19460ecb3 Fix timesheet sync overwriting future rota dates with empty data
Pull timesheets was writing source='timesheet' rows for future dates
(no clock-in data yet), giving ? / 0.00h and preventing rota sync
from ever healing those dates.

Three-part fix:
- Backend runTimesheetSync: cap end date to today before looping
- Frontend syncTimesheetData: cap end date to today before calling API
- Backend runRotaSync: only skip timesheet-sourced dates that are <= today,
  so any future dates accidentally marked as timesheet are self-healed
  next time rota sync runs

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-23 12:08:36 +00:00
..
components Add sync error logging, extend error flash, fix unload saves 2026-07-22 14:19:38 +00:00
hooks Add sync error logging, extend error flash, fix unload saves 2026-07-22 14:19:38 +00:00
pages Fix timesheet sync overwriting future rota dates with empty data 2026-07-23 12:08:36 +00:00
api.js Scope manual sync buttons to current view dates only 2026-07-22 20:08:43 +00:00
api.ts Scope manual sync buttons to current view dates only 2026-07-22 20:08:43 +00:00
App.js Add sync error logging, extend error flash, fix unload saves 2026-07-22 14:19:38 +00:00
App.tsx Fix shift hours overcounting automatic breaks + add version-check banner 2026-07-21 15:30:17 +00:00
index.css Add 5-tier warning thresholds to staff rota footer 2026-07-22 13:38:46 +00:00
main.js Add sync error logging, extend error flash, fix unload saves 2026-07-22 14:19:38 +00:00
main.tsx Make hk-planner installable as a PWA 2026-07-11 11:27:00 +00:00
types.js Add sync error logging, extend error flash, fix unload saves 2026-07-22 14:19:38 +00:00
types.ts Add timesheet sync: pull actual hours, daily cron, per-cell source indicators 2026-07-22 18:25:02 +00:00
vite-env.d.ts Initial commit: HK Planner app 2026-07-02 09:24:14 +00:00