Bug #2338
closedPipeline instance reloads interfere with user's tab selection
Description
Issue:
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.
Expected results:
I can take all the time I like to review the information on the selected tab, without interruption.
Actual results:
When the page reloads, the Components tab is selected and put in front of me.
Updated by Brett Smith almost 11 years ago
- Project changed from Arvados to 35
- Release set to 6
Updated by Tom Clegg almost 11 years ago
- Target version set to 2014-04-16 Dev tools and data/resource management
Updated by Brett Smith almost 11 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.
Updated by Anonymous almost 11 years ago
- Status changed from New to Resolved
Applied in changeset arvados|commit:506e5678188ff5a51d4e38558fe8fc0fb4357be2.