-
Notifications
You must be signed in to change notification settings - Fork 185
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
kie-issues#886: On the DMN Editor, adding waypoints to edges that don't have a corresponding DMNEdge associated with it should create the DMNEdge and add the waypoint normally #2546
Merged
Merged
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
efa4577
kie-issues#886 On the DMN Editor, adding waypoints to edges that don'…
jomarko 8eac192
Merge branch 'main' into kie-issues#886
jomarko 7a79145
information requirement tests
jomarko de4b79f
add TODO tasks
jomarko 5b1f21f
incorporate review feedback - @_href
jomarko 05c48a2
drgNodes.toggle
jomarko dc80ddc
add tests
jomarko 94db899
add missing test screenshots
jomarko 8cfc2f5
cleanup spec.ts javadoc
jomarko eadc55e
Cleanup Diagram.tsx
jomarko b25ca85
addEdge in usePotentialWaypointControls
jomarko babe9a2
add logs
jomarko c2cbace
display waypoints on the edges targetting external nodes
jomarko 632adeb
create DMNEdge targeting external node
jomarko f650d0a
Merge branch 'main' into kie-issues#886
jomarko d95740b
dmnElementRef in format [namespace]:[id]
jomarko ff2c7fc
documentation
jomarko 77c96e5
Merge branch 'main' into kie-issues#886
jomarko fb13967
Merge branch 'main' into kie-issues#886
jomarko dda9611
allowExternalTarget refactoring
jomarko ba8b40d
remove target.qname.prefix usage
jomarko e3d0b79
remove non used code
jomarko 4ea5a26
remove addEdgeTargetingExternal
jomarko 8a2b8eb
Merge branch 'main' into kie-issues#886
jomarko 411814d
fix onConnect
jomarko 5bad3f8
fix deleteEdge
jomarko 8b98787
Object.entries
jomarko 3de7056
fix typo
jomarko b28961d
logs
jomarko 1b7d807
simplified null checks
jomarko dd67a91
Merge branch 'main' into kie-issues#886
jomarko 302ec19
review feedback
jomarko cb56865
review feedback
jomarko 63c9187
remove extraArg
jomarko 269d5a5
Merge branch 'main' into kie-issues#886
jomarko 20ebd51
MUTATION -> DIAGRAM
jomarko e5eb1a0
Update packages/dmn-editor/src/diagram/edges/usePotentialWaypointCont…
jomarko f4207a8
Update packages/dmn-editor/src/diagram/edges/usePotentialWaypointCont…
jomarko bc8495e
targetsExternalNode
jomarko 1da182f
throw error
jomarko 4ac0a99
is valid connection
jomarko 8eaa8b9
dmnEdgeIndex
jomarko 6d6cc5b
incorporate review feedback
jomarko 9be924f
Merge branch 'main' into kie-issues#886
jomarko a5044c8
fix != vs !==
jomarko d3fc589
Revert "incorporate review feedback"
jomarko 79f64d2
incorporate review feedback - v2
jomarko 38ce320
Merge branch 'main' into kie-issues#886
jomarko 006000e
fix deleteEdge
jomarko 3a77fd3
resolve conflicts with main
jomarko 5ea16c2
Remove unnecessary Hook dependency
tiagobento File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
*/ | ||
|
||
import { switchExpression } from "@kie-tools-core/switch-expression-ts"; | ||
import { DmnBuiltInDataType, generateUuid } from "@kie-tools/boxed-expression-component/dist/api"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've been doing that kind of cleanup every time I see it. Nice! |
||
import { generateUuid } from "@kie-tools/boxed-expression-component/dist/api"; | ||
import { DC__Bounds, DMN15__tDefinitions } from "@kie-tools/dmn-marshaller/dist/schemas/dmn-1_5/ts-gen/types"; | ||
import { NodeType } from "../diagram/connections/graphStructure"; | ||
import { NODE_TYPES } from "../diagram/nodes/NodeTypes"; | ||
|
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this is in draft, but let me tell you already that using "endsWith" is not the way to go here.
hrefs
are structured strings, composed by anamespace
and anid
. They have this format:#id
; ornamespace#id
; wherenamespace
is an URL.We have a special parsing method to treat those and separate
namespace
andid
. SeeparseXmlHref
.