Skip to content

Ensure pipeline action button (cancel/retry) is updated after action taken

The problem is caused by:

  1. Reloading the pipelines table when data is being refreshed
  2. Aync button components not knowing when their has been updated

The problem is remedied by:

  1. 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)
  2. updating the async-button loading state when pipelines are refreshed.

Overall it improves the pipelines index UX:

2017-04-24_13.53.13

Closes #31155 (moved)

Merge request reports