Redesign toggle-able buttons
Categories
(DevTools :: Shared Components, enhancement, P4)
Tracking
(firefox69 fixed)
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: phoenixgyaan)
References
(Blocks 1 open bug, Regressed 1 open bug)
Details
Attachments
(2 files, 1 obsolete file)
In https://bugzilla.mozilla.org/show_bug.cgi?id=1523842#c2 , Victoria confirmed that we want the filter buttons from the Netmonitor and the Console to have a different look (no background when disabled, a grey one when enabled).
Here's a link to the mockup https://mozilla.invisionapp.com/share/2XEEY0RYA#/screens/263398480
So we should have some shared CSS rules for that.
We can't simply change .devtools-button
as it's used in a lot of places, including in places we want them to stay the same.
One thing we could take advantage of is the aria-pressed
attribute that we set on both console and netmonitor filter buttons to apply the wanted styles.
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
I am currently working on this as discussed on Slack
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 2•5 years ago
|
||
Here's a screenshot of the mockup to be extra clear
Assignee | ||
Comment 3•5 years ago
|
||
The toggle buttons have been redesigned as per the shared mockup
Assignee | ||
Comment 4•5 years ago
|
||
Redesigned toggle-able buttons for dark-mode
Updated•5 years ago
|
Comment 5•5 years ago
|
||
Comment on attachment 9051045 [details]
Bug 1525039 - Redesign toggle-able buttons for dark-mode. r=ladybenko
Revision D23500 was moved to bug 1535324. Setting attachment 9051045 [details] to obsolete.
Comment 6•5 years ago
|
||
Hi. I noticed that a lot of work has gone into this bug over the past few months, but work seems to have stalled.
Do you need more time to work on this? If so, that is totally fine. If you, however, do not plan on resuming work on this bug, please let me know so it can be made available to others.
Assignee | ||
Comment 7•5 years ago
|
||
Hi Patrick,
Yes, I am still working on this. The work was stalled because of my exams, which are about to complete in a couple of days.
I, however, will be submitting an updated patch later today or tomorrow :)
Reporter | ||
Comment 9•5 years ago
|
||
Hello Phoenix, do you still want to work on this?
Comment 10•5 years ago
|
||
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/89b78a7a5359 Redesign toggleable buttons. r=ladybenko
Comment 11•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 12•5 years ago
|
||
Thank you Nicolas for the help :)
Updated•2 years ago
|
Description
•