Commit graph

43 commits

Author SHA1 Message Date
Alexander Wang
bee43fd290
fix d2oracle move with duplicates 2023-03-14 00:29:37 -07:00
Anmol Sethi
1e3cb397a9
testdata: Add a few parse tests and cleanup testdata
Updates #955
Updates #322
2023-03-13 15:28:53 -07:00
Alexander Wang
298a0c10bd
bump to go 1.20 2023-03-13 13:35:26 -07:00
Alexander Wang
1730326747
d2oracle: delete class and table deletes all refs 2023-03-09 17:04:38 -08:00
Alexander Wang
ea60464d6c
remove primary 2023-03-04 00:57:44 -08:00
Alexander Wang
e1b9a227c4
fix delete not saving map 2023-03-04 00:40:12 -08:00
Alexander Wang
d6e501419d
fix delete suffix with value 2023-03-04 00:32:52 -08:00
Alexander Wang
37ff3fb40b
ignore the parent for delete 2023-03-02 17:04:03 -08:00
Alexander Wang
be5009ea7a
fix d2oracle.Delete 2023-03-02 15:48:47 -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
fa9f402f8c
ensure 2023-02-27 10:33:35 -08:00
Alexander Wang
db1e17a742
fix delete 2023-02-22 16:53:01 -08:00
Alexander Wang
5f3f5da704
save 2023-02-22 16:34:05 -08:00
Alexander Wang
f40350609a
fix near updating when not first path 2023-02-22 15:34:41 -08:00
Alexander Wang
e91a046990
fix edge key index value 2023-02-20 20:17:17 -08:00
Alexander Wang
b5d2dba267
fix edge keying 2023-02-20 19:34:38 -08:00
Alexander Wang
fdb6133f04
replace arrowhead 2023-02-20 17:00:37 -08:00
Alexander Wang
d082d97469
[ci-base] fix last pr 2023-02-20 14:31:26 -08:00
Alexander Wang
dab8215f9e
more tests 2023-02-20 14:21:51 -08:00
Alexander Wang
aff6723d38
replace link and tooltip 2023-02-20 14:15:47 -08:00
Alexander Wang
b40eb5a4d8
d2oracle: delete dimensions and positions 2023-02-19 21:33:37 -08:00
Alexander Wang
2951a7d878
test 2023-02-19 18:52:00 -08:00
Alexander Wang
0c0e7d6134
set and replace position and dimensions 2023-02-19 14:08:56 -08:00
Alexander Wang
1a11eb00cb
fix d2oracle test 2023-02-19 08:22:20 -08:00
Alexander Wang
ba7ef0b661
fix underscore move 2023-02-15 14:26:52 -08:00
Alexander Wang
28f61ad4e6
delete only underscore 2023-02-15 14:09:56 -08:00
Alexander Wang
40b4879f47
fix underscore bug in compiler 2023-02-14 16:45:55 -08:00
Anmol Sethi
11d1c111d5
d2oracle: Fix out_of_newline_container 2023-02-13 17:30:10 -08:00
Anmol Sethi
8860b6b716
d2graph: Sort objects by AST order 2023-02-02 12:24:48 -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
b350399d66
d2ir: Complete integration across all packages 2023-01-24 03:24:35 -08:00
Gavin Nishizawa
c054538ae2
update tests 2022-12-19 17:55:16 -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