Skip to content

fix(dashboard): add retry handler for available jobs fetch on Technician Dashboard (#52) - #56

Merged
licette32 merged 3 commits into
mainfrom
feat/bug-52-failed-to-load-assets
Aug 21, 2026
Merged

licette32 merged 3 commits into
mainfrom
feat/bug-52-failed-to-load-assets

Conversation

@licette32

Copy link
Copy Markdown
Owner

Summary

Fixes issue #52 where transient RPC failures or network glitches during asset fetching left the Technician Dashboard in a dead-end red error state ("Failed to load assets. Check your connection or try again.") with no way to recover without refreshing the entire page.

Changes Made

  • TechnicianDashboard.tsx:
    • Added retryAvailableJobs callback to re-trigger fetchAllAssets(program) upon user interaction.
    • Added a "Retry" / "Reintentar" button inline within the error row when jobsError is true.
  • translations.ts:
    • Added missing retry key for both English (Retry) and Spanish (Reintentar).

Acceptance Criteria Verification

  • Available Jobs table can handle fetch retries manually without reloading the page.
  • UI displays a clear "Retry" action button when jobsError is triggered instead of a static dead-end message.
  • Verified tsc --noEmit and build pass without errors.

Context / Related Issues

Closes #52

…#38)

- New: docs/PST_HANDOFF.md — full spec of dual-wallet complete_maintenance hand-off (payload v1, flow, security invariants, expiry, error handling)
- ARCHITECTURE.md: add PST hand-off section under complete_maintenance
- README.md: add PST hand-off details under smart contract instructions
@vercel

vercel Bot commented Aug 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
medovant-protocol Ready Ready Preview Aug 21, 2026 11:09pm

@licette32
licette32 merged commit bf97f75 into main Aug 21, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 289ec8e5 Deployed Aug 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] "Failed to load assets" error in Technician Dashboard's Available Jobs table

1 participant