[UX] WhyPaused component is displayed at an awkward place, and has low contrast #8049
Comments
|
Came up in #8068 as well and I found this issue. Given how hard debugging already is to get into and be good at; we can do much better at clearly communicating state. Requirements for a good warning
Existing work Safari, also shows the function and file as reference and link: Chrome, also shows meta data for the reason (which could be linked better): VSCode shows paused state by having a conditional Debug toolbar on top. |
|
What's your guys opinion on moving the WhyPaused component back to it's original location before the #3111 change? @jasonLaster I feel this way we could add the requirements for a more visible warning and even have the information available when the secondary pane is collapsed. It also conforms to the Chrome WhyPaused. |
|
/claim |
|
Thanks for claiming the issue! 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 |
|
At the very least it's worth experimenting with moving it back up, and trying to address the issues seen in #3111 in a different way. For example, while stepping the WhyPaused component should not disappear (even just briefly); that would mitigate most vertical jumpiness. |
- Moved WhyPaused component to previous location (top of pane frames) for more visibility - Reduced vertical jumpiness on re-renders/updates - Minor changes to contrast





Let's look at the contrast issue first, since it's more straightforward. On the light theme:
3.10:1contrast;1.91:1contrast.(We're aiming for a minimum of
4.5:1contrast for both.)Things would be better if we removed the
opacity: 0.6on that component.Now, for the placement part. I would argue that:
It seems this component was moved here in #3111 to avoid another issue (vertical jump when that component is displayed or not). But I wonder if, with this change, we haven't lost a visible indicator of the "Paused on breakpoint|exception" state? In my experience nowadays the paused state can mostly be detected by looking at the Play/Pause icon, which is a weak signal. @jasonLaster, I think you've got similar feedback from other users?
So maybe we should revisit having a "Paused on..." information higher up, perhaps always visible even when the SecondaryPanes are closed (like the play/pause/skip buttons), and try to move WhyPaused there?
The text was updated successfully, but these errors were encountered: