Tags pages and sidebar need recovery actions #873

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

Evidence

  • apps/web/src/routes/tags/+page.svelte:14-20,39-40 shows a useful Sign in link for 401, but a network or server error has no Retry action.
  • apps/web/src/routes/tag/[tag]/+page.svelte:62-80,133-134 reports 401 with “Sign in to view items with this tag.” It does not render a Sign in link. A network or server error also has no Retry action.
  • apps/web/src/lib/components/app-sidebar.svelte:166-180,611-616 renders “Tags are not available right now” after both Tag requests fail. It has no Retry action.

Rule

Issue #869 asks for a real error state with a way forward for each route and panel.

Expected behaviour

Show a Sign in link for a 401. Show Retry after a temporary failure in the Tags page, tag-results page and Tags sidebar. Keep a successful empty result distinct from a failed request.

Test idea

Return 401, 500, and a network failure from both Tag APIs. Check the Sign in link, Retry action and true empty state. Click Retry and return real Tag data.

## Evidence - `apps/web/src/routes/tags/+page.svelte:14-20,39-40` shows a useful Sign in link for 401, but a network or server error has no Retry action. - `apps/web/src/routes/tag/[tag]/+page.svelte:62-80,133-134` reports 401 with “Sign in to view items with this tag.” It does not render a Sign in link. A network or server error also has no Retry action. - `apps/web/src/lib/components/app-sidebar.svelte:166-180,611-616` renders “Tags are not available right now” after both Tag requests fail. It has no Retry action. ## Rule Issue #869 asks for a real error state with a way forward for each route and panel. ## Expected behaviour Show a Sign in link for a 401. Show Retry after a temporary failure in the Tags page, tag-results page and Tags sidebar. Keep a successful empty result distinct from a failed request. ## Test idea Return 401, 500, and a network failure from both Tag APIs. Check the Sign in link, Retry action and true empty state. Click Retry and return real Tag 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#873
No description provided.