Add streaming toggle button for real-time log polling in Workspace details page
MR: Pending
Description
To improve the workspace failure visibility & troubleshooting, we need to add a streaming toggle button to the logs section so that users can enable real-time log polling and see live updates of their workspace logs.
Visual Changes
Acceptance criteria
-
Add streaming toggle icon button before the date picker dropdown -
Button toggles between inactive (default) and active (blue) states when clicked -
When streaming is active, automatically poll for new logs every X seconds -
When streaming is enabled, change date picker dropdown text to display "Streaming" -
Streaming automatically starts from current time and continues forward -
Proper loading indicators during streaming updates -
Stop streaming when user manually changes time range or closes section
TODO: Implementation plan
Notes
- Polling Interval: Configure polling frequency (every 5-10 seconds?)
Edited by Sahil Sharma