af1c2c7ae1
Update KNOWN-ISSUES.md
2024-02-23 13:19:03 -08:00
ff38ae091e
Replace number command bar arg input type with kcl expression input ( #1474 )
...
* Rename useCalc
* Move CommandBar so it has access to settings and kcl
* Create codemirror variable mention extension
* Make project path a dep of TextEditor useMemo
* Add incomplete KCL input for CommandBar
to replace current number arg type
* Add previous variables autocompletion to kcl input
* Fix missed typos from merge
* Working AST mods, not working variable additions
* Add ability to create a new variable
* Add icon and tooltip to command arg tag if a variable is added
* Polish variable naming logic, preserve when going back
* Allow stepping back from KCL input
* Don't prevent keydown of enter, it's used by autocomplete
* Round the variable value in cmd bar header
* Add Playwright test
* Formatting, polish TS types
* More type wrangling
* Needed to fmt after above type wrangling
* Update snapshot tests to account for new variable name autogeneration
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)
* Merge branch 'main' into cmd-bar-make-variable
* Update all test instances of var name with number index after merge with main
* Partial revert of "Polish variable naming logic, preserve when going back"
This reverts commit dddcb13c36
.
* Revert "Update all test instances of var name with number index after merge with main"
This reverts commit 8c4b63b523
.
* Revert "Update snapshot tests to account for new variable name autogeneration"
This reverts commit 11bfce3832
.
* Retry a refactoring of findUniqueName
* minor feedback from @jgomez720
- better highlighting of kcl input
- consistent hotkeys
- disallow invalid var names
* Polish stepping back state logic
* Fix tests now that keyboard shortcut changed
* Remove unused imports
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)
* Fix tests
* Trigger CI
* Update src/components/ProjectSidebarMenu.test.tsx
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)
* re-trigger CI
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch >
2024-02-23 11:24:22 -05:00
1dd7c95b8c
Sketch on arc error ( #1495 )
...
* add error for sketch on arc
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* generate std lib
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-02-22 19:07:17 -08:00
20042ec87c
Release derive-docs 0.1.7 ( #1491 )
...
Release derive-docs 0.1.7
2024-02-22 21:24:02 +00:00
fccf3508a7
Trim space off the return type before continuing ( #1487 )
...
* Trim space off the return type before continuing
My nightly compiler has a space at the end that the stable compiler
doesn't. This will trim space, if it exists, before removing the generic
bracket, which will work for both stable and current nightly, future
stable.
In the future this may be worth doing a trim on "> " but I don't reckon
today is that day.
Signed-off-by: Paul R. Tagliamonte <paul@kittycad.io >
2024-02-22 15:59:51 -05:00
8dab5527b8
bump ahash to fix the nightly builds ( #1488 )
...
Specifically, i'm hitting https://github.com/tkaitchuck/aHash/issues/200
ahash FTBFS because of https://github.com/rust-lang/rust/pull/117372
which is fixed in 0.8.7.
This rolls us forward which should fix future builds.
2024-02-22 15:30:03 -05:00
f72eb0e8a7
Cube example didn't actually work ( #1478 )
...
* Cube example didn't actually work
* Bump h2 in fuzz tests
2024-02-22 12:03:05 -06:00
40479d177f
Bump ip from 1.1.8 to 1.1.9 ( #1471 )
...
Bumps [ip](https://github.com/indutny/node-ip ) from 1.1.8 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.8...v1.1.9 )
---
updated-dependencies:
- dependency-name: ip
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com >
2024-02-22 04:59:03 -05:00
b88359dee2
Move discord automation into ci.yml ( #1479 )
...
* updating ci.yml with discord release automation
* removed line
2024-02-21 17:35:35 -07:00
f4c0347104
Cut release v0.15.2 ( #1467 )
...
Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch >
v0.15.2
2024-02-22 08:36:38 +11:00
ad36b5f5fa
add make release bash script ( #1475 )
...
* add make release bash script
* read me details
* uncomment git uncommited changes
* typo
* tweaks
* use package.json as source of truth, not git tags
2024-02-22 07:01:45 +11:00
b798cf19d3
Bump kcl-lib ( #1477 )
...
* bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Revert "bump version"
This reverts commit 44e0b6ac6e
.
* bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-02-21 11:05:10 -08:00
7cfa897561
add modulo and power operators ( #1341 )
...
* add modulo and power operators
* format
* point to main instead of serena branch
* reset cargo lock
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)
---------
Co-authored-by: gserena <serena@zoo.dev >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-21 11:11:57 -05:00
0d8804005a
improve vitest hang ( #1470 )
...
* improve vitest hang
* fmt
* make types happy
* fix types
* fix
2024-02-21 13:23:50 +11:00
cbd26d29fa
updates for units ( #1458 )
...
* updates for units
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* scene units
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* start passing in units to tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* units tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add more images
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* hacky code for now
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* get settings context outside of react
* fmt
* pull through settings
* fix
* fmt
* move camera with units (#1461 )
* temp patch tsc
* update kittycad.rs
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* trait
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix compile
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* update screenshots
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* execute on settings change
* Update src/clientSideScene/sceneInfra.ts
* try zoom
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* more shit image
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* new screenshots
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* udpates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* update cam
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* new
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates for units
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixles
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* ;scale
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fmt
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* tweak playwright draft segments test
* another test tweak
* last test tweak
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)
* update default plane snapshot scale
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)
* number tweaks for playwright flow checks
* up[date
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-20 17:55:06 -08:00
e501a542ac
Add arc icon, replace settings icon ( #1469 )
...
* Add icons for arc and settings
* Update arc icon in toolbar
* Use settings icon instead of gear for settings
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-20 18:34:03 +00:00
7cb4f4d101
deselect line bug ( #1457 )
2024-02-20 11:04:42 +11:00
1162f5f4c4
Bump kcl-lib ( #1455 )
...
* update version
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* update version
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-02-19 14:23:16 -08:00
3975e6d8f5
auto complete test more robust ( #1456 )
2024-02-20 09:22:33 +11:00
d68d7a7e00
Cut release v0.15.1 ( #1452 )
...
cut release v0.15.1
v0.15.1
2024-02-20 08:10:26 +11:00
b135b97de6
Code mirror plugin lsp interface ( #1444 )
...
* better named dirs
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* move some stuff around
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* more logging
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* less logging
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add fs in
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* file reader
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* workspace
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* start of workspace folders
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* start of workspace folders
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cleanup workspace folders
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cleanup logs
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-02-19 12:33:16 -08:00
de5885ce0b
Enable/disable "start sketch", "edit sketch" and "extrude" appropriately ( #1449 )
...
* test that fails for when to enable extrude and sketch features
* add fix to make test pass
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-19 17:23:03 +11:00
ad7c544754
draft line snapshots ( #1445 )
...
* draft line snapshots
Make sure they don't get broken at some point, visual regression is only way to test these really
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-19 13:18:31 +11:00
4d77875bdc
mouse listners should be reset outside of sketch ( #1442 )
...
* mouse listners should be reset outside of sketch (only orbit controls are needed) and also check mouse button
* tweak
2024-02-19 12:41:36 +11:00
3377923dcb
fix flacky auto complete test ( #1443 )
2024-02-19 12:15:57 +11:00
c6005660c8
jsxify svgs ( #1441 )
2024-02-19 10:20:02 +11:00
66e62c6037
cancel execution on file change ( #1440 )
2024-02-19 09:23:18 +11:00
0a4a517bb4
try arm latest ( #1439 )
2024-02-17 22:12:39 -08:00
70f3ded7e2
Cut release v0.15.0 ( #1436 )
...
Bump app version to v0.15.0
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com >
v0.15.0
2024-02-16 22:43:28 -05:00
095108252b
snapshot extrude on each default plane ( #1438 )
...
* snapshot extrude on each default plane
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-17 12:19:46 +11:00
20b1c93f12
no camera sketch on face ( #1412 )
...
* no camera sketch on face
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 >
* fix
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* new screenshots
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Revert "A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)"
This reverts commit e839d7101f
.
* Revert "fixes"
This reverts commit 3df8b63e3a
.
* updates
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>
2024-02-16 16:42:01 -08:00
3747a1b993
respect camera target ( #1421 )
...
* respect camera target
* make default planes scale
* A snapshot a day keeps the bugs away! 📷 🐛 (OS: ubuntu)
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-16 12:04:24 -08:00
198feb7d44
Bump syn from 2.0.48 to 2.0.49 in /src/wasm-lib ( #1432 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.48 to 2.0.49.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.48...2.0.49 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 09:55:39 -08:00
c7a8b8313e
Bump tauri-plugin-fs-extra from 67405ae
to 01211ff
in /src-tauri ( #1430 )
...
Bumps [tauri-plugin-fs-extra](https://github.com/tauri-apps/plugins-workspace ) from `67405ae` to `01211ff`.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases )
- [Commits](67405aed06...01211ff075
)
---
updated-dependencies:
- dependency-name: tauri-plugin-fs-extra
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 09:55:21 -08:00
1576dc3256
Bump openapitor from 88b05a6
to 8db292e
in /src/wasm-lib ( #1433 )
...
Bumps [openapitor](https://github.com/KittyCAD/kittycad.rs ) from `88b05a6` to `8db292e`.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](88b05a638f...8db292eaa7
)
---
updated-dependencies:
- dependency-name: openapitor
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 09:55:02 -08:00
341a3b7609
Bump kittycad from 0.2.50 to 0.2.53 in /src-tauri ( #1431 )
...
Bumps [kittycad](https://github.com/KittyCAD/kittycad.rs ) from 0.2.50 to 0.2.53.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](https://github.com/KittyCAD/kittycad.rs/compare/v0.2.50...v0.2.53 )
---
updated-dependencies:
- dependency-name: kittycad
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 09:54:48 -08:00
ecb42b89a6
check cam-far when adding sketch segments ( #1434 )
...
Co-authored-by: Frank Noirot <frank@kittycad.io >
2024-02-16 12:15:35 -05:00
f00ee3a44a
Revert "File based settings ( #1361 )" ( #1435 )
...
This reverts commit 602e7afef6
.
2024-02-16 09:09:58 -05:00
900e3b96ad
CI for macOS on M1 runners ( #1428 )
...
* CI for macOS on M1 runners
Fixes #1427
* Install x86 target for Universal builds
2024-02-16 08:30:39 -05:00
15fae05659
Ghost text ( #888 )
...
* copilot
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* refactor layout for copilot lsp
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* start of server
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* more clippy
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cleanup code
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* compile wasm
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* make work w wasm
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* clippy
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cleanup unwraps
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 >
* tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* point to correct things
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 >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updaes
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 >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* shared backend features
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* framework for workspace
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates;
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cleanup;
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 >
* cleanup lints
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fmt
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-02-15 13:56:31 -08:00
2730b6d152
Prevent default on backspace when not in a text field ( #1367 )
2024-02-15 19:25:26 +00:00
602e7afef6
File based settings ( #1361 )
...
* Rename GlobalStateContext to SettingsAuthContext
* Naive initial impl of settings persistence to file system
* Update app identifier in tauri config
* Add "show in folder" tauri command
* Load from and save to file system in Tauri app
* Add documents drive to tauri permission scope
* Add recursive prop to default dir selection dialog
* Add success toast to web restore defaults action
* Add a way to validate read-in settings
* Update imports to use separate settings lib file
* Validate localStorage-loaded settings, combine error message
* Add a e2e test for validation
* Clean up state state bugs
* Reverse validation looping so new users don't error
* update settingsMachine typegen to remove conflicts
* Fmt
* Fix TS errors
2024-02-15 14:14:14 -05:00
d9bcadb062
fix animation ( #1426 )
...
* fix animation to vertical quaternion
* test tweak
2024-02-15 20:32:59 +11:00
19f669b94c
fix zoom cam change ( #1420 )
2024-02-15 09:13:37 +11:00
d9ef471385
Clean up new artifact types ( #1419 )
...
* clear up circular pattern and upgrade lib
* clean up imported object
2024-02-15 07:24:54 +11:00
39f8b306a2
Update KNOWN-ISSUES.md
2024-02-13 15:25:49 -08:00
19925d22c1
rename scene classes for clarity ( #1409 )
...
* rename for clarity
* typo
* make coverage happ+
somewhat pointless since we don't use coverage because its not complete with both vitest and playwright
* local storage issue
* fmt
* fix
2024-02-14 08:03:20 +11:00
e1af4b4219
add known issues file ( #1408 )
...
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Update KNOWN-ISSUES.md
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2024-02-13 12:20:32 -08:00
c699611f5b
Pull Circular patterns through to App ( #1405 )
...
* debugging steps
* add testing
* Update src/wasm-lib/tests/executor/main.rs
* generate docs and fmt
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: gserena <serena@zoo.dev >
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com >
Co-authored-by: Jess Frazelle <github@jessfraz.com >
2024-02-13 11:20:49 -08:00
00ede7ec1a
clean up ( #1407 )
2024-02-14 06:19:52 +11:00