-
Notifications
You must be signed in to change notification settings - Fork 25
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
enh: warn during table manager promotion/demotion #1434
base: main
Are you sure you want to change the base?
Conversation
8cf9e5c
to
74f35ef
Compare
74f35ef
to
78bbc66
Compare
Now, there's a confirmation screen that warns about tables when a user attempt to promote to a manager: There's also a warning display after demotion. Would like to hear what @nextcloud/designers think :) Initially, I attempted to fetch all Applications and check if the table is in use (so that we only show the warning if there table is actually used in some Application), but that seemed to be getting to complicated. Pushed unfinished code to main...warn-demote-check-apps |
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.
Looks good and wording also fits from my perspective 👍
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 think it would be nice to have a "cancel" button too?
And is this a destructive action? We usually reserve the color error for such actions
Not really. I can change to the 'warning' color then |
807390d
to
d7785c5
Compare
@enjeck looks good! let's just right align the cancel button like in other dialogs and we're golden. |
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
d7785c5
to
a259596
Compare
No description provided.