-
Notifications
You must be signed in to change notification settings - Fork 897
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
Removed Optional. label from 'Add New Container Provider' screen #3785
Conversation
Checked commit romanblanco@a1aa4c9 with rubocop 0.32.1 and haml-lint 0.13.0 |
@romanblanco In #3634, @abonas says that the Optional label "should go next to the field, not under the field." |
@romanblanco @chessbyte I looked at how it looks and behaves in other providers, and the ones I saw (rhev) have some sort of statement under credentials/authentication part (required/optional) and I think the following should apply: |
@chessbyte I see. I was following BZ description, which says: It also looks better to me without label. I would avoid using textual labels of which fields are required and which are optional, since user is notified about required fields through flash messages: |
@abonas I was under the impression from the way the bug was written that we didn't want the text "Optional" shown on the screen. If this is for the Credentials, then perhaps it should say "Credentials (optional)" in the section title. Just let us know what we want to do here. Thx, Dan |
@abonas Sorry, my screen hadn't been updated with your reply. For this screen, since it is not yet updated to use angular, I think something like I suggested is fine for now. Once we convert it, anything required that is not filled in will be in red with a small message below (yes, patternfly shows them below) it saying "Required" (see the schedule editor, once we fix it, of course, lol). Optional fields will not be highlighted. |
Indeed, generally speaking, I don't see the need in saying "optional". |
Removed Optional. label from 'Add New Container Provider' screen
https://bugzilla.redhat.com/show_bug.cgi?id=1248547
Fixes #3634
Before:
After: