Commit graph

615 commits

Author SHA1 Message Date
Bernard Xie
9219501584
fix tables and classes 2023-03-27 11:24:18 -07:00
Bernard Xie
88481dec1e
more test data 2023-03-27 11:08:10 -07:00
Bernard Xie
4682c010a0
add test changes 2023-03-27 10:51:57 -07:00
Bernard Xie
513f813cd9
Merge branch 'master' into 765/custom-fonts 2023-03-27 10:37:32 -07:00
donglixiaoche
4760888d15
chore: regenerate testcases 2023-03-27 21:42:43 +08:00
donglixiaoche
d33efa28f2
chore: new testcase 2023-03-27 21:38:11 +08:00
donglixiaoche
6844413820
chore: new testcase 2023-03-27 21:38:10 +08:00
donglixiaoche
2ae1636140
fix: regenerate testcases 2023-03-27 21:38:10 +08:00
donglixiaoche
17c4851618
fix: calc labelDimension 2023-03-27 21:38:10 +08:00
donglixiaoche
b9a94ca11f
fix: cr, more testcase 2023-03-27 21:38:09 +08:00
donglixiaoche
5820ba5889
chore: regenerate testcases 2023-03-27 21:38:08 +08:00
donglixiaoche
4df8864917
chore: regenerate testcases 2023-03-27 21:38:08 +08:00
donglixiaoche
f62304dac9
chore: add e2e testcase 2023-03-27 21:38:08 +08:00
Alexander Wang
f30efc5f62
animate-interval 2023-03-26 21:34:41 -07:00
Bernard Xie
488ad25093
new test data 2023-03-24 17:34:11 -07:00
Alexander Wang
c763874fb8
lower paper opacity 2023-03-22 18:07:42 -07:00
Alexander Wang
436531dbc2
paper pattern 2023-03-20 19:08:56 -07:00
Alexander Wang
2684f3bfde
[ci-base] bump version in src 2023-03-20 11:57:25 -07:00
Alexander Wang
95bc2e4fb5
fix multiple br 2023-03-18 14:45:58 -07:00
Alexander Wang
56a4ee5fff
markdown strikethrough 2023-03-18 14:00:52 -07:00
Alexander Wang
c3c60c5bab
fix elk container label 2023-03-17 21:46:57 -07:00
Alexander Wang
ed2efda29a
don't uppercase code blocks 2023-03-17 20:20:30 -07:00
Alexander Wang
7ba463c690
[ci-base] regen 2023-03-16 16:08:06 -07:00
Alexander Wang
65d36215f9
fix monospaced edge labels 2023-03-16 15:02:06 -07:00
Alexander Wang
21d8aae518
amend test 2023-03-16 13:01:58 -07:00
Alexander Wang
c30887b363
new fill-patterns, grayscale 2023-03-15 23:02:17 -07:00
Alexander Wang
4c8c2b1ab5
define new theme 2023-03-15 17:54:34 -07:00
Alexander Wang
e36f2f946b
elk fit labels, center contents 2023-03-15 13:07:45 -07:00
Alexander Wang
be8d47b47f
rebase 2023-03-14 18:39:44 -07:00
Alexander Wang
7f9bc2b033
Merge branch 'master' into elk-shim 2023-03-14 18:38:43 -07:00
Alexander Wang
108b744f3c
fix bug 2023-03-14 18:36:16 -07:00
Alexander Wang
4ab3a1ecaa
regen 2023-03-14 17:38:22 -07:00
Alexander Wang
f35be526c6
remove ladders 2023-03-14 15:29:50 -07:00
Gavin Nishizawa
231ab8acc3
update tests 2023-03-14 15:14:35 -07:00
Alexander Wang
05938bdef2
s-shape 2023-03-14 14:54:30 -07:00
Alexander Wang
73c35bb14b
implement s-shape 2023-03-14 14:11:51 -07:00
Alexander Wang
90a927131d
node edge spacing 2023-03-14 13:06:56 -07:00
Alexander Wang
a37c456dfc
fixed alignment 2023-03-14 11:08:29 -07:00
Alexander Wang
3cc011fd96
regen 2023-03-14 10:01:45 -07:00
Alexander Wang
36e546c8b4
Merge branch 'master' into pattern 2023-03-14 10:00:56 -07:00
Alexander Wang
7ce0e8fde6
regen 2023-03-14 10:00:33 -07:00
Alexander Wang
c45aa06103
regen 2023-03-14 09:46:45 -07:00
Alexander Wang
b4f711c93d
real 2023-03-13 23:12:41 -07:00
Alexander Wang
1f6a361b3f
implement pattern 2023-03-13 23:01:33 -07:00
Alexander Wang
6df7772a77
regen tests 2023-03-13 18:51:52 -07:00
Alexander Wang
0155bbabb5
connection mono 2023-03-13 16:14:50 -07:00
Alexander Wang
62abaf3536
test regen 2023-03-13 16:12:15 -07:00
Alexander Wang
f1d4641d42
Merge branch 'master' into mono-font 2023-03-13 16:04:59 -07:00
Alexander Wang
298a0c10bd
bump to go 1.20 2023-03-13 13:35:26 -07:00
Alexander Wang
73218396da
test 2023-03-11 21:33:03 -08:00
Alexander Wang
a9433a5204
fix arrowhead label detection 2023-03-11 21:33:03 -08:00
Alexander Wang
cfa37f4469
regen tests 2023-03-11 17:22:26 -08:00
Alexander Wang
379e3ae414
Merge pull request #982 from donglixiaoche/class-and-sqltable-border-radius
Class and sqltable border radius
2023-03-09 20:30:49 -08:00
Alexander Wang
ba282b5f96
font: mono 2023-03-09 20:06:15 -08:00
Alexander Wang
d6fee41e3b
make dagre inter-container connections better 2023-03-09 19:49:40 -08:00
Alexander Wang
adbf9f775b
handle empty markdown for pre-measured 2023-03-09 16:55:34 -08:00
donglixiaoche
2d66f3105a
fix: cr, add labelMaskID for clipPath 2023-03-09 16:45:18 +08:00
donglixiaoche
5994dea83a
Revert "chore: regenerate tests"
This reverts commit c44701ac0a.
2023-03-09 10:54:51 +08:00
donglixiaoche
c44701ac0a
chore: regenerate tests 2023-03-09 10:23:30 +08:00
donglixiaoche
39419f221f
chore: new testcases 2023-03-09 09:30:19 +08:00
donglixiaoche
4dd974c6c1
chore: add class border-radius testcase 2023-03-09 09:30:19 +08:00
donglixiaoche
fc4ff9c523
chore: add e2e testcase 2023-03-09 09:30:19 +08:00
Alexander Wang
412f53e229
ELK nodes grow to ensure port padding 2023-03-06 22:32:15 -08:00
Gavin Nishizawa
ecae3e84ea
update test 2023-03-06 20:08:12 -08:00
Gavin Nishizawa
5120c4960f
update tests 2023-03-03 22:33:25 -08:00
Gavin Nishizawa
20455f17b2
update test 2023-03-03 22:20:19 -08:00
Gavin Nishizawa
a85ccf2f4a
add test 2023-03-03 22:18:55 -08:00
Alexander Wang
73239c3e97
update 2023-03-03 21:02:02 -08:00
Gavin Nishizawa
39ab1e9bf4
update tests 2023-03-02 14:58:37 -08:00
Gavin Nishizawa
646e61a26f
update tests 2023-03-01 17:41:58 -08:00
donglixiaoche
04cc7bd207
chore: regenerate testcases 2023-03-01 09:44:15 +08:00
donglixiaoche
776b6af1bc
chore: add elk_border_radius e2e test 2023-03-01 08:09:38 +08:00
Gavin Nishizawa
186368cd1e
update test 2023-02-27 19:55:52 -08:00
Gavin Nishizawa
357dda9815
add test 2023-02-27 19:43:04 -08:00
Gavin Nishizawa
45de9ba9c8
update tests 2023-02-27 19:42:00 -08:00
Gavin Nishizawa
4d1462473c
update tests 2023-02-27 19:41:18 -08:00
Anmol Sethi
f64b5c010d
IsContainerOnly -> IsFolderOnly 2023-02-27 14:39:09 -08:00
Anmol Sethi
78b09f5007
BoardContainer -> IsContainerOnly
As discussed on slack.
2023-02-27 14:39:08 -08:00
Anmol Sethi
e4fac7840f
cli: Improve multiboard output
- Boards with subboards are now selfcontained folders with index.svg/png as
  the root board render.
