Skip to content

Display workspace actual state as badges

Amber Parker requested to merge 416123-workspace-state-indicator-parker into master

What does this MR do and why?

Display workspace actual state as badges

Changing the workspace state from icon to badge

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2023-08-02_at_8.21.53_AM Screenshot_2023-08-02_at_11.54.32_AM
Screenshot_2023-07-31_at_11.55.00_AM Screenshot_2023-07-31_at_11.55.50_AM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

I recommend using GitLab's Storybook With API Access decorator to test these changes locally. The goal is using gitlab.com as a backend instead of setting up remote development in your local environment.

Create a workspace in gitlab.com

  1. You can create a Workspace in gitlab.com for the gitlab-web-ide project. Read the docs about creating a workspace: https://docs.gitlab.com/ee/user/workspace/#create-a-workspace

Set up Storybook

  1. Connect your Storybook instance to gitlab.com using the following instructions: https://docs.gitlab.com/ee/development/fe_guide/storybook.html#set-up-api-access-token-and-gitlab-instance-url
  2. Open http://localhost:9002/?path=/story/ee-remote-development-workspaces-list--default

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 #416123 (closed) and https://gitlab.com/dsatcher/summer-internship/-/issues/1

Edited by Amber Parker

Merge request reports