Improve the job relationships highlight interaction in the default pipeline graph
Release notes
Problem to solve
In &4509 (closed) we're bringing Needs (DAG) relationships into the default pipeline view. In order to show the Needs relationships, we're introducing a hover interaction that will highlight the job trail.
It works fine when all jobs within the trail are within the viewport, but hover is impossible to maintain if you need to scroll to see all connected jobs. In order to solve for this scenario, we should look into introducing a different interaction to make it possible to view the jobs trail without having to hover over the job the whole time.
Intended users
User experience goal
Proposal
Introduce a CMD + click
interaction on the job pill to make the highlight persist.
What happens if you press down CMD and click on 2 or more jobs consecutively?
In that case we would highlight both jobs and their relationships. It could be useful if you want to inspect how two or more of your jobs are related to the rest of the pipeline.
How do you exit the highlighted mode?
CMD + click on a highlighted job will unhighlight that job and its trail if you want to unhighlight only one. Otherwise, clicking anywhere outside the pipeline graph will unhighlight the job and its trail.
Is it possible to click on the job and view job logs when you're in the highlight mode?
You should be able to view the job logs always when you click on the job, even if you're in the highlight mode. A simple click will open the job details. CMD+click will highlight/ unhighlight the job trail.