Sidharth Vinod
74c503204d
Merge pull request #4857 from aloisklink/build/update-@typescript-eslint-to-v6
...
chore(dev-deps): update `@typescript-eslint/*` plugins to v6 (major)
2023-09-21 06:17:18 +00:00
Reda Al Sulais
6f05bf0846
chore: implement actual huge code correctly
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-09-21 01:26:40 +03:00
Reda Al Sulais
048dc07a90
chore: add comment on why we skip flow
huge
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-09-21 01:23:00 +03:00
Hans Blankenhaus
a83fab28e1
center labels: removed condition
2023-09-20 22:56:45 +02:00
Reda Al Sulais
8c31db6352
Merge branch 'next' into add-pie-langium-parser
2023-09-20 17:56:36 +03:00
Reda Al Sulais
91eb824c21
Merge branch 'develop' into next
...
Signed-off-by: Reda Al Sulais <u.yokozuna@gmail.com>
2023-09-20 17:55:20 +03:00
Subhash Halder
f56796c7cf
Fix a review request in the docs
2023-09-20 19:57:48 +05:30
Reda Al Sulais
fc3a8902c0
chore: shorten flow-huge test case using repeat
2023-09-20 16:59:55 +03:00
dreathed
00e66c48b8
Merge branch 'develop' into bug/4391_make_markdown_auto_wrapping_optional
2023-09-19 20:08:36 +02:00
Hans Blankenhaus
589f90762a
change congig.schema.yaml for consistency
2023-09-19 19:24:16 +02:00
Hans Blankenhaus
f256a57f27
again correction to documentation
2023-09-19 18:16:23 +02:00
Hans Blankenhaus
1102bf271d
corrected documentation
2023-09-19 18:12:57 +02:00
Hans Blankenhaus
b561d5ad9a
removed commented out code
2023-09-19 18:00:48 +02:00
Hans Blankenhaus
a5cb58ca96
add flowchart documentation
2023-09-19 17:59:35 +02:00
Hans Blankenhaus
0af77a3c2c
optional auto wrapping for markdownToLines
2023-09-19 17:57:59 +02:00
Subhash Halder
f01f2dfcef
Fix formatting in doc file
2023-09-19 21:18:06 +05:30
Subhash Halder
e56effa029
Merge branch 'develop' into feature/4269_add_xychart
2023-09-19 21:16:52 +05:30
Subhash Halder
e061489b84
Added review changes
2023-09-19 21:09:31 +05:30
Hans Blankenhaus
a75d14f5d0
removed commented out code
2023-09-19 17:03:47 +02:00
Alois Klink
d4289e8db7
chore(dev-deps): update @typescript-eslint to v6
...
Update the `@typescript-eslint/eslint-plugin` and
`@typescript-eslint/parser` plugin to v6.
The full list of changes needed can be found in the
[Announcing typescript-eslint v6 blog post][1], but the ones that
affect us are:
- Dropped support for Node.JS v14.
This isn't a big deal for us, since Mermaid uses a version of
`eslint-plugin-jsdoc` that does not support Node.JS v14 either,
see 120029913d31668e45daa84f7de70dfa519f3b81
(chore(deps): update dependency eslint-plugin-jsdoc to v46, 2023-06-27)
- Changes to the `plugin:@typescript-eslint/recommended` configuration.
I've manually changed the following two rules to match their old
`@typescript-eslint/parser` v5 settings, to avoid turning ESLint
warnings into errors:
- `@typescript-eslint/no-explicit-any` to `warn`
- `@typescript-eslint/no-unused-vars` to `warn`
[1]: https://main--typescript-eslint.netlify.app/blog/announcing-typescript-eslint-v6
2023-09-19 15:51:51 +01:00
Hans Blankenhaus
bca39e8081
optional wrap and test
2023-09-19 15:38:17 +02:00
Sidharth Vinod
8be8736131
Merge pull request #4851 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2023-09-19 13:03:26 +00:00
renovate[bot]
6bab2f6693
chore(deps): update all patch dependencies
2023-09-19 11:27:03 +00:00
Sidharth Vinod
3e3519e8ec
docs: Add packet to index
2023-09-19 16:51:42 +05:30
Sidharth Vinod
e8347cedf3
Merge pull request #4846 from aloisklink/test/fix-theme-directives-e2e-test
...
Wait for `theme-directives.html` E2E test to render before taking a screenshot
2023-09-19 11:18:15 +00:00
Sidharth Vinod
d6f1c11559
Merge pull request #4847 from aloisklink/test/wait-for-4825-e2e-test-to-finish
...
Wait for `marker_unique_id.html` E2E test to render before taking a screenshot
2023-09-19 11:17:34 +00:00
Sidharth Vinod
566150977a
Add mini-live editing to example.html
2023-09-18 23:31:23 +05:30
Sidharth Vinod
0ff3ba30b7
Add mini-live editing to example.html
2023-09-18 23:29:27 +05:30
Hans Blankenhaus
43885e6d0b
make auto wrapping in markdown optional
2023-09-18 15:58:57 +02:00
Alois Klink
17f5052a6f
test(e2e): wait for theme-directives.html
...
The `theme-directives.html` test currently sometimes takes a screenshot
before all of the Mermaid diagrams have completed rendering.
We can use the `urlSnapshopTest()` helper function, which waits until
a `.rendered` property exists on the page.
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2023-09-17 18:56:20 +01:00
Alois Klink
518e277cb2
test(e2e): remove unused code in theme-directives
...
We don't use any font-awesome icons, or custom fonts in this file.
2023-09-17 18:55:54 +01:00
Alois Klink
335ba40dd0
test(e2e): wait for marker_unique_id.html e2e test
...
Sometimes, Cypress takes the screenshot for marker_unique_id.html early,
before mermaid has finished rendering the diagrams.
Fixes: 924c9e913b665f22f9a3401dbf31857579833ca4
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2023-09-17 18:32:52 +01:00
Sidharth Vinod
577f0ca562
fix: Cypress test for Suppress Error
2023-09-16 13:54:43 +05:30
Sidharth Vinod
56d339b8f0
fix: Race condition when running suppressError test.
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-09-16 13:33:28 +05:30
Sidharth Vinod
c64e2106cf
docs: Add LiveEditor Beta
2023-09-15 13:53:07 +05:30
Sidharth Vinod
bd1e7a7c13
fix: Retain default behavior when rendering errors cases
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-09-15 08:42:12 +05:30
Sidharth Vinod
5f41b65af1
chore: Add suppressErrorRendering to secure flags.
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-09-15 08:41:12 +05:30
Reda Al Sulais
3c90894e38
Merge branch 'develop' into next
2023-09-15 01:57:20 +03:00
Sidharth Vinod
ad596086ea
10.5.0-rc.2
2023-09-15 01:24:02 +05:30
Sidharth Vinod
0dbebe953b
Merge branch 'develop' into pr/rhysd/4359
...
* develop: (37 commits)
fix: Arrow markers in flowchart-elk
Bump version
chore: Fix type in 'getLineFunctionsWithOffset'
Update cypress/platform/marker_unique_id.html
refactor: Add getLineFunctionsWithOffset function
refactor: Move EdgeData to types
fix: PointStart marker refX
Added cypress test
chore(deps): update all patch dependencies
refactor: Fix typings in utils.ts
Give markers unique id's per graph
chore: Add @internal to createCSSStyles
chore: Bump version
refactor: Remove unused variables
fix : #4818 support `getClasses` in external diagrams.
Remove unnecessary tests
Remove optional chaining
chore: Update docs
refactor: Use `||` instead of `??`
Update flowchart.md (#4798 )
...
2023-09-14 23:33:39 +05:30
Sidharth Vinod
16c12a42c7
fix: Remove blank SVG
2023-09-14 23:32:35 +05:30
Sidharth Vinod
136f1c50e7
fix: Diagram DB types
2023-09-14 23:24:03 +05:30
Sidharth Vinod
043729f557
feat: Support showBits
2023-09-14 23:12:42 +05:30
Sidharth Vinod
75f1f9228d
test: Add rendering tests
2023-09-14 23:12:06 +05:30
Sidharth Vinod
38d9c6d26b
test: Add unit tests
2023-09-14 23:00:59 +05:30
Sidharth Vinod
afd7cf51cf
fix: Types and nomenclature
2023-09-14 22:46:43 +05:30
Sidharth Vinod
c41594d220
feat: Add packet diagram
2023-09-14 22:35:13 +05:30
Subhash Halder
adb3cd16df
Merge branch 'develop' into feature/4269_add_xychart
2023-09-14 20:50:27 +05:30
Sidharth Vinod
fedbd48c0f
Merge branch 'next' into pr/Yokozuna59/4751
...
* next: (98 commits)
refactor: Simplify TokenBuilder and ValueConverter
chore: Fix pnpm-lock
Bump version
chore: Fix type in 'getLineFunctionsWithOffset'
Update cypress/platform/marker_unique_id.html
refactor: Add getLineFunctionsWithOffset function
refactor: Move EdgeData to types
fix: PointStart marker refX
Added cypress test
chore(deps): update all patch dependencies
refactor: Fix typings in utils.ts
Give markers unique id's per graph
chore: Fix type
chore: Add @internal to createCSSStyles
chore: Bump version
refactor: Remove unused variables
fix : #4818 support `getClasses` in external diagrams.
Remove unnecessary tests
Remove optional chaining
chore: Update docs
...
2023-09-14 17:38:43 +05:30
Sidharth Vinod
271b779995
refactor: Simplify TokenBuilder and ValueConverter
2023-09-14 17:32:44 +05:30