Closed Bug 1544930 Opened 5 years ago Closed 5 years ago

Extend visibility for currently highlighted line

Categories

(DevTools :: Debugger, enhancement, P3)

enhancement

Tracking

(firefox71 fixed)

RESOLVED FIXED
Firefox 71
Tracking Status
firefox71 --- fixed

People

(Reporter: Harald, Assigned: davidwalsh)

References

(Blocks 1 open bug)

Details

User Story

When jumping to a line in the debugger, I want to clearly see the target line highlighted even in a busy UI like the debugger, so that I can understand which line I jumped to.

Attachments

(2 files)

Follow up from https://github.com/firefox-devtools/debugger/issues/4318

Ideas:

  • Extend duration
  • Ease out with longer high visible state
  • Only start fading out when the UI is fully loaded and/or after the user interacted with the debugger/document
  • More vibrant color (Chrome uses yellow)

One option to not have the highlight start when the debugger is still churning on loading (animation ends up choppy and noisy because of ongoing loading): The highlight should be applied as early as possible but the fade out should only be triggered in a requestIdleCallback or an event that the debugger fires when it is fully loaded.

Agreed on everything! Maybe just not for the first line when first opening a file.

Also: we should try a subtle blue row highlight based on the Inspector hover color.

Other places where this can be applied, off the top of my head: link box model to rules, Markup changed DOM highlight.

Also: we should try a subtle blue row highlight based on the Inspector hover color.

That does not seem very consistent across editors. Style Editor highlights the current line, while Inspector highlights the currently focused element in the tree. To keep this bug focused, it is maybe worth filing a separate issue with a better problem statement.

Related: https://github.com/firefox-devtools/debugger/issues/8007

Priority: -- → P2

Victoria: Inconsistencies aside, can you recommend a better (yellow) highlight color and opacity for this line?

Priority: P2 → P3

Victoria: Inconsistencies aside, can you recommend a better (yellow) highlight color and opacity for this line?

Flags: needinfo?(victoria)

Hi! There's new yellow flash styling currently in progress for the Markup view: https://bugzilla.mozilla.org/show_bug.cgi?id=1541278

I'm not sure what it looks like yet - was planning to take a closer look after it lands. But the yellow should be 'Yellow 50' at 40% opacity.

I also think all our flash effects should have a longer duration so it would be great if you move forward on that as well.

Flags: needinfo?(victoria)
Blocks: 1565711
Blocks: 1565713
No longer blocks: 1565711
No longer blocks: 1565713
Pushed by dwalsh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f377025d40ef
Improve visibility of the highlighted line r=jlast
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71
Assignee: nobody → dwalsh
QA Whiteboard: [qa-71b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: