Alexander Wang
a283e619bb
prevent bad constraint usage
2023-06-08 11:07:46 -07:00
Alexander Wang
202ffa254b
Merge pull request #1371 from nhooyr/imports
...
Add imports
2023-06-07 16:32:58 -07:00
Alexander Wang
0bd11c4070
fix test race condition
2023-06-07 16:23:20 -07:00
Alexander Wang
686198e207
changelog
2023-06-07 15:40:51 -07:00
Alexander Wang
538812f928
Merge branch 'master' into imports
2023-06-07 15:38:52 -07:00
Alexander Wang
424f671d54
add test exercising steps/scenarios
2023-06-06 22:52:17 -07:00
Anmol Sethi
986f069c18
d2ir: Fix link paths to be unquoted strings
...
Allows for simpler manipulation.
2023-06-06 22:37:56 -07:00
Alexander Wang
8857f46110
add failing test
2023-06-06 22:28:32 -07:00
Alexander Wang
be8def7b67
Merge pull request #1376 from alixander/class-compiler-help
...
add class array help
2023-06-06 22:16:40 -07:00
Anmol Sethi
42cf8bed42
d2ir: Update cyclic import test
2023-06-06 22:16:14 -07:00
Anmol Sethi
7d9f8b6c08
d2ir: Update links after import
2023-06-06 22:13:49 -07:00
Alexander Wang
21907afdd9
changelog
2023-06-06 20:26:38 -07:00
Alexander Wang
0d4392eac2
add class array footgun
2023-06-06 20:24:47 -07:00
Alexander Wang
d296ba0f1d
add failing test
2023-06-06 17:24:31 -07:00
Anmol Sethi
47018488aa
d2ir: Fix pushImportStack
2023-06-06 17:14:49 -07:00
Anmol Sethi
7f0450121a
d2ir: Handle imported scenarios/steps/links
2023-06-06 16:49:12 -07:00
Anmol Sethi
a5d3cc1429
d2parser: Parse and format @../file imports correctly
2023-06-06 16:15:01 -07:00
Anmol Sethi
35bf5d2c41
d2parser: Fix non file map range not including last brace
2023-06-06 15:48:14 -07:00
Anmol Sethi
de0a863e9f
d2: Fix nested import spread ghost container bug
2023-06-06 15:09:27 -07:00
Anmol Sethi
0300b81c31
d2parser: Strip leading ./ from imports
2023-06-06 14:52:54 -07:00
Anmol Sethi
bc8f180055
d2parser: Error on unquoted strings starting with ...@
2023-06-06 14:47:40 -07:00
Anmol Sethi
b4d5bc0be1
d2parser: Error on leading @ in non import key strings
2023-06-06 14:06:59 -07:00
Anmol Sethi
10c6d2af71
d2parser: Fix bad import key panic
2023-06-06 14:01:32 -07:00
Anmol Sethi
f819e5395b
e2etests-cli: Add import test
2023-06-06 13:44:41 -07:00
Anmol Sethi
111759f6bd
d2cli: Pass path for imports correctly
2023-06-06 13:44:41 -07:00
Anmol Sethi
ad21f1fbea
d2ir: Add more import error tests
2023-06-06 13:17:29 -07:00
Anmol Sethi
42706f8b64
d2ir: More import tests
2023-06-06 13:07:30 -07:00
Alexander Wang
7d56c2dbb4
Merge pull request #1373 from alixander/dupe-img
...
cli img fetching optimizations
2023-06-06 11:41:46 -07:00
Alexander Wang
79e192f9c1
fmt
2023-06-06 11:33:00 -07:00
Alexander Wang
8123f8525a
changelog
2023-06-06 11:19:26 -07:00
Alexander Wang
afdc90f1f8
add test for cache
2023-06-06 11:17:02 -07:00
Alexander Wang
df7d6536e9
flag
2023-06-06 11:09:19 -07:00
Alexander Wang
b37b5571e1
logs
2023-06-06 10:56:44 -07:00
Alexander Wang
c40dc7ec34
img optimizations
2023-06-06 10:43:52 -07:00
Alexander Wang
b5f8a0223e
[ci-force] fix
2023-06-05 11:46:38 -07:00
Alexander Wang
69475c7896
Merge pull request #1372 from alixander/measure-constraint
...
constraint improvements
2023-06-05 11:43:10 -07:00
Alexander Wang
949de62f79
changelog
2023-06-05 11:36:36 -07:00
Alexander Wang
4147c4506c
tests
2023-06-05 11:33:34 -07:00
Anmol Sethi
9f0c24f5d7
fmt
2023-06-04 23:32:14 -07:00
Anmol Sethi
2fcc9ed140
d2ir: Compile imports
...
Works as so:
index.d2:
```d2
x: @x
```
x.d2:
```d2
label: meow
shape: circle
```
TODO:
- [ ] Correctly import into fields by handling the scenarios/steps overlay.
- And links.
- [ ] Test every kind of import.
2023-06-04 23:31:18 -07:00
Anmol Sethi
f61409cb79
d2parser: Allow passing in ParseError for nicer error messages in imports
2023-06-04 23:31:18 -07:00
Alexander Wang
24f48ee438
Update next.md
2023-06-03 12:21:25 -07:00
Alexander Wang
d17ef8c970
Merge pull request #1245 from satoqz/master
...
sql_table: support multiple constraints via arrays
2023-06-03 12:20:21 -07:00
satoqz
0ee9ce4241
changelog entry
2023-06-03 14:11:52 +02:00
satoqz
665844db39
TA=1
2023-06-03 14:05:18 +02:00
satoqz
78995c38bd
Merge branch 'terrastruct:master' into master
2023-06-03 13:57:52 +02:00
satoqz
430ff4cab9
join constraints with comma
2023-06-03 13:54:06 +02:00
gavin-ts
ee28cd8a55
Merge pull request #1370 from gavin-ts/multiple-box-selection
...
fix: dagre connection with backwards segment
2023-06-02 16:06:07 -07:00
Gavin Nishizawa
171d5357df
changelog
2023-06-02 15:59:42 -07:00
Gavin Nishizawa
a2ccb6a3dc
also update ShiftDescendants
2023-06-02 15:52:06 -07:00