3b15bc12f7
Franknoirot/multi file ( #844 )
...
* Fix unrelated bug, settings button in the home sidebar
doesn't go to the home settings after my previous fixes to routes
* Turn on "Replay Onboarding" button in home settings
* Add icons
* Add Tooltip component
* Rough-in of sidebar styling and add initial File Tree
* Polish basic styling
* Show nested files and directories
* Add tests
* use camelCase for entrypointMetadata
* Add ability to switch files via links
* Revert "Improve Prop Typings for Modals. Remove instances of `any`. (… (#813 )
Revert "Improve Prop Typings for Modals. Remove instances of `any`. (#792 )"
This reverts commit 629f326f4c
.
* ffmpeg instructions (#814 )
* Formatting
* Remove folder names from display in app header
* Highlight current file, open folders it's within
* Navigate on double click, delete on Cmd + Esc
+ highlight focused folders
* Migrate to an XState machine, add create new file
* Add ability to create folders (with naive names)
+ remove command bar stuff for now
* Use route loader data to instantiate the kcl code
* Clean up some unused things
* Add ability to rename files
* Add ability to rename folders
* Add keyboard shortcuts for creating files/folders
* Tooltip style tweaks
* Polish + re-execute when switching files with a connection
* Reset code before navigating via file tree
* Don't invoke `readProject` if you're in a browser
* Show files and folders for projects on home page
* Don't highlight folders further down the file tree
* @jgomez720 and @jessfraz feedback:
+ indentation markers
+ proper file icon
+ bump down font size
+ touch up colors
* Tune down spacing, allow scroll overflow
* Fix formatting
* Update src/lib/tauriFS.ts
* Add a confirmation dialog when deleting
Signed-off-by: Frank Noirot <frank@kittycad.io >
---------
Signed-off-by: Frank Noirot <frank@kittycad.io >
Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch >
2023-10-16 13:28:41 -04:00
35b5ad7d9b
refactor selections ( #876 )
...
* migrate selection types
* extract selection event into selections.ts
* move code-mirror selection functions into selections.ts
* move more selection logit out of code mirror and engine connection
* add selection functions pure
* tidy up naming
* write a novel about how selections work
* final comments
2023-10-16 10:20:05 +00:00
8fad9ef3c2
fix vertex selection ( #869 )
2023-10-16 15:29:02 +11:00
b257b202c3
Add modal typing back in, and clean up old constraints code ( #865 )
...
* Revert "Revert "Improve Prop Typings for Modals. Remove instances of `any`. (… (#813 )"
This reverts commit 9822576077
.
* tsc
* refactor all buttons
* add parallel constraint
* typegen?
* add constraint removal constraint
* add perpendicular distance constraint
* state diagram layout
* fmt
* improve modal typing for setAngleLength
2023-10-15 21:54:38 +00:00
71d1bb70ef
Fix move only working first time ( #850 )
...
* nuke fixIdMappings
* update readme
* remove sourceRangeMap as it was redundant
repeated state already covered by the artifactMap
* bug fix, name conflict
* bug fix
* update artifact map when sketch is first created
* update artifact map for line generation too
* fmt
* update move state to allow selections
* allow for selection of vertices
some what hacky, but better than nothing
* unnecessary react hook dependency
* generic react linting
* move working for non-execute case
* block partial contrained things too for now
2023-10-13 09:47:46 -07:00
6c15a743a2
remove useAppMode hook file ( #829 )
2023-10-11 04:12:29 +00:00
d0930477ad
xstate migration ( #713 )
...
* Add basic Popover functionality
* Fix up light mode of basic bar
* Add support for 2D and 3D mode styling
* Turn toolbar buttons back on
* Remove ActionButton until after tool logic refactor
* Add transitions
* Add initial modeling machine
This is not a full description of how the modelingMachine should work,
but begins to replicate all of the features of our useStore in XState
instead of zustand.
* Add fillet tool flow
* Refactor: break out engine manager setup into hook
Preparing for making a wrapper component around the App
that will manage the engine manager at the same level as
the modelingMachine.
* Create modeling provider, move engine management to it
* Refactor: move other engine-related useEffect into hook
* Add TS schema, selection actions to modelingMachine
* Add barebones modeling machine to app
Only implementing adding to code-based selections in the text editor so far
* Update moved useEffect hook after merge
* give myself reminder TODO
* fix engineCommandManager waitForReady Promise
* enable devtools
* make utility class for handling default planes
* progresson startNewSketch and EditSketch
* add provider to tests
* too large of a commit
put all of the lang state into another singleton, but did lots of work on xstate too
* fix edit sketch ast issue
* re-execute on sketch exit
* prettierignore xstate typegen file
* add move tool button back in
* handle mouse commands with xState states
* fix move
* remove old imports
* big useStore delete
* fix some destructuring bugs
* start of constraint actions
* add horizontal/vertical distance constraints
* fix more destructuring errors
* fix
* add angle constaints
* add align vertically/horizontally constraints
* add length and equal length constraints
* rename modal states to be more cmd bar friendly
* add doesPipeHave query
* add another query
* add extrude states
* state machine clean up
* xstate layout tweak
* make xstate types happy
* Revamp cursor logic and place curors after ast mod
* Xstate merge (#796 )
* turning back on all planes (#720 )
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix more tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix stdlib
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 >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
compile
Signed-off-by: Jess Frazelle <github@jessfraz.com >
update sample code
Signed-off-by: Jess Frazelle <github@jessfraz.com >
re-enable the planes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix all tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
boilerplate
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Cut release v0.9.2 (#714 )
rust make default planes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
use the planes from engine
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixups
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 >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
negative args
Signed-off-by: Jess Frazelle <github@jessfraz.com >
diable camera
Signed-off-by: Jess Frazelle <github@jessfraz.com >
hide planes
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 >
updatress
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fmt
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Update src/hooks/useAppMode.ts
Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch >
Update src/hooks/useAppMode.ts
Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch >
cleanups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Bump kittycad from 0.2.26 to 0.2.27 in /src-tauri (#726 )
Bumps [kittycad](https://github.com/KittyCAD/kittycad.rs ) from 0.2.26 to 0.2.27.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](https://github.com/KittyCAD/kittycad.rs/compare/v0.2.26...v0.2.27 )
---
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>
Bump tauri-plugin-fs-extra from `b04bde3` to `6c7a4c0` in /src-tauri (#725 )
Bumps [tauri-plugin-fs-extra](https://github.com/tauri-apps/plugins-workspace ) from `b04bde3` to `6c7a4c0`.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases )
- [Commits](b04bde3461...6c7a4c0984
)
---
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>
Bump toml from 0.8.0 to 0.8.1 in /src-tauri (#724 )
Bumps [toml](https://github.com/toml-rs/toml ) from 0.8.0 to 0.8.1.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.0...toml-v0.8.1 )
---
updated-dependencies:
- dependency-name: toml
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>
Bump openapitor from `61a1605` to `d3e98c4` in /src/wasm-lib (#723 )
Bumps [openapitor](https://github.com/KittyCAD/kittycad.rs ) from `61a1605` to `d3e98c4`.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](61a16059b3...d3e98c4ec0
)
---
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>
Bump kittycad from 0.2.26 to 0.2.27 in /src/wasm-lib (#722 )
Bumps [kittycad](https://github.com/KittyCAD/kittycad.rs ) from 0.2.26 to 0.2.27.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](https://github.com/KittyCAD/kittycad.rs/compare/v0.2.26...v0.2.27 )
---
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>
Bump thiserror from 1.0.48 to 1.0.49 in /src/wasm-lib (#721 )
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.48 to 1.0.49.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.48...1.0.49 )
---
updated-dependencies:
- dependency-name: thiserror
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>
Bump expectorate from 1.0.7 to 1.1.0 in /src/wasm-lib (#712 )
Bumps [expectorate](https://github.com/oxidecomputer/expectorate ) from 1.0.7 to 1.1.0.
- [Release notes](https://github.com/oxidecomputer/expectorate/releases )
- [Commits](https://github.com/oxidecomputer/expectorate/compare/v1.0.7...v1.1.0 )
---
updated-dependencies:
- dependency-name: expectorate
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump clap from 4.4.4 to 4.4.5 in /src/wasm-lib (#711 )
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.4 to 4.4.5.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.4...v4.4.5 )
---
updated-dependencies:
- dependency-name: clap
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>
refactor 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 >
type improvements
* use new sketchmode no camera
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* js working better
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* start of negative planes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* tests and neg
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* images
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* norma;s
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* better initial load of planes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* ts
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 >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix tsc
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix edit sketch
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add regression test for 2d solid issue
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* show planes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix clippy
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* canecel in progress
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix ci as well
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 >
* stopping point
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 >
* refactor
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* it works
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Hide planes (#797 )
* hide planes in one go
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* update hide;
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* make tsc happy
* Make "Replay Onboarding" button available on home settings page (#804 )
* Fix unrelated bug, settings button in the home sidebar
doesn't go to the home settings after my previous fixes to routes
* Turn on "Replay Onboarding" button in home settings
* Use ONBOARDING_PROJECT_NAME in both places
* Fix formatting
* Cut release v0.10.0 (#803 )
Co-authored-by: Frank Noirot <frank@kittycad.io >
* Bump kittycad from 0.2.28 to 0.2.31 in /src-tauri (#798 )
Bumps [kittycad](https://github.com/KittyCAD/kittycad.rs ) from 0.2.28 to 0.2.31.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](https://github.com/KittyCAD/kittycad.rs/compare/v0.2.28...v0.2.31 )
---
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>
* Bump openapitor from `fa0345c` to `c122a9b` in /src/wasm-lib (#800 )
Bumps [openapitor](https://github.com/KittyCAD/kittycad.rs ) from `fa0345c` to `c122a9b`.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](fa0345c514...c122a9b1d6
)
---
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>
* Bump syn from 2.0.37 to 2.0.38 in /src/wasm-lib (#801 )
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.37 to 2.0.38.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.37...2.0.38 )
---
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>
* Bump winnow from 0.5.15 to 0.5.16 in /src/wasm-lib (#799 )
Bumps [winnow](https://github.com/winnow-rs/winnow ) from 0.5.15 to 0.5.16.
- [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md )
- [Commits](https://github.com/winnow-rs/winnow/compare/v0.5.15...v0.5.16 )
---
updated-dependencies:
- dependency-name: winnow
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>
* Bump tauri-plugin-fs-extra from `fa32d1a` to `9f27e6e` in /src-tauri (#802 )
Bumps [tauri-plugin-fs-extra](https://github.com/tauri-apps/plugins-workspace ) from `fa32d1a` to `9f27e6e`.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases )
- [Commits](fa32d1afa9...9f27e6e441
)
---
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>
* better plane selection
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* use the sketch plane id
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add todo w bug
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Improve Prop Typings for Modals. Remove instances of `any`. (#792 )
* Update typings for modals. Remove instances of `any`
* Fix generic type for creating modals
* cleanup other stuffs
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* make plane id available when selecting default plane
* few clean up things
* change enter sketch action order to make sure plane id is available to 'enter edit mode'
* Revert "Improve Prop Typings for Modals. Remove instances of `any`. (… (#813 )
Revert "Improve Prop Typings for Modals. Remove instances of `any`. (#792 )"
This reverts commit 629f326f4c
.
* ffmpeg instructions (#814 )
* fix some tsc stuff
* small tweak
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch >
Co-authored-by: Frank Noirot <frank@kittycad.io >
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jason Rametta <rametta@outlook.com >
* clean up
* fix test and tsc
* remove one more thing from useStore
* tweak state digrame layout
* fmt
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: Frank Johnson <frankjohnson1993@gmail.com >
Co-authored-by: Frank Noirot <frank@kittycad.io >
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com >
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jason Rametta <rametta@outlook.com >
2023-10-11 13:36:54 +11:00
9822576077
Revert "Improve Prop Typings for Modals. Remove instances of any
. (… ( #813 )
...
Revert "Improve Prop Typings for Modals. Remove instances of `any`. (#792 )"
This reverts commit 629f326f4c
.
2023-10-10 06:43:25 +11:00
629f326f4c
Improve Prop Typings for Modals. Remove instances of any
. ( #792 )
...
* Update typings for modals. Remove instances of `any`
* Fix generic type for creating modals
2023-10-06 16:34:21 -04:00
7aa2d63c21
Hide planes ( #797 )
...
* hide planes in one go
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* update hide;
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-10-05 19:54:31 -07:00
e1081b0ee6
turning back on all planes ( #720 )
...
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix more tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix stdlib
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 >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
compile
Signed-off-by: Jess Frazelle <github@jessfraz.com >
update sample code
Signed-off-by: Jess Frazelle <github@jessfraz.com >
re-enable the planes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix all tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
boilerplate
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Cut release v0.9.2 (#714 )
rust make default planes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
use the planes from engine
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixups
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 >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
negative args
Signed-off-by: Jess Frazelle <github@jessfraz.com >
diable camera
Signed-off-by: Jess Frazelle <github@jessfraz.com >
hide planes
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 >
updatress
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fmt
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Update src/hooks/useAppMode.ts
Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch >
Update src/hooks/useAppMode.ts
Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch >
cleanups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Bump kittycad from 0.2.26 to 0.2.27 in /src-tauri (#726 )
Bumps [kittycad](https://github.com/KittyCAD/kittycad.rs ) from 0.2.26 to 0.2.27.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](https://github.com/KittyCAD/kittycad.rs/compare/v0.2.26...v0.2.27 )
---
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>
Bump tauri-plugin-fs-extra from `b04bde3` to `6c7a4c0` in /src-tauri (#725 )
Bumps [tauri-plugin-fs-extra](https://github.com/tauri-apps/plugins-workspace ) from `b04bde3` to `6c7a4c0`.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases )
- [Commits](b04bde3461...6c7a4c0984
)
---
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>
Bump toml from 0.8.0 to 0.8.1 in /src-tauri (#724 )
Bumps [toml](https://github.com/toml-rs/toml ) from 0.8.0 to 0.8.1.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.0...toml-v0.8.1 )
---
updated-dependencies:
- dependency-name: toml
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>
Bump openapitor from `61a1605` to `d3e98c4` in /src/wasm-lib (#723 )
Bumps [openapitor](https://github.com/KittyCAD/kittycad.rs ) from `61a1605` to `d3e98c4`.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](61a16059b3...d3e98c4ec0
)
---
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>
Bump kittycad from 0.2.26 to 0.2.27 in /src/wasm-lib (#722 )
Bumps [kittycad](https://github.com/KittyCAD/kittycad.rs ) from 0.2.26 to 0.2.27.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](https://github.com/KittyCAD/kittycad.rs/compare/v0.2.26...v0.2.27 )
---
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>
Bump thiserror from 1.0.48 to 1.0.49 in /src/wasm-lib (#721 )
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.48 to 1.0.49.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.48...1.0.49 )
---
updated-dependencies:
- dependency-name: thiserror
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>
Bump expectorate from 1.0.7 to 1.1.0 in /src/wasm-lib (#712 )
Bumps [expectorate](https://github.com/oxidecomputer/expectorate ) from 1.0.7 to 1.1.0.
- [Release notes](https://github.com/oxidecomputer/expectorate/releases )
- [Commits](https://github.com/oxidecomputer/expectorate/compare/v1.0.7...v1.1.0 )
---
updated-dependencies:
- dependency-name: expectorate
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump clap from 4.4.4 to 4.4.5 in /src/wasm-lib (#711 )
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.4 to 4.4.5.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.4...v4.4.5 )
---
updated-dependencies:
- dependency-name: clap
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>
refactor 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 >
type improvements
* use new sketchmode no camera
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* js working better
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* start of negative planes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* tests and neg
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* images
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* norma;s
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* better initial load of planes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* ts
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 >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix tsc
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix edit sketch
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add regression test for 2d solid issue
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* show planes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix clippy
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* canecel in progress
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix ci as well
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 >
2023-10-05 14:27:48 -07:00
8a4e717565
Use absolute URLs to settings to avoid relative URL edge cases ( #781 )
...
* Create useAbsoluteFilePath hook
* Fix "report bug" link on Error page
* Replace relative URL to settings with absolute URL
* Replace other absolute file URLs to use common hook
* Use named const for default browser file name
* Fix UI tests that now rely on useRouteLoaderData()
Signed-off-by: Frank Noirot <frank@kittycad.io >
---------
Signed-off-by: Frank Noirot <frank@kittycad.io >
2023-10-04 18:00:55 -04:00
f3dd0469d5
re-execute when we remount the app ( #769 )
...
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-10-03 15:07:09 -07:00
a367be4e2b
add gizmo ( #738 )
...
* add gizmo
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix force ast execution
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-29 12:41:58 -07:00
61943055e5
refactor a bit before more rust port ( #739 )
...
* partially there
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-09-29 11:11:01 -07:00
c307ddd1b1
resize ( #706 )
...
* start of resize
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* refactor
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* check if 0
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 >
* will work w new lib
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* new types
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* handle resize effect
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch >
2023-09-25 19:49:53 -07:00
c271942897
remove errors ( #703 )
2023-09-25 07:28:03 +00:00
488e41ac0e
Fix docs link, test fixing relative URLs in Windows ( #606 )
...
* Fix #593 : don't prevent default on link click
* Use absolute/explicit path for settings
Trying to test fix for #594
* Broken: replace almost all relative URLs with absolute
* add relative jump backs util
* dot dot slash everywhere
* use usLocation not window.location
* the one that got away
* fmt 🤦♂️
---------
Co-authored-by: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch >
2023-09-19 13:55:14 +10:00
5297d3e142
both edit and move in one PR ( #566 )
...
* get the data for where lines are
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* make pretty
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fmt
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* new shit
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* beginning of stufff
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 >
* add new fns
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* basic function
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix ups to keep order
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* further
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* failing test
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* do it in rust
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* trait
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* start of ui integration
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* weird shit
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* generate close on close
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* start of constraint functions
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* helper functions
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* make work
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* constraints w ranges
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fmt
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* skip
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* comment
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* throw
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* make close a bit less sensitive in move scenario
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cleanup shit we didnt end up using
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* make it less hard to close
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Fix edit after sketch
* Move to plane for sketch
* Fix pathToNode for ast mods
* Fix exit sketch mode with escape
* Fix fmt since my editor did it wrong
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix link
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: Adam Sunderland <adam@kittycad.io >
2023-09-17 21:57:43 -07:00
e4f2e66029
inital rework of execution ( #528 )
...
* inital rework
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* update the program memory as well
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* cleanups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* code
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates for typing code
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixing
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* some fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* more fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* Only unselect line or move tool on escape, don't exit sketch
* Make scrollbar on toolbar smaller
* Add escape to exit sketch mode
* tidy up usestore
* clear scene on empty file
* disable sketch mode and re-execute on sketch loop close
* disable all but xy plane
* fix entering back into edit mode
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
Co-authored-by: Frank Noirot <frank@kittycad.io >
Co-authored-by: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch >
2023-09-15 21:35:48 +10:00
8db86a6783
Fix sketch mode planes visibility on enter, exit, enter ( #527 )
...
* Fix sketch mode planes visibility on enter, exit, enter
* Fix tsc
* Rename to something that makes more sense
2023-09-15 10:03:06 +10:00
3c76721159
Fix id source range mapping with path_get_info ( #517 )
2023-09-14 13:49:59 +10:00
6ac79ae645
Move app.tsx effects ( #513 )
...
* move useSetupEngineManager
* move code eval
* add comment
2023-09-14 10:47:55 +10:00
fd2ed8acbd
Sketch on plane WIP ( #309 )
...
create default planes wip
2023-09-12 22:36:47 +00:00
1be9b2612c
Add menu to code editor, put "Format code" and "Convert to variable" buttons in it ( #426 )
...
* Move format code button to menu item
by extending CollapsiblePanel to take an optional
menu React element.
Signed-off-by: Frank Noirot <frank@kittycad.io >
* Style tweaks
* Add shortcuts for format and cmd bar to codemirror
* Move convert to variable into code menu
Signed off by Frank Noirot <frank@kittycad.io >
* Add keyboard shortcut to convert to variable
* Remove convert to variable from toolbar
* Refactor: move TextEditor to its own component
* Set a better convertToVar shortcut
* Style and ergonomic polish for convertToVar modal
* Use named constants for shortcuts 😇
* Try yet another keyboard shortcut
* Fix formatting
* remove isShiftDown from app.tsx
---------
Signed-off-by: Frank Noirot <frank@kittycad.io >
Co-authored-by: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch >
2023-09-09 05:38:36 +00:00
152108f7a5
Refactor to just CommandBar and GlobalState ( #337 )
...
* Refactor to just CommandBar and GlobalState
* @Irev-Dev review: consolidate uses of useContext
2023-08-29 10:48:55 -04:00
32d928ae0c
Franknoirot/cmd bar ( #328 )
...
* Add XState and naive ActionBar
* Add basic dialog and combobox
* Selectable commands in command bar
* Add a few (broken) file actions
* Home commands
* Add subcommand descriptions, cleanup on navigate
* Refactor: move command creation and types to lib
* Refactor to allow any machine to add commands
* Add auth to command bar, add ability to hide cmds
* Refactor: consolidate theme utilities
* Add settings as machine and command set
* Fix: type tweaks
* Fix: only allow auth to navigate from signin
* Remove zustand-powered settings
* Fix: remove zustand settings from App
* Fix: browser infinite redirect
* Feature: allow commands to be hidden per-platform
* Fix: tsc errors
* Fix: hide default project directory from cmd bar
* Polish: transitions, css tweaks
* Feature: label current value in options settings
* Fix broken debug panel UI
* Refactor: move settings toasts to actions
* Tweak: css rounding
* Fix: set default directory recursion and reload 🐞
* Refactor: move machines to their own directory
* Fix formatting
* @Irev-Dev clean-up catches, import cleanup
2023-08-29 10:31:49 +10:00
965d2b23cf
Xstate Auth migration ( #250 )
...
* auth migrate progress, web only
* wrap home in state provider
* use consistent logged spelling
* use createActorContext
* typo
* fix wraping problem
2023-08-22 05:34:20 +10:00
6838e96723
Run yarn prettier, check it in CI ( #192 )
2023-07-26 11:47:18 -05:00
9cd3845975
Franknoirot/add walkthrough ( #189 )
...
* Barebones onboarding triggering and resetting
* Make onboarding route-based
* Add Camera step, highlighting camera feed
* Implement redirect behavior
* Unify navigation hooks
* Formatting
* add useResizeObserver, convert to custom hook
2023-07-25 10:40:26 -04:00
2d3c73d46a
asyncronise executor ( #115 )
...
* Intital async of executor
The execture now sends websocket message instead of calling functions
directly from the engine, When it does so it holds onto the id.
The engine is still returning geo/polys directly but I'm working make it
so that the UI doesn't need to know about that, so that we can switch
over the streaming ui.
Things left to do:
- it is still making both direct function calls and websockets, and the former should be removed.
- It does highlighting of segments and sourceRanges not through websockets and that needs to be fixed.
- Tests have not been adjusted for these changes.
- Selecting the head of a segment is not working correctly again yet.
* Rough engine prep changes (#135 )
* rough changes for engine prep
* mouse movements working again
* connect to engine for startsketch, line, close and extrude
2023-06-22 16:43:33 +10:00
0858d32c1e
more tauri stuff ( #128 )
2023-06-19 10:16:45 +10:00
a8b68bab6a
Users should be able to select points (not just lines) ( #97 )
...
* update selection datastructure to accomodate more selection metadata
* Users should be able to select points (not just lines)
2023-04-03 16:05:25 +10:00
0868eaa0f7
Use shift instead of capslock for multiple line selection ( #62 )
...
Use shift instead of caplock for multiple line selection
2023-03-15 19:03:55 +11:00
4ec0401118
Constraint setup + Horizontal & Vertical implementation ( #33 )
...
* start of horizontal/vert constraint
* horz vert constraint working with variable
* quick fix
* add tests for horz constraint
* clean up
2023-02-21 10:50:45 +11:00
ea05f804cc
Add multi-cursor support ( #30 )
...
* update execution of callExpressions
* tweak types to store multiple cursor ranges and hook up with artifact highlighting
* multi-cursor from 3d scene
Working but has to be capslock for the time being
* tweak pannel headers
* add issue to todo comment
2023-02-21 10:28:34 +11:00
248317f354
set cursor on geo click
2023-01-06 09:07:22 +11:00