Add "Go to log entry" button to workspace failed error section in Workspace details page
MR: Pending
Description
To improve the workspace failure visibility & troubleshooting, we need to add a "Go to log entry" button to the workspace failed error section so that users can quickly navigate to the relevant log context and investigate the failure.
Visual Changes
Acceptance criteria
-
Add "Go to log entry" button positioned below the error message in the workspace failed section -
Button automatically expands the logs section when clicked (if collapsed) -
Button updates the time-based filter to show logs from 5 minutes before the error occurred through the error timestamp -
Time range filter displays custom range showing the contextual time window around the error -
Automatically scroll to or highlight the specific error log entry in the logs list -
Handle cases where error timestamp is unavailable gracefully (hide button) -
Display loading state during the filtering and navigation process -
Button is only visible when workspace is in FAILED/ERROR state
TODO: Implementation plan
Edited by Sahil Sharma