Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add confirmation dialog box when deprecating or retiring #839

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

Jithmi004
Copy link
Contributor

Purpose

In publisher portal, when Deprecating or Retiring an API or API Product, there is no pop-challenge to ensure whether the user is confirmed to deprecate/retire the API/API Product. Since such deprecation or retiring can happen with a mistaken button click, it is required to have a pop-up dialog box for confirmation.
Related to - wso2/api-manager#3349

Screenshot 2024-11-25 at 11 34 04 Screenshot 2024-11-25 at 11 34 15

Approach

To display a pop-up dialog box during the deprecation/retiring process, new states openMenu and selectedTransitionState are introduced to the LifeCycleUpdate component. Initially, openMenu is set to false. When the Deprecate or Retire button is clicked, openMenu is set to true, and the selectedTransitionState is stored and the dialog box is opened.

@tharikaGitHub tharikaGitHub merged commit ae4d413 into wso2:main Nov 26, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants