-
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
treewide: add new css class button-row #7153
Conversation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This is a preparation commit so the buttons could get the new css class 'button-row' Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This change is required, so that the cancel button is the first and thus closes the modal when the 'ESC' button is pressed. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
That blue save and apply button i the OK example is virtually unreadable |
This isn't a bug in this PR tho, it's been that for a long time in the Material theme (I run it as default) so doesn't need to be addressed in this PR in my mind.
It's because all list ( |
Unreadability (illegibility) bears pointing out and... if possible, fixing. I don't use that theme so I've never noticed it. 🙃 |
If you figure it out, pepper in some code comments to an obnoxious degree so others tweaking css benefit... |
Absolutely, if it's easy to fix we should definitely do it in this PR if possible. I looked into this a while ago as part of another thing, and then I didn't find what the styling could be used for, so it may be hard to verify if there will be any regressions worse than the button illegibility by just removing it. |
Just remove and break stuff then test. Should be OK ™ |
@systemcrash @dannil |
@feckert So your wording is still problematic (in English), although we could get away with:
As you might guess, I want to avoid after here because after makes it seem like an implied consequence of this action, i.e. like it (connectivity loss) should happen. |
04a49a7
to
82f4b3c
Compare
@systemcrash thanks for the suggested wording. I have update the pullrequest. |
82f4b3c
to
2f4f334
Compare
Np. Did one of the buttons function change? |
2f4f334
to
0d638bb
Compare
@systemcrash Thank you for seeing this. I made a mistake when rebasing. |
Ok. Better. I think that the last button would probably do well called "Apply unchecked", as a suggestion - this wording has enough contrast with the middle button to make its purpose distinct. |
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
0d638bb
to
6d2657f
Compare
@systemcrash done |
Looks good to me. Merge at your leisure. |
Will have look. Thanks for feedback |
There seems to be a regression in the state change on the "Upload" button in "Flash new firmware image", it doesn't toggle to the "active state" when you upload a valid sysupgrade. I haven't investigated if it's a general issue. It's still possible to click it tho to proceed so it's a styling thing. |
@feckert I went back and double-checked the latest wireguard changes, and buttons there still work fine, so it's related to changes from this PR. Some of the buttons in wg might lack some essential styling, perhaps? |
I have managed to display the StackedSubModul of the wireguard peers again by adjusting the querySelector (#7200). The error must be somewhere here! I broke it, but @jow- can you maybe help here? |
Maybe revert for now, and queue up the cumulative relevant changes into the new PR 7200 |
Base on the discussion with @systemcrash @jow- on PR #7152, I have added the suggested css class
button-row
.New view for the connectivity change that I originally wanted to change.
I have tested the changes for the themes
luci-theme-material
andluci-theme-bootstrap
.When comparing the
Save & Apply
I noticed a problem that looks right withluci-theme-material
but not so right withluci-theme-bootstrap
.luci-theme-bootstrap (NOK):
luci-theme-material (OK):
I think the problem is with the CSS! Unfortunately I have no idea how to solve this.
Signed-off-by: <my@email.address>
row (viagit commit --signoff
)<package name>: title
first line subject for packages