Closed Bug 1749550 Opened 3 years ago Closed 3 years ago

Change markup view "event" badge styling when at least one event is disabled

Categories

(DevTools :: Inspector, enhancement)

enhancement

Tracking

(firefox98 fixed)

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

Details

Attachments

(1 file)

Once Bug 1492497 is resolved, the user can disable events from the event tooltip in the inspector.
It occured to me that one could forget they disabled an event, and be confused about why something wouldn't work.
This could be mitigated by styling the "event" badge a bit differently so the user would remember they disabled something. We could borrow what we do in the style editor when the user changes a stylesheet: set the text in italic and add a * before it (which is similar to what editors are doing).

Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9d4e6a77daab [devtools] Add distinct style to event badge in markup view when an event listener is disabled. r=ochameau.
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: