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 RestConfiguration entities to New Entity menu #1030

Closed
lordrip opened this issue Apr 23, 2024 · 0 comments · Fixed by #1033
Closed

Add RestConfiguration entities to New Entity menu #1030

lordrip opened this issue Apr 23, 2024 · 0 comments · Fixed by #1033
Assignees
Labels
canvas/visualization Canvas-related issues enhancement New feature or request
Milestone

Comments

@lordrip
Copy link
Member

lordrip commented Apr 23, 2024

Please describe the feature that you want to propose

Using a flyout-menu, it would be ideal to have an easy access to create new entities using the UI.

@lordrip lordrip added enhancement New feature or request canvas/visualization Canvas-related issues labels Apr 23, 2024
@lordrip lordrip added this to the 2.0.0 milestone Apr 23, 2024
@lordrip lordrip self-assigned this Apr 23, 2024
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 24, 2024
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 24, 2024
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 24, 2024
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 24, 2024
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 25, 2024
In order to create new entities, a DSL Slector component needs to be
added.

This commit adds said component divided in 3 sections:

1. `ChangeDSLModal`: A modal to warn the user whenever the DSL is being
   changed since the existing integration will be removed
2. `DSLSelectorToggle`: The DSL Button itself
3. `DSLSelector`: The main entrypoint for the DSL Selector, this
   component is in charge of combining both `DSLSelectorToggle` and the
`ChangeDSLModal` components

relates: KaotoIO#1030
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 25, 2024
With the upcoming rework on the New Flow aspect of Kaoto, the existing
functionality will be only used in the Empty State, therefore, we're
moving those files to be a subcomponent of said component.

relates: KaotoIO#1030
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 25, 2024
In order to create new entities, a DSL Slector component needs to be
added.

This commit adds said component divided in 3 sections:

1. `ChangeDSLModal`: A modal to warn the user whenever the DSL is being
   changed since the existing integration will be removed
2. `DSLSelectorToggle`: The DSL Button itself
3. `DSLSelector`: The main entrypoint for the DSL Selector, this
   component is in charge of combining both `DSLSelectorToggle` and the
`ChangeDSLModal` components

relates: KaotoIO#1030
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 25, 2024
In order to create new entities, a DSL Slector component needs to be
added.

This commit adds said component divided in 3 sections:

1. `ChangeDSLModal`: A modal to warn the user whenever the DSL is being
   changed since the existing integration will be removed
2. `DSLSelectorToggle`: The DSL Button itself
3. `DSLSelector`: The main entrypoint for the DSL Selector, this
   component is in charge of combining both `DSLSelectorToggle` and the
`ChangeDSLModal` components

relates: KaotoIO#1030
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 25, 2024
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 25, 2024
In order to simplify the construction of new entities, we need to
provide a default parameter to the constructor, so the entities can be
created on its own.

Related entities:
* ErrorHandler
* Intercept
* InterceptFrom
* InterceptSendToEndpoint
* OnCompletion
* OnException
* RestConfiguration
* RouteConfiguration

relates: KaotoIO#1030
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 25, 2024
With the upcoming rework on the New Flow aspect of Kaoto, the existing
functionality will be only used in the Empty State, therefore, we're
moving those files to be a subcomponent of said component.

relates: KaotoIO#1030
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 25, 2024
In order to create new entities, a DSL Slector component needs to be
added.

This commit adds said component divided in 3 sections:

1. `ChangeDSLModal`: A modal to warn the user whenever the DSL is being
   changed since the existing integration will be removed
2. `DSLSelectorToggle`: The DSL Button itself
3. `DSLSelector`: The main entrypoint for the DSL Selector, this
   component is in charge of combining both `DSLSelectorToggle` and the
`ChangeDSLModal` components

relates: KaotoIO#1030
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 25, 2024
lordrip added a commit that referenced this issue Apr 26, 2024
In order to simplify the construction of new entities, we need to
provide a default parameter to the constructor, so the entities can be
created on its own.

Related entities:
* ErrorHandler
* Intercept
* InterceptFrom
* InterceptSendToEndpoint
* OnCompletion
* OnException
* RestConfiguration
* RouteConfiguration

