Skip to content

Workspace UI nitpcks

What does this MR do and why?

Add the following enhancements to the Workspaces UI:

  • Add beta badge to all Workspaces UI screens.
  • Change max hours field label to "Time before automatic termination". It also fixes a bug where the max hours field was not converted to int.
  • Add link to help page in Workspaces List.
  • Adds a link to the cluster agent configuration docs in the "No cluster agents" error message.
  • Breaks "Preview URL" into multiple lines when it is too long.
  • Fixes empty state illustration size.
  • Prefix cluster agent names with the project’s full name.

Screenshots or screen recordings

Before After
workspaces_list_before Screenshot_2023-05-10_at_12.00.51_PM
new_workspace_before new_workspace_after
Screenshot_2023-05-10_at_11.06.24_AM Screenshot_2023-05-10_at_11.11.46_AM
Screenshot_2023-05-10_at_11.24.16_AM Screenshot 2023-05-10 at 1.38.45 PM.png

How to set up and validate locally

  1. Enable the remote development feature flag Feature.enable(:remote_development_feature_flag)
  2. You might need to run gdk restart rails-web so rails reconfigure the routes.
  3. Open http://gdk.test:3000/-/remote_development/workspaces in your Web Browser.
  4. You should see a list of workspaces like the screenshots above.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #409874 (closed)

Edited by Enrique Alcántara

Merge request reports