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(303): persist visible flows when switching tabs #541

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

tplevko
Copy link
Contributor

@tplevko tplevko commented Dec 8, 2023

resolves #303

vokoscreenNG-2023-12-08_16-08-46.mp4

@igarashitm igarashitm merged commit a01f9ff into KaotoIO:main Dec 8, 2023
6 checks passed
lordrip added a commit to lordrip/kaoto that referenced this pull request Dec 12, 2023
Currently, when VSCode switch from one integration type to another, for
instance, going from a Camel Route to a Kamelet, this change is not
persisted until a property is changed.

This happens because the KaotoBridge is not subscribed to the
`code:updated` event and this is used when changing from one integration
type to another.

The fix is to subscribe to that envent. In addition to that, since [this
PR](KaotoIO#541), the
`VisibleFlowsProvider` was removed from the `Visualization` component,
hence it was breaking the VSCode integration. This PR also adds it to
the `KaotoBridge`

fixes: KaotoIO#402
lordrip added a commit to lordrip/kaoto that referenced this pull request Dec 15, 2023
Currently, when VSCode switch from one integration type to another, for
instance, going from a Camel Route to a Kamelet, this change is not
persisted until a property is changed.

This happens because the KaotoBridge is not subscribed to the
`code:updated` event and this is used when changing from one integration
type to another.

The fix is to subscribe to that envent. In addition to that, since [this
PR](KaotoIO#541), the
`VisibleFlowsProvider` was removed from the `Visualization` component,
hence it was breaking the VSCode integration. This PR also adds it to
the `KaotoBridge`

fixes: KaotoIO#402
lordrip added a commit that referenced this pull request Dec 15, 2023
Currently, when VSCode switch from one integration type to another, for
instance, going from a Camel Route to a Kamelet, this change is not
persisted until a property is changed.

This happens because the KaotoBridge is not subscribed to the
`code:updated` event and this is used when changing from one integration
type to another.

The fix is to subscribe to that envent. In addition to that, since [this
PR](#541), the
`VisibleFlowsProvider` was removed from the `Visualization` component,
hence it was breaking the VSCode integration. This PR also adds it to
the `KaotoBridge`

fixes: #402
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.

Route visibility is not persisted
2 participants