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

Bump @zenuml/core and update render options in mermaid-zenuml #5257

Merged

Conversation

dontry
Copy link
Contributor

@dontry dontry commented Feb 1, 2024

📑 Summary

This PR bumps @zenuml/core dependency for mermaid-zenuml package and updates the zenuml render options.

📏 Design Decisions

This PR aims to resolve the mermaid-zenuml render issue introduced by the incompatibility of new versions.

Before
mermaid-zenuml-before

After
mermaid-zenuml-after

📋 Tasks

Make sure you

Copy link

netlify bot commented Feb 1, 2024

Deploy Preview for mermaid-js ready!

Name Link
🔨 Latest commit de5f59c
🔍 Latest deploy log https://app.netlify.com/sites/mermaid-js/deploys/65bf58f8bcf7010008e74c8e
😎 Deploy Preview https://deploy-preview-5257--mermaid-js.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions github-actions bot added the Type: Enhancement New feature or request label Feb 1, 2024
Copy link

codecov bot commented Feb 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3b5cb02) 43.22% compared to head (de5f59c) 43.22%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #5257   +/-   ##
========================================
  Coverage    43.22%   43.22%           
========================================
  Files           23       23           
  Lines         5037     5037           
  Branches        23       23           
========================================
  Hits          2177     2177           
  Misses        2859     2859           
  Partials         1        1           
Flag Coverage Δ
unit 43.22% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@dontry
Copy link
Contributor Author

dontry commented Feb 3, 2024

Hi @sidharthv96, the pipeline failed due to discrepancies in visual testing. These differences are expected since we made minor changes to the diagram styles. Can you advise on how I could update the snapshots? Thanks

@sidharthv96
Copy link
Member

sidharthv96 commented Feb 3, 2024

Currently in GH Actions, we rely on images taken directly from the run of target branch, so there is no way to update the snapshots.

I'll verify the failures and merge it if there are no other issues :)

Can you please resolve the merge conflicts?

@dontry dontry force-pushed the feature/upgrade-zenuml-package branch from 7d6af74 to de5f59c Compare February 4, 2024 09:29
@dontry
Copy link
Contributor Author

dontry commented Feb 4, 2024

@sidharthv96 I've resolved the conflicts. Could you have a look again? Thanks heaps.

@sidharthv96 sidharthv96 merged commit b043d79 into mermaid-js:develop Feb 4, 2024
19 of 20 checks passed
Copy link

mermaid-bot bot commented Feb 4, 2024

@dontry, Thank you for the contribution!
You are now eligible for a year of Premium account on MermaidChart.
Sign up with your GitHub account to activate.

sidharthv96 added a commit that referenced this pull request Feb 11, 2024
* develop: (124 commits)
  chore(deps): update all patch dependencies
  fix typo cutomers => customers
  chore(deps): update all minor dependencies
  Fix macOS onboarding issues
  Bump @zenuml/core and update render options in mermaid-zenuml (#5257)
  Fixed Typo in ErrorRenderer.ts (#5256)
  #3358 Removing redundant file
  #3358 Fix after review
  Fix selector
  #3358 Renaming of IOperation to ActionFun
  chore: Add interface naming
  build(deps-dev): bump vite from 4.4.12 to 4.5.2
  Update container
  Update container
  Remove pnpm cache
  3358 Adding types for blockArrowHelper
  #3358n Updated lockfile
  Update docs
  #3358 Another set of review changes
  Use `.node-version` file in workflows
  ...
sidharthv96 added a commit to Yokozuna59/mermaid that referenced this pull request Feb 11, 2024
* next: (118 commits)
  Update Deps
  chore(deps): update all patch dependencies
  fix typo cutomers => customers
  chore(deps): update all minor dependencies
  Fix macOS onboarding issues
  Bump @zenuml/core and update render options in mermaid-zenuml (mermaid-js#5257)
  Fixed Typo in ErrorRenderer.ts (mermaid-js#5256)
  mermaid-js#3358 Removing redundant file
  mermaid-js#3358 Fix after review
  Fix selector
  mermaid-js#3358 Renaming of IOperation to ActionFun
  chore: Add interface naming
  build(deps-dev): bump vite from 4.4.12 to 4.5.2
  Update container
  Update container
  Remove pnpm cache
  3358 Adding types for blockArrowHelper
  #3358n Updated lockfile
  Update docs
  mermaid-js#3358 Another set of review changes
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants