feat(time): empty-week timesheet prompt + Log Time shortcut (MAPPS-201) #181
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/MAPPS-201-timesheet-empty-log-time-cta"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements MAPPS-201.
Problem
The Timesheets empty-week state showed only "No time logged this week." with no guidance or quick path to add time.
Change (
src/pages/time.rs)The empty-week grid cell now shows a prompt ("No time logged this week yet. Select a time to log for this week.") and a Log Time button that opens the new time-entry flow (
Route::TimeEntryNew, which logs for the current week). Submit stays disabled until an entry exists (unchanged from PMS-310).Verification
just pre-commit(pinned rust 1.94 = CI) passes: fmt, clippy-D warnings,cargo check --target wasm32-unknown-unknown, 100 lib tests.Acceptance criteria
🤖 Generated with Claude Code
The Timesheets empty-week state showed only "No time logged this week." with no guidance or path to add time. It now shows a prompt ("No time logged this week yet. Select a time to log for this week.") and a Log Time button that opens the new time-entry flow (Route::TimeEntryNew, which logs for the current week). Submit stays disabled until an entry exists (unchanged from PMS-310). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>