Display "Uninstall App" button if app is uninstallable
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?
- After an application is installed successfully, it should display an "Installed" button as specified in the tests (given no app is uninstallable yet).
- The previous statement is true for apps that are updating too.
- Related E2E tests should pass.
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation created/updated or follow-up review issue created -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Closes #60641 (closed)