Skip to content

Conversation

@tbouffard
Copy link
Member

@tbouffard tbouffard commented Jun 19, 2025

The original ShapeUtil.flowNodeKinds() method from bpmn-visualization includes BPMN artifacts.
So use a convenient method from bv-addons to workaround the problem.

@tbouffard tbouffard self-assigned this Jun 19, 2025
@tbouffard tbouffard added the refactoring Code refactoring label Jun 19, 2025
@tbouffard tbouffard force-pushed the refactor/vue_use_new_bv-addons_methods branch from 7424332 to b367f8d Compare August 27, 2025 12:41
…tion

Bump bpmn-visualization-addons from 0.8.0 to 0.9.0
@tbouffard tbouffard force-pushed the refactor/vue_use_new_bv-addons_methods branch from b367f8d to cece3a7 Compare August 27, 2025 12:42
@github-actions
Copy link

github-actions bot commented Aug 27, 2025

🎊 PR Preview 842073f has been successfully built and deployed to https://process-analytics-bpmn-visualization-examples-pr_preview-pr-624.surge.sh

🕐 Build time: 0.01s

🤖 By surge-preview

@tbouffard tbouffard marked this pull request as ready for review August 27, 2025 12:49
@tbouffard tbouffard changed the title refactor(vue): use new bpmn-visualization-addons methods to simply refactor(vue): use new bpmn-visualization-addons methods to simplify Sep 24, 2025
@tbouffard tbouffard requested a review from Copilot September 24, 2025 12:54
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Refactors the Vue project to use updated methods from bpmn-visualization-addons to properly filter flow nodes by excluding BPMN artifacts, which were incorrectly included by the original ShapeUtil.flowNodeKinds() method.

  • Updates dependency to bpmn-visualization-addons v0.9.0 to access new filtering methods
  • Replaces manual artifact filtering with ShapeUtil.isFlowNode() method for cleaner code
  • Extracts repeated fit options into a reusable constant

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
projects/typescript-vue/src/app.vue Refactors flow node filtering logic and extracts fit options constant
projects/typescript-vue/package.json Updates bpmn-visualization-addons dependency to v0.9.0

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@tbouffard
Copy link
Member Author

Converted to draft to integrate review feedback

@tbouffard tbouffard marked this pull request as draft September 25, 2025 13:15
@tbouffard tbouffard marked this pull request as ready for review September 25, 2025 13:28
@tbouffard tbouffard merged commit d20bd4a into master Sep 25, 2025
19 checks passed
@tbouffard tbouffard deleted the refactor/vue_use_new_bv-addons_methods branch September 25, 2025 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring Code refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants