-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
luci-base: refactoring overlay for connectivity change #7152
Conversation
Please don’t use the words with or without. The reason for gerunds is that the distinct separate actions remain clear because there are multiple actions. With implies "together with". Other languages can have what they like. |
Otherwise centered is good. Just try to retain the gerunds after "Apply" so it's clear what's about to happen. Do you want the actions after apply to read similarly or something? |
6a69c1f
to
472b471
Compare
* Update help text * Buttons moved to the center of the overlay * Button 'Cancle' moved to the right * Unify button text Signed-off-by: Florian Eckert <fe@dev.tdt.de>
472b471
to
d4623b2
Compare
@systemcrash |
"Apply, changes now" is odd. Two verbs, or noun verb? The other button is okay, though unreachable alone is tenuous. That button is the first time the GUI is mentioned, and it's not normally obvious that system and GUI are supposed to be client server (and thus distinct and separate). |
Keep gerunds after Apply. |
"Apply changes now" is not entirely correct. Changes are still applied in a delayed manner, the difference is whether they'll get rolled back or not if the browser does not interact with LuCI within the next 90 seconds. Can't suggest something suitable now but the verb should not refer to the "timing" of the change application but to the "stickiness" (for lack of a better word). |
Yes. So "Apply, committing..." or "Apply, reverting..." pattern encompasses this distinction @jow- mentions. |
In the generic uci dialog we're using "Apply unchecked" as button label. Would that work? |
@systemcrash
@jow- I like that. |
Verb + adverb (apply immediately), Verb + adjectival phrase (apply unchecked), verb + gerund (apply, doing x) all work, just a bit differently. Unchecked creates an expectation that all settings actually get checked somehow in another path, in this case the "checked" path. This construction focuses on the first action to the detriment of the successive one. (The gerund construction handles the second one.) |
"Simplify as much as possible, but not further" 😅 |
Centering the buttons would make the layout for this modal different compared to any other modal. I'd prefer consistency here. Maybe it makes sense to introduce new CSS after all, iteratively applying it to other modals too. E.g. change .modal > .button-row {
display: flex;
justify-content: space-between;
}
.modal > .button-row > button:not(:first-of-type) {
margin-left: .5em;
}
.modal > .button-row > button:last-of-type {
margin-left: auto;
} Then reorder the buttons so that For the sake of consistency I'd prefer if we always put the "no action, abort" button to the lower right corner and the "do something" one(s) to the lower left. |
Before with LuCI-Theme bootstrap:
After with LuCI-Theme bootstrap:
Signed-off-by: <my@email.address>
row (viagit commit --signoff
)<package name>: title
first line subject for packages