-
Notifications
You must be signed in to change notification settings - Fork 948
Open
Description
Problem
When a task encounters an error (either during loading or build failure), the current error screens provide navigation buttons that take users away from the task context instead of allowing them to retry within the same context.
Current behavior:
- Task loading errors show "Back to tasks" button that navigates to
/tasks
- Task build failures show "View logs" button that navigates to build logs
- Users lose their current task context and have to navigate back manually
Expected Behavior
Task error screens should provide a way to refresh/retry the current task without navigating away from the task context.
Proposed solution:
- Replace or supplement "Back to tasks" with a "Refresh" or "Try Again" button that refreshes the current page
- Keep users in the task context while providing retry functionality
- Maintain existing navigation options as secondary actions
Code Location
The issue is in /site/src/pages/TaskPage/TaskPage.tsx
:
- Lines 50-78: Task loading error handling
- Lines 130-145: Task build failure error handling
Acceptance Criteria
- Task error screens include a refresh/retry button that reloads the current task
- Users remain in the task context when retrying
- Existing navigation options are preserved as secondary actions
- Error handling maintains current UX patterns and styling
Metadata
Metadata
Assignees
Labels
No labels