Add bulk log actions and status indicator to logs section in Workspace details page
MR: Pending
Description
To improve the workspace failure visibility & troubleshooting, we need to add bulk log actions at the footer and a status indicator at the header of the workspace logs section so that users can efficiently manage and export log data, and see current log status at a glance.
Visual Changes
Acceptance criteria
-
Add "EXPAND ALL" button that expands all currently visible log entries -
Add "COPY" button that copies all log data based on current filter to clipboard -
Add "DOWNLOAD" button that downloads all filtered logs as a file (JSON or text format) -
Add current status indicator in logs section header (e.g., "Error" badge when errors are present) -
Implement proper loading states for download operation -
Show success feedback when copy/download operations complete -
Handle edge cases (no logs available, large datasets, network failures) -
Status indicator updates dynamically based on current log content -
All functionality integrates seamlessly with existing filtering and streaming features
TODO: Implementation plan
Notes
- Download logs: Download should include timestamp and workspace information in filename
Edited by Sahil Sharma