UX issues from Bug 1488654
From https://bugzilla.mozilla.org/show_bug.cgi?id=1488654 Forwarding from bugzilla, feel free to split more.
- [x] show indicator when pretty printing is in progress This can take a long time on big files, we could add some user feedback
- [ ] highlight is too subtle When we jump to the debugger, the line only flashes for a brief moment
- [x] always reveal in tree Synchronize the tree with the selected tab (I think we had this at some point?)
- [ ] max-width of editor tabs
This would avoid situations such as shown below where 50% of the tabbar is empty and everything is always in the overlow menu

@violasong @fvsch not sure if this is the best repository to discuss this or if it should move to the new UX issues repo?
These are great suggestions!
These tasks seem pretty straightforward so I don't feel a need to move this to a separate discussion place. A few comments:
- pretty printing indicator - yessss, I have really wanted this before and if we could use the Firefox tab bouncing ball indicator, that would be great. Max-width tabs could potentially follow some of Firefox's example as well.
- highlight too brief - interesting, I wonder if the highlight should continue persisting until closing the tab or if that would feel 'dirty'
Edit: FYI, we have a big "highlight colors" refresh under discussion [here] but for now you can use any color already existing in the tools (if you need a stronger color)
Highlight colors discussion is devtools-html/ux#14
Oh haha, markdown fail. Thanks!
- highlight too brief - interesting, I wonder if the highlight should continue persisting until closing the tab or if that would feel 'dirty'
I was actually thinking of something like Notepad++ where the current line (i.e. line where the cursor is) is highlighted. If you select multiple lines, the line where the selection's "focus" is, is highlighted.
Notepad++ screenshot:

VS Code has something like that too. Depending on the theme it can look like a background color or an outline.
They also make the line number more contrasted.

Ah nice, that makes sense. I've considered using the Inspector's subtle hover line background as a Debugger cursor line background.
I just realized Style Editor also has a highlighted cursor line in a stronger shade than the Inspector hover color - I'd recommend trying these both out to see what feels more correct.
/claim
- max-width of editor tabs
- highlight is too subtle
Thanks for claiming the issue! :wave:
Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.
:fox_face: Debugger team!
If you feel like the current max-width is good compromise, feel free to ignore the last point.
The issue is highlighted in the screenshot, it is pretty easy to only have one visible tab and everything in the overflow menu. To address it we could:
- reduce the max width
- adapt the max width to the available space
@birtles @violasong any other idea?
Re: max-width of editor tabs - hard to say how this should work without playing around with it in code but I guess Firefox's tab behavior would be my inspiration :)
closing this as it is hard to follow. If we want to follow up on the highlight line being too subtle or max width, lets file a new issue.