-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
chore: Convert StateDB to TS #6296
base: develop
Are you sure you want to change the base?
Conversation
* develop: Added changeset. refactor: handle StateDB `.extract()` properly
🦋 Changeset detectedLatest commit: 5abda14 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for mermaid-js ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
commit: |
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #6296 +/- ##
=======================================
Coverage 4.46% 4.46%
=======================================
Files 384 384
Lines 54264 54259 -5
Branches 623 597 -26
=======================================
Hits 2425 2425
+ Misses 51839 51834 -5
Flags with carried forward coverage won't be shown. Click here to find out more.
|
* develop: chore: Remove deprecated rule chore(deps): update eslint chore: Add tslib chore(deps): update eslint chore: Minor refactor chore: Update actions/cache chore: Update actions/cache added changeset added test cases to check state diagram direction fix: CodeQL double escape warning refatored code chore(deps): update eslint Fix: state diagram default direction update [autofix.ci] apply automated fixes fix(deps): update all patch dependencies
f48e5c5
to
bb4b92a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
labelStyle: '', | ||
shape: SHAPE_NOTE, | ||
label: parsedItem.note.text, | ||
cssClasses: CSS_DIAGRAM_NOTE, | ||
// useHtmlLabels: false, | ||
cssStyles: [], | ||
cssCompilesStyles: [], | ||
cssCompiledStyles: [], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have we made sure this change will not affect anything?
id: itemId + NOTE_ID + '-' + graphItemCount, | ||
domId: stateDomId(itemId, graphItemCount, NOTE), | ||
type: newNode.type, | ||
isGroup: newNode.type === 'group', | ||
padding: getConfig().flowchart.padding, | ||
padding: getConfig().flowchart!.padding, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if there is a way to avoid !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be add ?
instead?
📑 Summary
Convert stateDB and datafetcher into TS.
📏 Design Decisions
Describe the way your implementation works or what design decisions you made if applicable.
📋 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:
.