Closed Bug 1907803 Opened 3 months ago Closed 2 months ago

Focused tagname/attribute is hard to differentiate from inplace editor input with selected text

Categories

(DevTools :: Inspector, defect, P3)

defect

Tracking

(firefox131 fixed)

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(3 files)

Editing tagname / attributes in the markup view can be frustrating as the different state (selected node, focused element, inplace editor) look exactly the same, making it hard for the user to know what state they're currently in

Update inplace editor "target" (tagname, attribute, …) focus style so it stands
out much more from the other items in the selected node line.
Since this wouldn't be easy/possible to do with the line "parts" colors set in
the themes stylesheet via theme-fg-color* classes, we remove those, add specific
classes when needed, and set the colors in markup.css.

When an inplace editor input is displayed, remove the "selected" style (blue background, white color)
from the line, so it's easier to understand we're in a different state.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Severity: -- → S3
Priority: -- → P3

There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:nchevobbe, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(poirot.alex)
Flags: needinfo?(nchevobbe)

Waiting for the new cycle to land the patches

Flags: needinfo?(nchevobbe)
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f6c9dd152cfa [devtools] Make inplace editor editing in markup view less confusing. r=devtools-reviewers,ochameau. https://hg.mozilla.org/integration/autoland/rev/9f53c73eda39 [devtools] Add icon on new attribute button when focused. r=devtools-reviewers,ochameau.
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
Flags: needinfo?(poirot.alex)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: