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

fix: Added context menu to delete a container #1003

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

shivamG640
Copy link
Contributor

Fixes #974
The Canvas looks like this with the Context menu:
image

Copy link
Member

@lordrip lordrip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job @shivamG640, just a couple 💅:

  1. We should try to do a test for this new interaction to make sure that we're able to remove the route or kamelet, it could be a basic test that right-clicks in the container and click on delete, then we check the delete method was called.

  2. The next steps would be:

    1. Add a container for Pipes, so we can remove them like Kamelets
    2. Avoid creating new routes when deleting the existing one

For 1., if it's not too complex, we could include it in this very same PR whereas for 2., since it's optional, it would be better to have it in a separate PR.

@lordrip
Copy link
Member

lordrip commented Apr 12, 2024

Merging this PR now, to move forward with the repository rename. The upcoming tests will be added in a new PR.

@lordrip lordrip merged commit 7352005 into KaotoIO:main Apr 12, 2024
9 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.

Provide context menu to delete a route
2 participants