Commit 188a965
authored
[HUD] Reduce number of clicks for expanding grouping (#6069)
Reduce the number of clicks needed to expand/collapse a group by
removing the part of the code that ensures that the first click only
removes the highlighted component for job names/headers. This only
changes the flow for clicking the headers, clicking jobs or commits
still has the same behavior
Example:
Click on group -> group gets highlighted, and group expands
Current behavior:
Click on group again -> group gets unhighlighted
Click on group again -> group gets collapsed
This PR:
Click on group again -> group gets highlighted, and group collapses
This also means if something is highlighted, ex you have a job tooltip
open, clicking on a group will highlight and expand that group
immediately, while previously it would unhighlight and you would have to
click again to expand
Example:
Click on job -> job gets highlighted
Current behavior:
Click on group -> job gets unhighlighted
Click on group again -> group gets expanded
This PR:
Click on group -> job gets unhighlighted + group gets expanded
Please click around on the HUD main page to see if you like this flow1 parent 853a7f2 commit 188a965
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 71 | | |
75 | 72 | | |
76 | 73 | | |
| |||
0 commit comments