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

feat(Canvas): Consolidate groups interactions #1016

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

lordrip
Copy link
Member

@lordrip lordrip commented Apr 16, 2024

Context

Currently, expanded and collapsed groups don't have the interactions available, for instance:

  • Expanded groups: Only allowed to delete the entire flow
  • Collapsed groups: Only allowed to Insert step

This commit consolidates both functionalities where it makes sense, so expanded groups allow the deletion of the flow, and collapsed ones allow to insert step (which expands the group) and the deletion of the entire flow.

How to test

Use the following route

- onException:
    id: onException-2479
- onException:
    id: onException-1968
    steps:
      - to:
          id: to-5255
          uri: activemq
          parameters: {}

You should see in both expanded and collapsed groups the Delete flow option

relates: #492

@lordrip lordrip marked this pull request as ready for review April 16, 2024 15:46
Currently, expanded and collapsed groups don't have the interactions available, for instance:

* Expanded groups: Only allowed to delete the entire flow
* Collapsed groups: Only allowed to Insert step

This commit consolidates both functionalities where it makes sense, so expanded groups allow the deletion of the flow, and collapsed ones allow to insert step (which expands the group) and the deletion of the entire flow.

relates: KaotoIO#492
@lordrip lordrip merged commit 33e03dd into KaotoIO:main Apr 16, 2024
6 checks passed
@lordrip lordrip deleted the feat/add-items-group-node branch April 16, 2024 16:13
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.

None yet

2 participants