Skip to content

refactor: simplify registration of style definitions#3334

Merged
tbouffard merged 2 commits intomasterfrom
refactor/style_def_simplification
May 21, 2025
Merged

refactor: simplify registration of style definitions#3334
tbouffard merged 2 commits intomasterfrom
refactor/style_def_simplification

Conversation

@tbouffard
Copy link
Copy Markdown
Member

@tbouffard tbouffard commented May 21, 2025

Use functions instead of classes.
bpmn-visualization doesn't provide extension points for the registration, so using internal functions is simpler than having classes with a single method.

EXTRA: in the CI workflow running the e2e tests, temporarily exclude running tests with Chrome on ubuntu as they fail.
This will be fixed later by adujsting the failure thresholds and/or bumping playwright.

Notes

This is based on improvements detected during the maxGraph migration evaluation. See #3238

Use functions instead of classes.
bpmn-visualization doesn't provide extension points for the registration, so using internal functions is simpler than having classes with a single method.
@tbouffard tbouffard added the refactoring Code refactoring label May 21, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 21, 2025

♻️ PR Preview 5c50faa has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 21, 2025

♻️ PR Preview 5c50faa has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

@sonarqubecloud
Copy link
Copy Markdown

@tbouffard tbouffard merged commit fd7eef0 into master May 21, 2025
24 checks passed
@tbouffard tbouffard deleted the refactor/style_def_simplification branch May 21, 2025 07:35
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.

1 participant