-
Notifications
You must be signed in to change notification settings - Fork 887
feat: add impending deletion banner to workspace page #7634
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
Conversation
@kylecarbs, @bpmct and I would like to know how you feel about this copy. It will probably change a bit when we add a workspace archival component to this feature, but curious if you have initial thoughts. |
@ammario I'm hesitant to introduce a new UI pattern, i.e. a new banner style; however I did add some logic to show our 'warning' banner flavor when workspaces will be deleted in 7 days or less so as to convey more urgency. This banner will also be displayed on the |
!displayImpendingDeletionBanner | ||
) { | ||
return null | ||
} |
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.
I found it hard to read/understand this "display or not" logic here. I think the names displayImpendingDeletion
and displayImpendingDeletionBanner
are very similar and I took some time to understand they are different but not sure how to improve 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.
Ah, let me improve that
One comment about this feature overall, maybe would be nice to add a help popover in the "Impending deletion" status explaining what it means. |
resolves #7359