Bernard Xie
3427ea1717
w3 official source
2023-02-27 16:38:48 -08:00
Bernard Xie
2fb0df3563
add rebecca purple
2023-02-27 16:34:44 -08:00
Bernard Xie
8e0feef0da
color comment
2023-02-27 16:30:25 -08:00
Bernard Xie
7c295c1942
to lower on name2rgb
2023-02-27 16:27:28 -08:00
gavin-ts
229cac01cc
Merge pull request #930 from gavin-ts/bump-go-install-version
...
update d2 version for go install oss.terrastruct.com/d2@latest
2023-02-27 16:25:00 -08:00
Bernard Xie
b48c2b411f
Update color.go
2023-02-27 16:22:10 -08:00
Bernard Xie
6ac07a3eda
Update main.go
2023-02-27 16:21:24 -08:00
Gavin Nishizawa
4b97eefdeb
update d2 version for go install oss.terrastruct.com/d2@latest
2023-02-27 16:20:43 -08:00
Bernard Xie
7dee1e82f6
Update main.go
2023-02-27 16:19:52 -08:00
Bernard Xie
abc145ae72
Merge branch 'master' into support-diagram-fill-pdf
2023-02-27 16:19:49 -08:00
Bernard Xie
63ffcba215
error
2023-02-27 16:10:00 -08:00
Bernard Xie
66083e2d98
set root fill as transparent on pdf exports
2023-02-27 16:05:41 -08:00
Anmol Sethi
fa5c203ff9
Merge pull request #927 from nhooyr/cli-tests-740f
...
d2cli: Move main code into d2cli so it can be imported from tests
2023-02-27 15:07:00 -08:00
Anmol Sethi
5a5d48bdbc
d2cli: Move main code into d2cli so it can be imported from tests
...
Updates #903
2023-02-27 15:04:02 -08:00
Bernard Xie
a14871c81f
Merge branch 'master' into support-diagram-fill-pdf
2023-02-27 14:56:29 -08:00
Anmol Sethi
233a3fddd3
Merge pull request #923 from nhooyr/layers-containers-97eb
...
cli: Improve multiboard output
2023-02-27 14:42:10 -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
89394421f8
changelog: Update
2023-02-27 14:39:08 -08:00
Bernard Xie
29e76b77b8
Merge branch 'master' into support-diagram-fill-pdf
2023-02-27 14:11:07 -08:00
Bernard Xie
fb4eb36214
Add support
2023-02-27 14:10:59 -08:00
Anmol Sethi
65437b954d
main: Don't render board containers in renderPDF
...
cc @berniexie
2023-02-27 13:50:03 -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
6b70ebe00c
Merge pull request #922 from alixander/fix-fill
...
fix theme regex
2023-02-27 13:01:48 -08:00
Alexander Wang
9cdfd20ff9
changelog
2023-02-27 12:58:21 -08:00
Alexander Wang
e5eacbd499
fix theme regex
2023-02-27 12:56:04 -08:00
Anmol Sethi
bc3942fa7e
d2graph: Actually remove board keyword check
...
d2ir change alone is enough.
2023-02-27 12:10:36 -08:00
Alexander Wang
be09118633
Merge pull request #876 from alixander/fix-d2oracle-underscore
...
compiler: Fix underscore reference
2023-02-27 12:10:07 -08:00
Alexander Wang
1143286c33
regen test
2023-02-27 12:04:08 -08:00
Anmol Sethi
903bf7e206
Ignore BoardKeywords in d2graph and change d2ir.IDA to return from nearest board
2023-02-27 11:52:55 -08:00
Anmol Sethi
f60856fc28
Merge pull request #917 from nhooyr/docker-arm64-playwright-e161
...
Add playwright deps to arm64 docker image
2023-02-27 11:36:18 -08:00
Anmol Sethi
25f8361eeb
changelogs/next.md: Update
2023-02-27 11:30:24 -08:00
Anmol Sethi
79eac42905
docker: Build cross platform release image natively
...
Playwright deps don't install when running under QEMU.
2023-02-27 11:25:43 -08:00
gavin-ts
de461199b2
Merge pull request #916 from gavin-ts/regression-test-from-file
...
add util to read e2e test from file
2023-02-27 10:39:52 -08:00
Alexander Wang
f6f68518f8
tests
2023-02-27 10:35:26 -08:00
Alexander Wang
6594ffc904
cleanup
2023-02-27 10:33:35 -08:00
Alexander Wang
fa9f402f8c
ensure
2023-02-27 10:33:35 -08:00
Alexander Wang
1bc5d90d22
add failing compiler test
2023-02-27 10:33:34 -08:00
Gavin Nishizawa
74dbf60830
add regression test read from file
2023-02-27 10:31:55 -08:00
Anmol Sethi
5c2a80330f
docker: Install playwright dependencies on arm64
...
Also changed our code to only install chromium.
Closes #835
2023-02-27 10:30:59 -08:00
Alexander Wang
ce19b61584
Merge pull request #895 from JettChenT/3d-hexagon
...
Render: Support 3d hexagons
2023-02-27 10:08:10 -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
5ac8b6f0ec
Merge pull request #910 from alixander/root-styles
...
apply diagram background styles, fix bounding box bugs
2023-02-26 16:29:24 -08:00
Alexander Wang
87eae1b616
implement background styles
2023-02-26 16:23:51 -08:00
Anmol Sethi
a9f3ef10bb
Merge pull request #902 from nhooyr/dark-mode-caution-abc2
...
cli: Document -dark-theme gotcha
2023-02-25 10:50:57 -08:00
Anmol Sethi
06548f1543
cli: Document -dark-theme gotcha
...
Updates #831
2023-02-25 10:39:21 -08:00
Alexander Wang
a2503328a2
Merge pull request #725 from gavin-ts/fitToScreen-alternative
...
render: no js fit to screen alternative
2023-02-25 08:43:12 -08:00
Alexander Wang
0adef9953c
tests
2023-02-25 08:39:12 -08:00