Commit Graph

2741 Commits

Author SHA1 Message Date
0eb780d30f Fix flake in double click editor 2024-12-16 18:19:55 -05:00
4ac6feba91 Stop snapshots of exports (already test in e2e) 2024-12-16 18:19:55 -05:00
26a293a57a Try CI again 2024-12-16 18:19:55 -05:00
4869387cef Add an f-ton of shit because playwright doesnt want S P R E A D 2024-12-16 18:19:55 -05:00
92b56e28b4 Remove to-electron script 2024-12-16 18:19:55 -05:00
b68a2f2d86 Correct all tsc errors 2024-12-16 18:19:55 -05:00
449cbb868f Fix a ton of syntax changes and deflake 2 more tests (pain) 2024-12-16 18:19:55 -05:00
d9c081611f Pass segment-overlays (minor ache) and ability to switch to web if needed :) 2024-12-16 18:19:55 -05:00
c31a9a4a88 Pass text-to-cad tests 2024-12-16 18:19:55 -05:00
f66f8a3aa7 Pass app header tests 2024-12-16 18:19:55 -05:00
2fff3c5339 Pass samples loading tests 2024-12-16 18:19:55 -05:00
e63477de79 Pass perspective-toggle, interesting note 2024-12-16 18:19:55 -05:00
b9a7ca26d0 Pass another painful spec suite: testing-settings 2024-12-16 18:19:55 -05:00
7a448760e7 Merge main (tests changed x_x) and pass all constraints.spec tests (pain) 2024-12-16 18:19:55 -05:00
9a3075533b Extreme time eaten by gizmo test fixes. All passing now. 2024-12-16 18:19:55 -05:00
04edc3a332 Pass camera-movement.spec tests 2024-12-16 18:19:55 -05:00
aefece4dae Pass network and connection tests 2024-12-16 18:19:55 -05:00
35431279f5 Pass regresion-tests.spec tests 2024-12-16 18:19:55 -05:00
f81dc5d96e Pass projects, fought hard with filechooser 2024-12-16 18:19:55 -05:00
841db08c59 Pass machine.spec tests 2024-12-16 18:19:55 -05:00
98f0897e75 Painfully fix hardcoded coordinates in point-click.spec 2024-12-16 18:19:55 -05:00
343836d552 Corrected a fixme in file-tree.spec! 2024-12-16 18:19:55 -05:00
a2bd4d1e0f Pass onboarding tests 2024-12-16 18:19:55 -05:00
cd3c4498c9 Pass file tree tests 2024-12-16 18:19:55 -05:00
13c82c027f Pass editor tests 2024-12-16 18:19:55 -05:00
d8a21dd214 Pass desktop export tests 2024-12-16 18:19:55 -05:00
4ac11ecf42 Pass debug pane tests 2024-12-16 18:19:55 -05:00
e50683af5b Completely fix code mirror text navigating for tests 2024-12-16 18:19:55 -05:00
4c28af615c fmt 2024-12-16 18:19:55 -05:00
249e35f9e0 Pass command bar tests 2024-12-16 18:19:55 -05:00
1a84da4df5 Pass can-sketch-on-all-planes... with ease 2024-12-16 18:19:55 -05:00
d01832e86c Pass various.spec.ts, by far the hardest one 2024-12-16 18:19:55 -05:00
b1616f9c6b Go back to fix up sketch-tests test 2024-12-16 18:19:55 -05:00
634cd3c5da Pass testing-selections.spec.ts 2024-12-16 18:19:54 -05:00
1e5f89bf65 Got testing-segment-overlays passing 2024-12-16 18:19:54 -05:00
5f3402990e Try out 4 workers 2024-12-16 18:19:54 -05:00
8f0f4b539c Get sketch-tests.spec.ts passing in electron 2024-12-16 18:19:54 -05:00
18f4da63a2 Add shebang to script and add macos-14-large as a target 2024-12-16 18:19:54 -05:00
c03c0331f3 Pass the correct param to playwright-electron.sh 2024-12-16 18:19:54 -05:00
6bf8bd9b5c Move all tests over to electron 2024-12-16 18:19:54 -05:00
3dd98ae1d5 Implements boolean logical and/or in kcl (#4678)
* redoing bool logic impl on latest main

* adding snapshot tests (removing .new)

* removing accidental change smh:(

* accepting client side scene snapshot

* accepting png snapshot and triggering ci

* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)

* accepting png again?

* A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest-8-cores)