- Boards that are only containers of other boards are not rendered. For example a
  scenario with no modifications and only steps only has its steps
  rendered.
- Boards with sibling boards of another type are rendered under a
  subdirectory indicating their type to separate them. For example a
  board with layers and scenarios has its layers rendered into subfolder
  layers and scenarios into subfolder scenarios.

cc @berniexie see BoardContainer field on d2target.Board for the field
you were looking for to skip renders for PDFs too.
2023-02-27 13:50:03 -08:00
Alexander Wang
e5eacbd499
fix theme regex 2023-02-27 12:56:04 -08:00
Gavin Nishizawa
74dbf60830
add regression test read from file 2023-02-27 10:31:55 -08:00
JettChenT
a448a65c7f
resolve CI testing conflicts 2023-02-27 15:53:22 +08:00
Jett Chen
c9477639cc
Merge branch 'master' into 3d-hexagon 2023-02-27 10:22:09 +08:00
JettChenT
5b5a976b7c
squash commits
upate tests

Update changelog

add support for Fill

update test case

resolve changes
2023-02-27 09:50:18 +08:00
Alexander Wang
87eae1b616
implement background styles 2023-02-26 16:23:51 -08:00
Alexander Wang
0adef9953c
tests 2023-02-25 08:39:12 -08:00
Alexander Wang
39f6c7754c
tests 2023-02-25 08:30:15 -08:00
Alexander Wang
4d4073ee27
Merge branch 'master' into fitToScreen-alternative 2023-02-25 08:29:42 -08:00
Alexander Wang
0216c8b5f0
fix font-color for tables and class 2023-02-24 20:39:34 -08:00
Alexander Wang
4411fbdabc
fix class shape in sequence diagram render 2023-02-24 20:17:09 -08:00
Gavin Nishizawa
f144886ba5
update tests 2023-02-24 18:55:43 -08:00
Gavin Nishizawa
fd2955fb56
update tests 2023-02-24 18:55:37 -08:00
Bernard Xie
c3071598dc
add comment, fix tests, add to changelog 2023-02-24 12:01:37 -08:00
Alexander Wang
a330b35fc5
tests 2023-02-23 17:20:15 -08:00
gavin-ts
1a27dee9c8
Merge pull request #880 from gavin-ts/adjust-dagre-edge-for-container-label
dagre: stop container edges at container label
2023-02-23 14:48:53 -08:00
Gavin Nishizawa
0db09d5a53
update test 2023-02-23 14:44:49 -08:00
Gavin Nishizawa
7701673c51
add container_label_edge_adjustment2 test 2023-02-23 14:44:00 -08:00
Alexander Wang
e1b407ea52
use more accurate icon bounding 2023-02-23 14:42:56 -08:00
Gavin Nishizawa
fa686952cd
update tests 2023-02-23 13:02:52 -08:00
Gavin Nishizawa
60b7865fd3
update tests 2023-02-23 11:46:24 -08:00
Gavin Nishizawa
c86da5e100
update test 2023-02-23 11:46:22 -08:00
Gavin Nishizawa
b124262c76
update test 2023-02-23 11:35:52 -08:00
Gavin Nishizawa
8f013ba2e4
add container_label_edge_adjustment todo test 2023-02-23 11:35:23 -08:00
Alexander Wang
95f6003f22
tests 2023-02-23 11:17:44 -08:00
Vojtěch Fošnár
ba72dfa5d5
fix appendix background 2023-02-23 13:22:36 +01:00
Vojtěch Fošnár
6c8ff99eaf
merge updates 2023-02-23 11:41:42 +01:00
gavin-ts
833ad46148
Merge pull request #866 from gavin-ts/add-dagre-container-child-error
Add error for dagre container child edge
2023-02-22 17:32:35 -08:00
Alexander Wang
a733c6ec2f
regen test 2023-02-22 16:22:28 -08:00
Alexander Wang
389f4cb9d3
failing test 2023-02-22 13:21:29 -08:00
Gavin Nishizawa
0608dfdc14
cleanup 2023-02-22 12:51:27 -08:00
Vojtěch Fošnár
79abc91ea3
fix filled circle arrowhead offset 2023-02-22 18:50:06 +01:00
Vojtěch Fošnár
5e35b68603
finally fixed tests? 2023-02-21 09:33:13 +01:00
Vojtěch Fošnár
2cea6ba7f0
fix class header, exercise dark theme for appendix, update tests 2023-02-20 20:54:32 +01:00
Vojtěch Fošnár
75102f3d40
fix CLI option, update and hopefully fix tests 2023-02-20 20:09:17 +01:00
Vojtěch Fošnár
d8525f5225
Merge branch 'terrastruct:master' into master 2023-02-20 19:54:39 +01:00
Vojtěch Fošnár
3da8a5c8aa
automatically add xml namespace to divs, small tweaks 2023-02-19 20:34:42 +01:00
Vojtěch Fošnár
46766d0f04
fix sketch tests, better trigger system 2023-02-19 14:26:24 +01:00
Vojtěch Fošnár
6a89beaeb1
merge updates 2023-02-19 12:32:44 +01:00
Alexander Wang
5ff1909935
container dimensions 2023-02-18 23:35:18 -08:00
Alexander Wang
e5b575f301
change back 2023-02-18 16:23:27 -08:00
Gavin Nishizawa
4825250819
update tests 2023-02-15 11:48:14 -08:00
Alexander Wang
53dce56415
Merge pull request #817 from alixander/japanese
Scale multi-width unicodes
2023-02-14 13:53:36 -08:00
Alexander Wang
cbfa028258
regenerate tests 2023-02-14 11:41:29 -08:00
Alexander Wang
156c974241
unicode tests 2023-02-14 11:41:21 -08:00
Alexander Wang
9cb7e7f396
scale multi-width unicode 2023-02-14 11:40:49 -08:00
Alexander Wang
02e69bfd31
original test 2023-02-14 11:35:00 -08:00
Alexander Wang
ffea3c9ab2
fix 2023-02-14 11:34:18 -08:00
gavin-ts
305ed09632
Merge pull request #807 from gavin-ts/limit-oval-aspect-ratio
shapes: limit oval aspect ratio
2023-02-13 11:32:29 -08:00
Gavin Nishizawa
491049766c
update tests 2023-02-13 11:25:28 -08:00
Alexander Wang
aa1f123f71
more accurate 2023-02-13 11:23:54 -08:00
Gavin Nishizawa
c1313c7480
add ovals e2e test 2023-02-13 11:19:42 -08:00
Alexander Wang
288bab743f
tests 2023-02-13 10:56:01 -08:00
Alexander Wang
f14326c334
ok 2023-02-13 10:48:55 -08:00
Alexander Wang
e37fc89bb1
icons in top left of containers 2023-02-13 10:42:47 -08:00
Alexander Wang
69a4b31aa8
Merge pull request #799 from alixander/rx
fix border-radius for firefox
2023-02-12 12:37:19 -08:00
Alexander Wang
ab5be36a00
ok 2023-02-12 12:34:25 -08:00
Alexander Wang
b842aade73
ok 2023-02-12 12:30:33 -08:00
Alexander Wang
1bedf5b7a2
Test 2023-02-12 12:27:18 -08:00
Alexander Wang
3c38e16ccf
revert 2023-02-12 12:13:35 -08:00
Alexander Wang
2ab9f434e1
escape using html 2023-02-12 12:01:33 -08:00
Alexander Wang
281f163acf
tests 2023-02-12 10:25:28 -08:00
Alexander Wang
019429edcf
try different value 2023-02-10 21:45:31 -08:00
Alexander Wang
5c2d75a360
tests 2023-02-10 21:28:03 -08:00
Alexander Wang
0f9d98fa8a
Merge branch 'master' into tune-spacing 2023-02-10 21:27:10 -08:00
Alexander Wang
b30a72b2b3
merge 2023-02-10 21:25:28 -08:00
Alexander Wang
c33676a416
ok 2023-02-10 20:47:58 -08:00
Alexander Wang
2b950589dc
test 2023-02-10 14:13:32 -08:00
Alexander Wang
af11b4ddb5
tests 2023-02-10 14:02:57 -08:00
Alexander Wang
9fad105822
fix padding 2023-02-10 13:47:22 -08:00
Alexander Wang
9463c67555
test 2023-02-10 13:40:12 -08:00
Alexander Wang
563c6999d0
cleanup 2023-02-10 12:50:25 -08:00
Alexander Wang
939a5ca088
ok 2023-02-10 12:18:50 -08:00
Alexander Wang
8ec04a1f61
save 2023-02-10 10:25:44 -08:00
Alexander Wang
7f6b373f32
change test 2023-02-10 01:25:24 -08:00
Alexander Wang
b12c878cf2
crows feet tuning 2023-02-10 00:57:15 -08:00
Alexander Wang
4aaaf8dfa2
elk 2023-02-09 19:49:53 -08:00
Alexander Wang
dbac4b8cdf
dagre 2023-02-09 19:29:30 -08:00
Alexander Wang
675e2ea6ec
tests 2023-02-09 14:30:38 -08:00
Alexander Wang
1baf999760
update right font 2023-02-06 13:14:31 -08:00
Alexander Wang
ea58e1139b
update back font size 2023-02-06 13:12:43 -08:00
Alexander Wang
812957bf23
Tests, changleog 2023-02-06 01:15:18 -08:00
Alexander Wang
0341fd6f3e
update tests 2023-02-06 01:10:52 -08:00
Alexander Wang
01445768d8
fix for class 2023-02-06 00:47:13 -08:00
Alexander Wang
301e692a24
fix sql table font-size 2023-02-06 00:42:28 -08:00
Alexander Wang
a6086baa33
test 2023-02-05 01:56:43 -08:00
Gavin Nishizawa
ffcc3f37f2
update tests 2023-02-03 18:30:02 -08:00
Gavin Nishizawa
220351d48d
fix height of class with no rows 2023-02-03 18:28:26 -08:00
Gavin Nishizawa
2d2b7d7cd1
update tests 2023-02-03 15:01:09 -08:00
Gavin Nishizawa
b387e2c6e0
update tests 2023-02-03 13:59:12 -08:00
Gavin Nishizawa
d841a3423f
move erroring test to todo test 2023-02-02 20:44:27 -08:00
Gavin Nishizawa
4bfb6af7e6
Merge branch 'master' into shape-specific-inner-boxes 2023-02-02 20:25:52 -08:00
Anmol Sethi
20ada66796
e2etests/testdata: Fix 2023-02-02 12:33:52 -08:00
Anmol Sethi
8860b6b716
d2graph: Sort objects by AST order 2023-02-02 12:24:48 -08:00
Anmol Sethi
9384800435
e2etests/testdata: Fix 2023-02-02 11:55:12 -08:00
Anmol Sethi
09dc9fd12f
Merge remote-tracking branch 'upstream/master' into scenarios-a407 2023-02-02 10:33:31 -08:00
Anmol Sethi
8f58e4ca54
d2ir: Review fixes #714 2023-02-02 10:31:09 -08:00
Gavin Nishizawa
1b1cdaff15
Merge branch 'master' into shape-specific-inner-boxes 2023-02-01 10:31:46 -08:00
Gavin Nishizawa
57fa903fe6
also limit person AR with width/height attributes unless both are entered 2023-01-31 16:08:06 -08:00
Gavin Nishizawa
92629a6c3b
update test 2023-01-30 18:33:22 -08:00
Gavin Nishizawa
6a0aaf2d73
add people test 2023-01-30 18:32:34 -08:00
Vojtěch Fošnár
cc324d1f68
downgraded tests to Go 1.18.5 2023-01-30 18:01:45 +01:00
Vojtěch Fošnár
aa019a9329
resolve conflicts 2023-01-30 12:22:14 +01:00
Vojtěch Fošnár
01928a5032
review fixes 2023-01-30 12:06:54 +01:00
Alexander Wang
8b141d37f0
use bold and italic for code snippets 2023-01-29 14:17:34 -08:00
Anmol Sethi
291f2fdfe3
d2ir: Review fixes #714 2023-01-27 23:45:04 -08:00
Anmol Sethi
3ace33fd01
d2ir: Review fixes #714 2023-01-27 23:28:44 -08:00
Anmol Sethi
30b5b64cad
d2ir: Review fixes #714 2023-01-27 23:19:50 -08:00
Anmol Sethi
654475f286
Fix e2etests report generation and update testdata 2023-01-27 22:20:10 -08:00
Vojtěch Fošnár
6598a1023f
fixed appendix text color 2023-01-28 01:43:24 +01:00
Vojtěch Fošnár
1cbcca7e3a
recreated tests with downgraded go to 1.18.5 2023-01-28 01:28:38 +01:00
Vojtěch Fošnár
af2be1232f
resolved conflicts, updated tests 2023-01-27 22:30:44 +01:00
Anmol Sethi
dce4385644
d2ir: Review fixes #714 2023-01-27 12:37:08 -08:00
Gavin Nishizawa
9d1aeebfea
update tests 2023-01-27 11:44:34 -08:00
Gavin Nishizawa
03788f5c10
update tests 2023-01-27 11:15:00 -08:00
Anmol Sethi
2d36513e2c
Merge remote-tracking branch 'upstream/master' into scenarios-a407 2023-01-27 10:51:33 -08:00
Anmol Sethi
caef5a5a8f
cli: Add support for rendering layers/scenarios/steps 2023-01-27 10:41:25 -08:00
Gavin Nishizawa
a54a0324c3
update test 2023-01-26 18:02:33 -08:00
Gavin Nishizawa
46f3b31742
add sequence_diagram_self_edge_group_overlap regression test 2023-01-26 18:02:32 -08:00
Gavin Nishizawa
ce0d81650d
update tests 2023-01-26 16:45:14 -08:00
Alexander Wang
9b0f942c05
[ci-base] update 2023-01-26 16:35:22 -08:00