Skip to content

Cluster Opens When Clicking Delete Button #2

Open
@huzaibsayyed

Description

@huzaibsayyed

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions