-
Notifications
You must be signed in to change notification settings - Fork 29
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): Use path
+scope
as VizNode ID
#1699
Draft
lordrip
wants to merge
1
commit into
KaotoIO:main
Choose a base branch
from
lordrip:fix/ensure-viznode-id-2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
+812
−457
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1699 +/- ##
============================================
+ Coverage 78.62% 78.92% +0.30%
Complexity 365 365
============================================
Files 439 461 +22
Lines 14234 14509 +275
Branches 2769 2774 +5
============================================
+ Hits 11191 11451 +260
- Misses 2954 2969 +15
Partials 89 89 ☔ View full report in Codecov by Sentry. |
lordrip
force-pushed
the
fix/ensure-viznode-id-2
branch
2 times, most recently
from
December 13, 2024 14:37
90f234f
to
548d4fa
Compare
lordrip
added a commit
to lordrip/kaoto
that referenced
this pull request
Dec 16, 2024
Currently, the component name is being used as the title in the `CanvasForm`. This commit uses the corresponding `Title` property if available from components, eips and kamelets, and the `ID` as a last resort. fix: KaotoIO#1462 prerequisite of: KaotoIO#1699
lordrip
added a commit
to lordrip/kaoto
that referenced
this pull request
Dec 16, 2024
Currently, the component name is being used as the title in the `CanvasForm`. This commit uses the corresponding `Title` property if available from components, eips and kamelets, and the `ID` as a last resort. fix: KaotoIO#1462 prerequisite of: KaotoIO#1699
lordrip
added a commit
to lordrip/kaoto
that referenced
this pull request
Dec 16, 2024
Currently, the component name is being used as the title in the `CanvasForm`. This commit uses the corresponding `Title` property if available from components, eips and kamelets, and the `ID` as a last resort. fix: KaotoIO#1462 prerequisite of: KaotoIO#1699
lordrip
added a commit
to lordrip/kaoto
that referenced
this pull request
Dec 16, 2024
Currently, the component name is being used as the title in the `CanvasForm`. This commit uses the corresponding `Title` property if available from components, eips and kamelets, and the `ID` as a last resort. fix: KaotoIO#1462 prerequisite of: KaotoIO#1699
lordrip
added a commit
to lordrip/kaoto
that referenced
this pull request
Dec 16, 2024
Currently, the component name is being used as the title in the `CanvasForm`. This commit uses the corresponding `Title` property if available from components, eips and kamelets, and the `ID` as a last resort. fix: KaotoIO#1462 prerequisite of: KaotoIO#1699
lordrip
force-pushed
the
fix/ensure-viznode-id-2
branch
from
December 16, 2024 12:54
548d4fa
to
021c488
Compare
lordrip
added a commit
to lordrip/kaoto
that referenced
this pull request
Dec 16, 2024
Currently, the component name is being used as the title in the `CanvasForm`. This commit uses the corresponding `Title` property if available from components, eips and kamelets, and the `ID` as a last resort. fix: KaotoIO#1462 prerequisite of: KaotoIO#1699
Currently, when transforming a flow into `VisualizationNodes`, the nodes `Id`s are randomly generated, causing that whenever there's a change in the structure of the flow, previous `Id`s change. This commit uses the `path` + `scope` so the `VisualizationNodes` IDs are stable between interacting with the flow.
lordrip
force-pushed
the
fix/ensure-viznode-id-2
branch
from
December 17, 2024 08:13
021c488
to
f30edb3
Compare
Quality Gate passedIssues Measures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
Currently, when transforming a flow into
VisualizationNodes
, the nodesId
s are randomly generated, causing that whenever there's a change in the structure of the flow, previousId
s change.Changes
This commit uses the
path
+scope
so theVisualizationNodes
IDs are stable between interacting with the flow.