-
-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
6262 - Fixed faces positioning in journey diagram #6263
base: develop
Are you sure you want to change the base?
6262 - Fixed faces positioning in journey diagram #6263
Conversation
|
✅ Deploy Preview for mermaid-js ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
commit: |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #6263 +/- ##
==========================================
- Coverage 4.47% 4.47% -0.01%
==========================================
Files 385 385
Lines 54191 54196 +5
Branches 598 598
==========================================
Hits 2425 2425
- Misses 51766 51771 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@sidarthv96 Hey Sid! Our team (@nghtlinh @megantriplett @udvale) has been working on issue #6262. We added an alert dialog to let users know that the valid task score range for the journey diagram is 1-5. Also, we set the height for all tasks to 300. Does this match Mermaid's expected behavior? Let us know if you have any suggestions! ![]() |
📑 Summary
This PR addresses the issue where faces in the Journey Diagram were not constrained below the horizontal activity line. Additionally, it resolves the problem of faces accepting non-integer and negative values.
Resolves #6262
📏 Design Decisions
Before:
![image](https://private-user-images.githubusercontent.com/112495885/413464561-9d45d202-602f-4451-89f2-b57af9fc36a9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTEzMjEsIm5iZiI6MTczOTYxMTAyMSwicGF0aCI6Ii8xMTI0OTU4ODUvNDEzNDY0NTYxLTlkNDVkMjAyLTYwMmYtNDQ1MS04OWYyLWI1N2FmOWZjMzZhOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBV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nrdpOPfJ5eUxTpy3Ic)
![image](https://private-user-images.githubusercontent.com/112495885/413465922-514b33b8-af01-4ba4-aca5-065d91d564ea.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTEzMjEsIm5iZiI6MTczOTYxMTAyMSwicGF0aCI6Ii8xMTI0OTU4ODUvNDEzNDY1OTIyLTUxNGIzM2I4LWFmMDEtNGJhNC1hY2E1LTA2NWQ5MWQ1NjRlYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQwOTE3MDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iYzVhNWZmZmYwMThkNjEyNzAyODhlNzgwMzM3ZWRjNWRlZDBhNGI2YjE5ODFiZDY2ZjhjM2RiYzZlOWExZDg4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.rTv6fD05c37KL2ldrbmqan7vjRKby_nZY2z7f2_OL04)
📋 Tasks
Make sure you
MERMAID_RELEASE_VERSION
is used for all new features.pnpm changeset
and following the prompts. Changesets that add features should beminor
and those that fix bugs should bepatch
. Please prefix changeset messages withfeat:
,fix:
, orchore:
.