Skip to content

batches: cleaner workspaces preview list

Administrator requested to merge kr/workspaces-preview-list into main

Created by: courier-new

Cleans up the individual items from the WorkspacesPreviewList. Next PR will be to properly paginate these with useConnection since we've identified that users with 2000+ changesets are going to be experiencing the most pain with this right now.

I'll let the storybook stories do most of the talking here, but some things of note:

  • The path is hidden unless it's not the workspace root
  • The branch is hidden unless it's not the repository default branch
  • The workspace will take on the "stale" visual style if the user hit the button to auto-exclude it but hasn't updated their preview yet

I didn't add the triple dot menu or checkboxes/filters yet because we haven't implemented that stuff, but it still looks a lot better despite that I think. 😄

Merge request reports

Loading