* accepting grid visibility snapshot

* A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest-8-cores)

* accepting png snapshot

* A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest-8-cores)

* accepting png snapshot

* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)

* accepting png snapshot

* rerunning simtest creation to get ops.snap files

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Tran <jonnytran@gmail.com>
2024-12-16 17:33:08 -05:00
a46e0a0fe7 Support completions from import statements (#4768)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2024-12-17 10:48:38 +13:00
8f9dc06228 Whole module imports (#4767)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2024-12-16 20:38:32 +00:00
fa22c14723 Reserve syntax for units of measure (#4783)
* Allow underscores but only for un-referenced names

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Support numeric suffixes for UoM types

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* UoM type arguments

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* warnings -> non-fatal errors

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* type ascription

Signed-off-by: Nick Cameron <nrc@ncameron.org>

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
2024-12-17 09:01:51 +13:00
1d39983b08 Change KCL completion to use new object/record syntax (#4815) 2024-12-16 18:29:50 +00:00
da301ba862 Add tracking of operations for the feature tree (#4746)
* Add operations tracking for the timeline

* Change to only track certain stdlib functions as operations

* Update gen files

* Add operations to simulation snapshot tests

* Add tracking of positional function calls

* Fix generated field names to be camel case in TS

* Fix generated TS field names to match and better docs

* Fix order of ops with patternTransform

* Fix sweep to be included

* Add new expected test outputs

* Add tracking for startSketchOn

* Update ops output to include startSketchOn

* Fix serde field name

* Fix output field name

* Add tracking of operations that fail

* Add snapshots of operations even when there's a KCL execution error

* Add ops output for error executions

* Add operations output to executor error

* Update op source ranges

* Remove tracking of circle() and polygon() since they're not needed

* Update output without circle and polygon

* Fix to track patternCircular3d and patternLinear3d

* Remove tracking for mirror2d

* Update ops output

* Fix to track the correct source range of function definitions

---------

Co-authored-by: Frank Noirot <frank@zoo.dev>
2024-12-16 13:10:31 -05:00
efe8089b08 Revert multi-profile (#4812)
* Revert "multi-profile follow up. (#4802)"

This reverts commit 2b2ed470c1.

* Revert "multi profile (#4532)"

This reverts commit 04e586d07b.

* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)

* Re-run CI after snapshots

* Re-run CI after snapshots

* A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest-8-cores)

* Re-run CI after snapshots

* Add `fixme` to onboarding test

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
v0.32.0
2024-12-16 10:34:11 -05:00
49de3b0ac9 get ready to bump (kcl-lib and friends) world (#4794)
get ready to bump world

Signed-off-by: Jess Frazelle <github@jessfraz.com>
2024-12-16 18:37:03 +11:00
2b2ed470c1 multi-profile follow up. (#4802)
* multi-profile work

* fix enter sketch on cap

* fix coderef problem for walls and caps

* allow sketch mode entry from circle

* clean up

* update snapshot

* Look at this (photo)Graph *in the voice of Nickelback*

* trigger CI

* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)

* add test

* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)

* fix how expression index is corrected, to make compatible with offset planes

* another test

* tweak test

* more test tweaks

* break up test to fix it hopfully

* fix onboarding test

* remove bad comment

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-16 18:36:48 +11:00
96652a0c48 Fix onboarding rendering (#4789)
* fix onboarding rendering

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* empty string

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest-8-cores)

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)

* empty

* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)

* empty

* can be off by 20

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* can be off by 20

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
v0.31.0 nightly-v24.12.14 nightly-v24.12.16 nightly-v24.12.15
2024-12-14 01:35:34 +00:00