You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Work log form: "Total Hours: NaN" with the default time entry #380
Environment: local web at 375×812 (mobile viewport). pnpm supa start, pnpm env-local pnpm exec supabase --workdir packages functions serve api (see the supabase-CLI-pin issue), pnpm web. Worker login: [email protected] / password123. Employer login: [email protected] / password123 (org unicorn).
Found during the 2026-07-16 mobile smoke test.
As clay (employer mode) → org Unicorn → Logs → New Work Log.
Actual: With the default pre-filled time entry (Start 08:00, End 16:30) the footer reads "Total Hours: NaN".
Expected: "Total Hours: 8.5" — computed from the entries, updating as entries change, and never rendering NaN (fall back to 0 or hide until entries are valid).
Where to look:packages/scf-core/features/work-logs/components/WorkLogForm.tsx (grep "Total Hours"). Likely the initial entry's times are strings/uninitialized when the total is computed.
Acceptance: fresh form shows 8.5 for the default entry; adding/removing/editing entries keeps the total correct; no NaN in any state.
Activity
fix(logs): NaN hours, off-brand list UI, missing API endpoints (#380, #…