-
Notifications
You must be signed in to change notification settings - Fork 32
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
ui: always delete workspace when deleting workflow #281
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works nicely!
@@ -92,7 +92,7 @@ export default function WorkflowActionsPopup({ workflow, className }) { | |||
content: "Free up disk", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically we shouldn't need this option any more, but it might be useful to keep it for a while for users who have previously deleted the workflow without the workspace
/> | ||
</> | ||
<Message icon warning> | ||
<Icon name="warning sign" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: for quota notifications warning message we used warning circle
icon, it would be good to keep the same one for consistency.
Actually it would be even better to have a component similar to Notifications
which would simply display these kind of messages and select an appropriate icon depending if it's a warning, info or an error. In profile
page we use it exactly for this purpose, but it's not ideal since it have an additional logic to display the messages from getNotification
selector. I think it would be nice to decouple it and use a dumb notification component everywhere in these kind of cases (something definitely for later)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree! I will open an issue about this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related issue: #282
Closes #280
How to test:
Expected result: The workspace is deleted together with the workflow and the workflow duration is shown in both the workflow list and in the details page