Closed Bug 1525039 Opened 5 years ago Closed 5 years ago

Redesign toggle-able buttons

Categories

(DevTools :: Shared Components, enhancement, P4)

enhancement

Tracking

(firefox69 fixed)

RESOLVED FIXED
Firefox 69
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.

Component: Console → CSS and Themes
Priority: -- → P4

I am currently working on this as discussed on Slack

Flags: needinfo?(nchevobbe)
Assignee: nobody → phoenixgyaan
Status: NEW → ASSIGNED
Flags: needinfo?(nchevobbe)
Attached image image.png

Here's a screenshot of the mockup to be extra clear

The toggle buttons have been redesigned as per the shared mockup

Redesigned toggle-able buttons for dark-mode

Attachment #9051045 - Attachment description: Bug 1535324 - Redesign toggle-able buttons for dark-mode. r=ladybenko → Bug 1525039 - Redesign toggle-able buttons for dark-mode. r=ladybenko

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.

Attachment #9051045 - Attachment is obsolete: true

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.

Flags: needinfo?(phoenixgyaan)

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 :)

Flags: needinfo?(phoenixgyaan)

Hello Phoenix, do you still want to work on this?

Flags: needinfo?(phoenixgyaan)
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/89b78a7a5359
Redesign toggleable buttons. r=ladybenko
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 69
Flags: needinfo?(phoenixgyaan)

Thank you Nicolas for the help :)

Regressions: 1594406
Component: CSS and Themes → Shared Components
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: