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: render annotation + association defined in "collaboration” #3200

Merged

Conversation

tbouffard
Copy link
Member

@tbouffard tbouffard commented Oct 23, 2024

The change involve introducing utility functions into tests to simplify the writing of code for setup and expectation in JSON parsing tests.
Also fix some collaborators' documentation about the BPMN support.

Notes

closes #2635
closes #2637

before (from #2635) now bpmn-js
associations and annotations 06 defined in collaboration associations and annotations 06 defined in collaboration bpmn_text-annotation_collaboration_2024-10-18_06-41-02

Also detect associations
Fix some documentation
WIP add test to reproduce the current behavior - improve types

test association: comment unused code

association test: refactor to introduce utility function

test association: add tests to reproduce the current behaviour

association: add CollaborationConverter.ts buildAssociationFlows

association: implem

test association: various refactorings

extract function

association: add TODO

association tests: clean commented code

association tests: check both collaboration and process

association: simplify tests

bpmn-model-expect.ts: update comment

association: ProcessConverter.ts - remove extra method
WIP refactor test text annotation

WIP refactor test text annotation: avoid bounds duplication

WIP refactor test text annotation: avoid bounds duplication - improve signature of util function

WIP refactor test text annotation: avoid bounds duplication - more usage

WIP refactor test text annotation: avoid bounds duplication - rename util function

test text annotation: single in collaboration

text annotation: 1st implementation

test text annotation: arrays in collaboration

test text annotation: refactor

test text annotation: refactor (not pass shapeId to utility function)

text annotation: fix test title

text annotation: remove commented code + add TODO

text annotation tests: check incomings and outgoings

text annotation tests: check incomings and outgoings - refactor

text annotation: CollaborationConverter.ts - remove commented code

text annotation: refactor CollaborationConverter.ts
@tbouffard tbouffard added enhancement New feature or request BPMN support Something about the BPMN specification that the lib is already supporting or will support labels Oct 23, 2024
Copy link

github-actions bot commented Oct 23, 2024

🎊 PR Preview 38a81e1 has been successfully built and deployed to https://process-analytics-bpmn-visualization-js-demo_preview-pr-3200.surge.sh

🕐 Build time: 0.011s

🤖 By surge-preview

Copy link

github-actions bot commented Oct 23, 2024

🎊 PR Preview 38a81e1 has been successfully built and deployed to https://process-analytics-bpmn-visualization-js-doc_preview-pr-3200.surge.sh

🕐 Build time: 0.01s

🤖 By surge-preview

Copy link

@tbouffard
Copy link
Member Author

ℹ️ The issue spotted by SonarCloud (remaining TODO) has been fixed in 44e0156

@tbouffard tbouffard marked this pull request as ready for review October 23, 2024 12:53
@tbouffard tbouffard requested a review from csouchet October 23, 2024 12:53
@tbouffard tbouffard changed the title feat: render annotation and association defined in "collaboration” feat: render annotation + association defined in "collaboration” Oct 23, 2024
@tbouffard tbouffard merged commit df835be into master Oct 23, 2024
2 checks passed
@tbouffard tbouffard deleted the feat/2635-2637_text-annotation_defined_in_collaboration branch October 23, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BPMN support Something about the BPMN specification that the lib is already supporting or will support enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] Display Association related to Pool [FEAT] Display Text Annotation related to Pool
2 participants