Pipeline instance reloads interfere with user's tab selection
If I view the pipeline instance of a running pipeline, the page reloads every so often to show me the latest status. However, this reload consistently puts me back to viewing the "Components" tab of the page, even if I had switched to another tab. This takes me away from my work.
- Start running a pipeline.
- On the Workbench, go to Activity → Recent pipeline instances → Select a running pipeline
- On the pipeline page, switch to another information tab, like Graph or JSON.
I can take all the time I like to review the information on the selected tab, without interruption.
When the page reloads, the Components tab is selected and put in front of me.
#6 Updated by Brett Smith over 6 years ago
jQuery is not my forte, but it makes sense and is sensible.
I think it'd be possible to test this in an integration test. You could go to a running pipeline page, select a tab, make a small API request just to change updated_at, wait N seconds, and make sure that your tab is still selected. Admittedly this would probably be twice as much code as the bugfix, but I bet the hard parts would come in handy for future test development.
But if you think this is a case where we should defer testing for lack of infrastructure, I think this is good to merge. Thanks.