Skip to content

feat: add orphan option to workspace delete in UI #10654

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Nov 14, 2023

Conversation

Kira-Pilot
Copy link
Member

@Kira-Pilot Kira-Pilot commented Nov 13, 2023

https://www.loom.com/share/3eb09cc6477740ee86572c98916fa8cc?sid=da58b228-9908-4a32-982e-a7413522697c

  • Added a WorkspaceDeleteDialog component. Spent some time trying to genericize our existing DeleteDialog but ultimately could not type narrow enough and realized there was a better path forward. DeleteDialog is already an abstraction of ConfirmDialog. Going forward we should consider adding a component for the text validation portion of the DeleteDialog, then refactor such that separate entities have their own flavors of delete dialogs as there's a lot of distinct visual elements depending on the entity.
  • Changed the color of our delete text and CTA to a darker orange. I spent...too long on this. There may be a better orange but I don't believe it exists in our existing palette.

@Kira-Pilot Kira-Pilot requested review from a team and Parkreiner and removed request for a team November 13, 2023 15:51
Copy link
Member

@Parkreiner Parkreiner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks really good. Just had a few nitpicks and suggestions for cleaning things up – but nothing worth blocking over

@Kira-Pilot Kira-Pilot merged commit ef70165 into main Nov 14, 2023
@Kira-Pilot Kira-Pilot deleted the delete-orphan-ui/kira-pilot branch November 14, 2023 16:32
@github-actions github-actions bot locked and limited conversation to collaborators Nov 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants