Ibrahim Wassouf
20011c6882
Add unit tests for edge text
2023-07-21 20:44:37 -03:00
Ibrahim Wassouf
0cc8f89115
Add edgeText states
2023-07-21 19:40:04 -03:00
Ibrahim Wassouf
8ff06e88ce
Correct expected error message in unit test
2023-07-21 18:27:20 -03:00
Ibrahim Wassouf
3fa3ed7b18
Remove grammar and unit test that expects HEX token
...
This was never really used and had many things wrong with it.
I believe that if a hex was provided in the diagram specification,
the alphanum grammar would break it up into a BRKT and NUM token
and use the first line with the addVertex() function.
Second, the styleLink grammar provides the exact same functionality
with the linkStyle keyword.
Third, updateLink() expects an array of nums, not a hex digit.
Fourth, no documentation is provided on this grammar statement existing.
Fifth, the unit test does not work in version 10.2.4
2023-07-21 18:15:43 -03:00
Ibrahim Wassouf
0a4e5f5f6b
Slightly alter unit test node idString
2023-07-21 18:15:27 -03:00
Ibrahim Wassouf
0d7cc748b8
Replace alphanum with idString where appropriate
2023-07-21 17:33:33 -03:00
Ibrahim Wassouf
69c91ae5ed
Add unit test for edge case with lean_right/left vertices
2023-07-21 00:06:18 -03:00
Ibrahim Wassouf
7adb1bccb3
Replace alphanum with NODE_STRING for most usecases
...
What this allows is for idStrings that are separated by
dashes or underscores to be considered one whole string
rather than a bunch of tokens mixed together.
This is necessary for examples such as a-node-graph[text].
Now, the last part of the idString 'graph' will be read as
part of the NODE_STRING token rather than attempting to add
a GRAPH token to the idString.
2023-07-20 23:49:43 -03:00
Ibrahim Wassouf
5b987dee93
Put parser in stable state
2023-07-20 13:05:18 -03:00
Ibrahim Wassouf
3496f275bc
Re-implement markdown as its own text type
2023-07-19 22:56:53 -03:00
Ibrahim Wassouf
b46c28425e
Add text state and tests
2023-07-19 22:49:39 -03:00
Sidharth Vinod
e66135b67e
Merge pull request #4496 from moka-care/bug/4439_graph_doesnt_load_when_img_fail_to_load
...
Fix graph not loading when the img loads too fast or fail to load
2023-07-18 07:57:38 +00:00
Yokozuna59
072638ce9d
Merge pull request #4634 from leinelissen/develop
...
feat: allow specifying on which weekday a tickInterval should start
2023-07-18 07:33:08 +00:00
Sidharth Vinod
38c0a94067
Merge pull request #4633 from ibrahimWassouf/bug/4592_fix_newLine_padding_class_diagram
...
Bug/4592 fix new line padding class diagram
2023-07-17 09:50:47 +00:00
Sidharth Vinod
d3006f6298
chore: Remove numbers from tests
2023-07-17 15:16:05 +05:30
Sidharth Vinod
24f04bb24d
Merge branch 'develop' into bug/4592_fix_newLine_padding_class_diagram
2023-07-17 15:11:39 +05:30
Sidharth Vinod
b5bcc3b992
Revert "Refactor integration tests"
...
This reverts commit 80add648e6d82eb99508b7ffa2acbf52200905c9.
2023-07-17 15:11:14 +05:30
Sidharth Vinod
48a49b1b4d
Merge pull request #4588 from ibrahimWassouf/enhancement/4158_Add_primary_key_beginning_with_asterisk
...
Allow entity diagram attribute names to start with asterisk
2023-07-17 09:26:46 +00:00
Sidharth Vinod
5e6d42cb5b
Merge pull request #4641 from aloisklink/chore/remove-unused-coveralls-devDependency
...
chore: remove unused `devDependency` on coveralls
2023-07-17 09:20:02 +00:00
Sidharth Vinod
417c69d7e2
Merge pull request #4646 from guilhermgonzaga/docs/fix_checkbox_format
...
docs: Fix checkbox syntax
2023-07-17 09:07:08 +00:00
Guilherme Gonzaga
855f6ef9bf
docs: Fix checkbox syntax
2023-07-16 23:16:37 +00:00
Alois Klink
a0a25ed756
chore: remove unused devDependency
on coveralls
...
This `devDependency` hasn't been used for a long time.
2023-07-16 00:21:43 +01:00
Yokozuna59
39ccad8e5e
Merge branch 'develop' into develop
2023-07-15 15:44:19 +02:00
Lei Nelissen
7e39c13836
chore: narrow down tstype
2023-07-15 15:38:21 +02:00
Lei Nelissen
85515bcf8d
chore: leave the newLine out of the jison spec
2023-07-15 15:28:48 +02:00
Ibrahim Wassouf
9b9671b57c
Merge branch 'develop' into enhancement/4158_Add_primary_key_beginning_with_asterisk
2023-07-15 08:50:01 -04:00
Ibrahim Wassouf
d6c88ab589
Merge branch 'develop' into bug/4592_fix_newLine_padding_class_diagram
2023-07-15 08:49:38 -04:00
Sidharth Vinod
840609af63
Merge pull request #4577 from kislerdm/bug/4576-c4-support-for-ContainerQueue_Ext
...
Fixes support of the macro `ContainerQueue_Ext` for C4 diagrams definition.
2023-07-15 07:35:05 +00:00
Lei Nelissen
eff9f7e5db
chore: re-generate config
2023-07-15 00:24:02 +02:00
Lei Nelissen
803cd826ed
chore: replace switch-case with map
2023-07-15 00:17:10 +02:00
Lei Nelissen
90c68f5069
chore: add tsType for weekday config
2023-07-15 00:17:09 +02:00
Lei Nelissen
103321bf72
chore: return after scanning weekday in jison
2023-07-15 00:17:09 +02:00
Lei Nelissen
d0afc3bffe
feat: validate individual values of weekdays
2023-07-14 14:13:18 +02:00
Lei Nelissen
11f2e31ff1
fix: also set weekday value to sunday in clear
2023-07-14 14:13:18 +02:00
Lei Nelissen
d9c15b1e7a
chore: move spec test to it.each
2023-07-14 14:13:18 +02:00
Lei Nelissen
4e8eeda30e
chore: also apply weekday to topXAxis
2023-07-14 14:13:18 +02:00
Lei Nelissen
cfe31fe89f
chore: generate new docs
2023-07-14 14:13:18 +02:00
Lei Nelissen
ebf639377b
chore: generate typescript config type
2023-07-14 14:13:18 +02:00
Lei Nelissen
37adc23ae2
chore: also default to sundat in ganttDb
2023-07-14 14:13:18 +02:00
Lei Nelissen
5f7212c769
chore: move default value to config.schema.yaml
2023-07-14 14:13:18 +02:00
Lei Nelissen
cd92c46f31
chore: format example more correctly
2023-07-14 14:13:18 +02:00
Lei Nelissen
df10ab501a
chore: add tests for all days
2023-07-14 14:13:18 +02:00
Lei Nelissen
0d7427ed20
chore: add cypress test
2023-07-14 14:13:18 +02:00
Lei Nelissen
e360e90f88
chore: move documentation to source file
2023-07-14 14:13:18 +02:00
Lei Nelissen
03ce2810b5
feat: allow specifying on which weekday a tickInterval should start
2023-07-14 14:13:18 +02:00
Lei Nelissen
5631a218d1
fix: make gantt chart interval weeks start on monday instead of sunday
2023-07-14 14:13:18 +02:00
Ibrahim Wassouf
bb220b8b87
Add test for string label
2023-07-13 16:53:29 -03:00
Ibrahim Wassouf
80add648e6
Refactor integration tests
2023-07-13 16:43:52 -03:00
Ibrahim Wassouf
081d1b1144
Merge branch 'develop' into bug/4592_fix_newLine_padding_class_diagram
2023-07-13 16:38:47 -03:00
Sidharth Vinod
946b5f161e
Merge pull request #4623 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2023-07-13 19:09:27 +00:00