-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
Implement new UI for disconnecting DBs #4124
base: develop
Are you sure you want to change the base?
Conversation
@ghislaineguerin |
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.
@seancolsen The code looks good.
I find the UX confusing with too many options for the user to understand. However, I do not have any suggestions and since this is a rare admin level operation, I don't think it's important to address it anytime soon.
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.
@seancolsen I'm ok with the CSS change. I'm a bit concerned with the "Outside of Mathesar" label... could be a bit confusing. How about "After Disconnection"?
Yeah, I'm not totally satisfied with this either. What's tough is that most of the ideas I had for this label (and yours too) would also seem to apply to the other checkboxes as well. For example, "After Disconnection" could apply to "Remove Mathesar's internal schemas". I'm going to keep this PR open. Perhaps we can have a quick chat about it tomorrow. Maybe @pavish wants to join. If there are some quick changes to copy or structure that would improve this, I'd be open to making them. |
Update: We had a quick chat about this at the end of our product meeting today.
|
This color set here was interfering with the disabled style set in Label.scss
@pavish and @ghislaineguerin can you give this another look now? Note that the "Remove stored role passwords" checkbox only displays when the DB is the last DB in its containing server. |
Fixes #4120
Fixes #3450
Screenshots
Default modal state
When "Drop" is selected
Help text for internal schemas
When removing internal schemas
Help text for types
Help text for role
When specifying a role
When errors are encountered
Design notes
This UI differs from our Figma design, but I think it should in be in line with what we discussed during today's call.
In 3def20c I removed some low-level CSS that I didn't like.
@ghislaineguerin I'd like you to sign off on this change, because this seems to be CSS that you added.
It's a subtle change...
Before my change we had a mix of 400 vs 500 font weights in the same section, which looks messy to me. The difference is subtle, but once I noticed it, I just couldn't un-see it. The 400 weight is our default font weight that gets used by regular text, e.g. "This will remove". And the 500 weight was applied to a few low-level UI elements like form field labels.
After my change, form field labels no longer get any special font weight. In my opinion, this makes them blend in with regular text better, which I think is appropriate given the structure of many of our forms. I didn't remove all the 500 weights. I think it still works fine for titles and such.
Checklist
Update index.md
).develop
branch of the repositoryDeveloper Certificate of Origin
Developer Certificate of Origin