relates: #1030
lordrip added a commit that referenced this issue Apr 26, 2024
In order to create new entities, a DSL Slector component needs to be
added.

This commit adds said component divided in 3 sections:

1. `ChangeDSLModal`: A modal to warn the user whenever the DSL is being
   changed since the existing integration will be removed
2. `DSLSelectorToggle`: The DSL Button itself
3. `DSLSelector`: The main entrypoint for the DSL Selector, this
   component is in charge of combining both `DSLSelectorToggle` and the
`ChangeDSLModal` components

relates: #1030
lordrip added a commit that referenced this issue Apr 26, 2024
With the upcoming rework on the New Flow aspect of Kaoto, the existing
functionality will be only used in the Empty State, therefore, we're
moving those files to be a subcomponent of said component.

relates: #1030
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 26, 2024
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 26, 2024
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 29, 2024
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 29, 2024
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 29, 2024
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 30, 2024
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 30, 2024
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 30, 2024
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 30, 2024
lordrip added a commit to lordrip/kaoto that referenced this issue Apr 30, 2024
Currently, setting the current DSL and creating a new entity are tied
together in a single step in the NewFlow component.

This commit split that functionality in two separate buttons:
1. DSL Selector: Meant to choose the current DSL and therefore determine
   which type of entities can be added into the Canvas
2. NewEntity: This is for adding new entities, supported by the current
   DSL, or said in a different way, allows to add entities from the
current CamelResource registry.

The existing functionality from the CanvasEmptyState is preserved for
now.

In addition to that, when removing all routes, a new route won't be
created by default.

fix: KaotoIO#1030
lordrip added a commit to lordrip/kaoto that referenced this issue May 2, 2024
Currently, setting the current DSL and creating a new entity are tied
together in a single step in the NewFlow component.

This commit split that functionality in two separate buttons:
1. DSL Selector: Meant to choose the current DSL and therefore determine
   which type of entities can be added into the Canvas
2. NewEntity: This is for adding new entities, supported by the current
   DSL, or said in a different way, allows to add entities from the
current CamelResource registry.

The existing functionality from the CanvasEmptyState is preserved for
now.

In addition to that, when removing all routes, a new route won't be
created by default.

fix: KaotoIO#1030
lordrip added a commit to lordrip/kaoto that referenced this issue May 2, 2024
Currently, setting the current DSL and creating a new entity are tied
together in a single step in the NewFlow component.

This commit split that functionality in two separate buttons:
1. DSL Selector: Meant to choose the current DSL and therefore determine
   which type of entities can be added into the Canvas
2. NewEntity: This is for adding new entities, supported by the current
   DSL, or said in a different way, allows to add entities from the
current CamelResource registry.

The existing functionality from the CanvasEmptyState is preserved for
now.

In addition to that, when removing all routes, a new route won't be
created by default.

fix: KaotoIO#1030
lordrip added a commit to lordrip/kaoto that referenced this issue May 2, 2024
Currently, setting the current DSL and creating a new entity are tied
together in a single step in the NewFlow component.

This commit split that functionality in two separate buttons:
1. DSL Selector: Meant to choose the current DSL and therefore determine
   which type of entities can be added into the Canvas
2. NewEntity: This is for adding new entities, supported by the current
   DSL, or said in a different way, allows to add entities from the
current CamelResource registry.

The existing functionality from the CanvasEmptyState is preserved for
now.

In addition to that, when removing all routes, a new route won't be
created by default.

fix: KaotoIO#1030
lordrip added a commit that referenced this issue May 2, 2024
Currently, setting the current DSL and creating a new entity are tied
together in a single step in the NewFlow component.

This commit split that functionality in two separate buttons:
1. DSL Selector: Meant to choose the current DSL and therefore determine
   which type of entities can be added into the Canvas
2. NewEntity: This is for adding new entities, supported by the current
   DSL, or said in a different way, allows to add entities from the
current CamelResource registry.

The existing functionality from the CanvasEmptyState is preserved for
now.

In addition to that, when removing all routes, a new route won't be
created by default.

fix: #1030
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
canvas/visualization Canvas-related issues enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant