Money month and register errors need recovery actions #874

Open
opened 2026-10-02 17:27:51 +00:00 by kayg · 0 comments
Owner

Evidence

  • apps/web/src/routes/money/[budget]/[month]/+page.svelte:83-87,190-191 stores 404 and other failures in problem. The page then renders only an EmptyState. A 404 description says to open Money, but it has no link. A temporary failure has no Retry action.
  • apps/web/src/routes/money/[budget]/accounts/[[account]]/+page.svelte:92-95,250-252 renders a problem message after a failed register request, but it has no Retry action or link.

Rule

Issue #869 asks for a real error state with a way forward. DESIGN §33 says missing deep links degrade gracefully.

Expected behaviour

For a missing budget, provide a working link to Money. For a temporary server or network failure, provide Retry in both the budget month and account register.

Test idea

Return 404, 500 and a network failure from the month and register APIs. Check that 404 has a working Money link and that temporary failures have Retry. Click Retry and return real data.

## Evidence - `apps/web/src/routes/money/[budget]/[month]/+page.svelte:83-87,190-191` stores 404 and other failures in `problem`. The page then renders only an `EmptyState`. A 404 description says to open Money, but it has no link. A temporary failure has no Retry action. - `apps/web/src/routes/money/[budget]/accounts/[[account]]/+page.svelte:92-95,250-252` renders a problem message after a failed register request, but it has no Retry action or link. ## Rule Issue #869 asks for a real error state with a way forward. DESIGN §33 says missing deep links degrade gracefully. ## Expected behaviour For a missing budget, provide a working link to Money. For a temporary server or network failure, provide Retry in both the budget month and account register. ## Test idea Return 404, 500 and a network failure from the month and register APIs. Check that 404 has a working Money link and that temporary failures have Retry. Click Retry and return real data.
Sign in to join this conversation.
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
kayg/calternal#874
No description provided.