Ensure pipeline action button (cancel/retry) is updated after action taken
requested to merge 31155-pipeline-action-button-cancel-retry-state-not-updated-after-action-taken into master
The problem is caused by:
- Reloading the pipelines table when data is being refreshed
- Aync button components not knowing when their has been updated
The problem is remedied by:
- not setting
isLoading
when we're fetching new pipelines (https://gitlab.com/gitlab-org/gitlab-ce/commit/ac2b6c586f19490cfaed534cded1ac0c9422b63d & https://gitlab.com/gitlab-org/gitlab-ce/commit/0311445c021ab8d8d3ecbc51293b75c9803e5628) - updating the
async-button
loading state when pipelines are refreshed.
Overall it improves the pipelines index UX:
Closes #31155 (moved)