feat(time): empty-week timesheet prompt + Log Time shortcut (MAPPS-201) #181

Merged
longjacksonle merged 1 commit from feat/MAPPS-201-timesheet-empty-log-time-cta into main 2026-06-16 02:16:48 +02:00

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

  • An empty timesheet shows a clear prompt to add time.
  • A button opens a new time entry for the current week.
  • Submit stays disabled while the week has no entries.

🤖 Generated with Claude Code

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 - [x] An empty timesheet shows a clear prompt to add time. - [x] A button opens a new time entry for the current week. - [x] Submit stays disabled while the week has no entries. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat(time): empty-week timesheet prompt + Log Time shortcut (MAPPS-201)
All checks were successful
Create release / Create release from merged PR (pull_request) Has been skipped
Check / clippy + fmt + tests (pull_request) Successful in 1m17s
c5406f90d3
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>
longjacksonle deleted branch feat/MAPPS-201-timesheet-empty-log-time-cta 2026-06-16 02:16:48 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-apps!181
No description provided.