mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
This PR adds log source tabs to the workspace agent logs panel so users can quickly focus on specific log streams instead of scanning one combined feed. It also updates the shared tabs trigger behavior to explicitly use `type="button"` when rendered as a native button, preventing unintended form submission behavior. - Adds per-source tabs in `AgentRow` with an **All Logs** default view. - Shows only log sources that currently have output, with source icons and sorted labels. - Filters rendered log lines based on the active tab while preserving existing log streaming/scroll behavior. - Refines the logs container layout/styling for the new tabbed UI. - Updates `TabsTrigger` to safely default button type when not using `asChild`. https://github.com/user-attachments/assets/9b3e7a9d-72e3-4c12-aba2-2b70cdbc04c1