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: add link event data in ShapeBpmnSemantic #2911

Merged
merged 19 commits into from
Oct 13, 2023

Conversation

csouchet
Copy link
Member

@csouchet csouchet commented Oct 3, 2023

Add new linkEventSourceIds an linkEventTargetId properties in ShapeBpmnSemantic to include data related to the link events that are stored in the internal model.

Closes #2855

@csouchet csouchet added enhancement New feature or request depends on another PR ⚠️ Pull request depending on another one. The depending must be merged first labels Oct 3, 2023
@github-actions
Copy link

github-actions bot commented Oct 3, 2023

♻️ PR Preview 267407d has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

@github-actions
Copy link

github-actions bot commented Oct 3, 2023

♻️ PR Preview 267407d has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

@csouchet csouchet added the WIP 🚧 Pull request in progress and/or not ready for review. Used in addition to marking it as draft label Oct 3, 2023
@csouchet csouchet force-pushed the 2855-link_event_in_BPMN_Semantic_data branch from fd8932a to 3fda80f Compare October 4, 2023 09:17
@csouchet csouchet removed the depends on another PR ⚠️ Pull request depending on another one. The depending must be merged first label Oct 4, 2023
@csouchet csouchet force-pushed the 2855-link_event_in_BPMN_Semantic_data branch 6 times, most recently from 1d3a399 to abddef3 Compare October 4, 2023 16:36
@csouchet csouchet removed the WIP 🚧 Pull request in progress and/or not ready for review. Used in addition to marking it as draft label Oct 4, 2023
@csouchet csouchet force-pushed the 2855-link_event_in_BPMN_Semantic_data branch from abddef3 to 763f44e Compare October 4, 2023 16:45
@csouchet csouchet requested a review from tbouffard October 4, 2023 16:45
@csouchet csouchet marked this pull request as ready for review October 4, 2023 16:46
Copy link
Member

@tbouffard tbouffard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ This PR is very large so I probably miss some elements. I expected to have one PR for the parsing and another one for enriching the API to make my review easier. Please think about it for the next time (for this one, we can live with the current content).
It covers at least 3 topics which is too much IMHO: parsing (including required refactoring), enrichment of objects returned by APIs, style changes.
✔️ The implementation seems to do the job
❌ Extra style identifiers to be removed as they are not used at all in the rendering code (next time, feel free to contact me in advance)
❌ Various improvements to apply in particular in the test code

src/component/mxgraph/renderer/StyleComputer.ts Outdated Show resolved Hide resolved
src/component/registry/types.ts Outdated Show resolved Hide resolved
src/model/bpmn/internal/shape/utils.ts Outdated Show resolved Hide resolved
test/integration/model.elements.api.test.ts Show resolved Hide resolved
test/unit/component/registry/bpmn-model-registry.test.ts Outdated Show resolved Hide resolved
test/integration/dom.bpmn.elements.test.ts Show resolved Hide resolved
src/component/registry/types.ts Outdated Show resolved Hide resolved
src/model/bpmn/internal/shape/utils.ts Outdated Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thought: New content OK from the BPMN semantic point of view

image

@csouchet csouchet marked this pull request as draft October 12, 2023 14:53
@csouchet csouchet added the depends on another PR ⚠️ Pull request depending on another one. The depending must be merged first label Oct 12, 2023
@csouchet csouchet force-pushed the 2855-link_event_in_BPMN_Semantic_data branch from 691fa80 to c57a44d Compare October 12, 2023 15:12
csouchet and others added 5 commits October 13, 2023 08:26
# Conflicts:
#	test/integration/model.elements.api.test.ts
# Conflicts:
#	test/fixtures/bpmn/registry/1-pool-3-lanes-message-start-end-intermediate-events.bpmn
#	test/integration/dom.bpmn.elements.test.ts
#	test/integration/helpers/semantic-with-svg-utils.ts
@tbouffard tbouffard force-pushed the 2855-link_event_in_BPMN_Semantic_data branch from 05080a6 to 267407d Compare October 13, 2023 06:49
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@tbouffard tbouffard removed the depends on another PR ⚠️ Pull request depending on another one. The depending must be merged first label Oct 13, 2023
@tbouffard tbouffard marked this pull request as ready for review October 13, 2023 07:00
@tbouffard tbouffard merged commit 3d52258 into master Oct 13, 2023
27 checks passed
@tbouffard tbouffard deleted the 2855-link_event_in_BPMN_Semantic_data branch October 13, 2023 07:01
@tbouffard tbouffard added the BPMN diagram usability Something about the way we can interact with BPMN diagrams label Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BPMN diagram usability Something about the way we can interact with BPMN diagrams enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] Provide more information for link event in BPMN Semantic data
2 participants