Skip to content

support separate tabs for each coder_script on the workspace page #15614

@matifali

Description

@matifali

Currently, we show all coder_script logs in a single UI container, which makes it challenging to debug which script has an issue.
Image

It would help to move these to separate tabs for each coder_script starting from startup_script. It may look like this:

Here the name can be rendered from coder_script.display_name and icon from coder_script.icon

Image

The main changes requested are:

  1. Split logs from each script into separate tabs.
  2. Each tab should have a display name set to coder_script.display_name
  3. Each tab should have an icon set to coder_script.icon
  4. Each tab should show the exit status code of the last command by a change in color.

Metadata

Metadata

Assignees

No one assigned

    Labels

    design readydesign is approved and ready for implementation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions