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

Cluster Opens When Clicking Delete Button #2

Open
huzaibsayyed opened this issue Sep 5, 2024 · 0 comments
Open

Cluster Opens When Clicking Delete Button #2

huzaibsayyed opened this issue Sep 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@huzaibsayyed
Copy link
Collaborator

huzaibsayyed commented Sep 5, 2024

Currently, when the "Delete" button is clicked, it triggers an action that opens the cluster details page, even if the delete action is not confirmed. The cluster should only open when the respective configuration or view is explicitly clicked. This behavior can lead to confusion and potentially unintended actions.

Issue

  • Clicking the "Delete" button currently opens the cluster details page.
  • The cluster should only be accessible by clicking on the respective configuration link.

Expected Behavior

  • The "Delete" button should only initiate the delete action and display a confirmation dialog (if applicable).
  • The cluster details page should only be accessible through direct interaction with the cluster configuration or view link.

Steps to Reproduce

  1. Navigate to the cluster list page.
  2. Click the "Delete" button next to any cluster.
  3. Observe that the cluster details page opens.

Acceptance Criteria

  1. Delete Button Functionality:

    • The "Delete" button should not open the cluster details page.
    • It should prompt a confirmation dialog (if applicable) to confirm the delete action.
    • The cluster should only be deleted upon confirmation.
  2. Cluster Access:

    • The cluster details page should only open when the user clicks on the cluster configuration or view link.
  3. Testing:

    • Ensure that clicking the "Delete" button does not navigate to the cluster details page.
    • Confirm that the cluster details page opens only when clicking on the appropriate configuration link.

Additional Information

Please review the current implementation of the "Delete" button and the cluster navigation logic. Ensure proper routing and actions are in place to avoid unintended navigation.

image

@huzaibsayyed huzaibsayyed changed the title Opens cluster when clicking on delete button Cluster Opens When Clicking Delete Button Sep 5, 2024
@huzaibsayyed huzaibsayyed added the bug Something isn't working label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant