Commit graph

31 commits

Author SHA1 Message Date
Alexander Wang
af781f5e4d
ta 2025-01-08 16:52:26 -07:00
Alexander Wang
69efd3a8e3
d2compiler: allow empty layers fix 2024-12-12 15:54:56 -07:00
Alexander Wang
bc4cfa5243
fix null checks for globs 2024-11-23 18:49:27 -08:00
Alexander Wang
dc5c5e2a93
better detection of empty boards 2024-10-23 17:50:13 -06:00
Alexander Wang
dfad137686
d2oracle: create board 2024-10-22 14:06:28 -06:00
Alexander Wang
dcf1435380
fix delete with near in layer 2024-05-29 11:39:41 -06:00
Alexander Wang
9fce113619
tests 2023-06-20 18:58:04 -07:00
Alexander Wang
a1df49c21e
cleanup 2023-06-20 18:56:04 -07:00
Alexander Wang
21d2c44413
set wip 2023-06-20 18:56:03 -07:00
Alexander Wang
b2cb2d15ac
more tests 2023-06-20 18:56:02 -07:00
Alexander Wang
a25f418c12
new implementation 2023-06-20 18:56:02 -07:00
Alexander Wang
3aed9f59c9
use baseAST, add basic tests 2023-06-20 18:56:02 -07:00
Alexander Wang
538812f928
Merge branch 'master' into imports 2023-06-07 15:38:52 -07:00
Anmol Sethi
35bf5d2c41
d2parser: Fix non file map range not including last brace 2023-06-06 15:48:14 -07:00
satoqz
665844db39
TA=1 2023-06-03 14:05:18 +02:00
Alexander Wang
e03e19b28b
ta=1 2023-05-05 09:18:25 -07:00
Gavin Nishizawa
bf50cb9ab3
update tests 2023-04-17 15:03:58 -07:00
Gavin Nishizawa
69208ccf19
update tests json .label_dimensions -> .attributes.labelDimensions 2023-04-13 20:13:58 -07: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
Anmol Sethi
3ace33fd01
d2ir: Review fixes #714 2023-01-27 23:28:44 -08:00
Anmol Sethi
b350399d66
d2ir: Complete integration across all packages 2023-01-24 03:24:35 -08:00
Júlio César Batista
abcfa7cb24
Update tests 2022-11-30 11:23:30 -08:00
Júlio César Batista
0fc1294ae6
Rename RenderPriority -> ZIndex 2022-11-29 21:41:32 -08:00
Júlio César Batista
e13f8f6711
update tests 2022-11-29 21:41:29 -08:00
Alexander Wang
6d4735a8ef
2022-11-29 05:59:27PM 2022-11-29 17:59:27 -08:00
Alexander Wang
88a89d4f72
2022-11-29 04:13:34PM 2022-11-29 16:13:34 -08:00
Alexander Wang
a39bfce697
2022-11-29 04:02:37PM 2022-11-29 16:02:37 -08:00
Alexander Wang
8e1f4c21c9
2022-11-28 09:49:30PM 2022-11-28 21:49:30 -08:00
Alexander Wang
524c089a74 oss
Co-authored-by: Anmol Sethi <hi@nhooyr.io>
2022-11-03 06:54:49 -07:00