-
Notifications
You must be signed in to change notification settings - Fork 156
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
Update form input css #8554
Update form input css #8554
Conversation
I love it! It's the details that make the difference! I celebrate every one of your pull requests hard! |
Very good improvement, looks much better 👍🏼 |
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.
Awesome design, as always! 🙂
Oppose to your screenshots, all input fields have a grey (=disabled) background color for me (besides those in modals and drops). Does it happen for you as well?
packages/design-system/src/components/OcTextInput/OcTextInput.vue
Outdated
Show resolved
Hide resolved
Yep, you were right. fixed. |
Ok, I can understand and I would agree. Some explanation why I decided to use an alert: Using it like you proposed, my guess is that the message is not visible enough and the user might oversee this. But, In the end, it is your decision :) |
That's not what I meant. Have a look at the red error message below the text input here: https://owncloud.design/#/oC%20Components/OcTextInput |
done from my side, i think. Would need someone to check the added test, which fails, but I don't know why. |
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.
Love where this is going! Inputs / form elements feel much better already.
Apart from my comments two things that I'd like to discuss:
- we had a lot of (negative!) feedback in the past that the web ui was too big/clumsy in general. With your changes, form fields become bigger - to an extent that forms (e.g. editing a user in the admin settings) use up noticeably more vertical screen space than before. In my opinion a little bit too much. Could you try to reduce that a little bit again?
- the blue-ish borders of focussed input fields in dark mode don't match the general appearance of the dark mode in my opinion. I would prefer white. 🤔 Screenshot of the blue-ish border attached.
packages/web-app-admin-settings/src/components/Users/SideBar/EditPanel.vue
Outdated
Show resolved
Hide resolved
packages/web-app-admin-settings/src/components/Users/SideBar/EditPanel.vue
Outdated
Show resolved
Hide resolved
Sure, I'll try to look into it this afternoon 🙂 |
… with border setting; make disabled inputs look more disabled; add cursor icon to disabled inputs
b4bf4f6
to
3a3e658
Compare
What is this SonarCloud Code Coverage fail? |
It fails because of the condition coverage. But that's okay IMO since this PR (mainly) tackles visual things. |
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.
Nice work! Please remove the duplicated block, then we can merge it :)
SonarCloud Quality Gate failed. |
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.
Really nice job! Found a tiny sizing issue, will post a followup issue since I don't want to delay this PR any further. Thank you!
fix here: #8724 |
Description
Updates layout for form inputs, labels & textareas
Motivation and Context
Text inputs looked condensed and not unified styled.
How Has This Been Tested?
Screenshots (if appropriate):
Form layout
Before:
After:
Input focus highlight
The highlight border uses the gradient of web primary button gradient background.
Before:
After:
Comboboxes/Select uses same layout like input
Before:
After:
Disabled comboboxes look more disabled & cursor is disabled
Before:
After:
Checklist:
Open tasks: