Skip to content

Display "Uninstall App" button if app is uninstallable

Enrique Alcántara requested to merge fe-uninstall-cluster-apps into master

NOTICE This merge request is part of a series with the purpose of implementing the "Allow user to uninstall gitlab managed apps" feature. For more details of how the front-end work to implement this feature is arranged, see the following comment: https://gitlab.com/gitlab-org/gitlab-ce/issues/49408#note_161461780

For more information about the feature, refer to the epic https://gitlab.com/gitlab-org/gitlab-ce/issues/49408

What does this MR do?

Displays an Uninstall button if a cluster managed application is uninstallable. Even though this MR implements the logic to conditionally display a Uninstall button, merging this MR won’t affect the user because by default all applications will remain not uninstallable until subsequent merge requests in the implementation plan are merged.

How to ensure this application does not expose user-facing changes?

  1. After an application is installed successfully, it should display an "Installed" button as specified in the tests (given no app is uninstallable yet).
  2. The previous statement is true for apps that are updating too.
  3. Related E2E tests should pass.

Does this MR meet the acceptance criteria?

Conformity

Closes #60641 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports