19d90b8081
bump kitty lib ( #364 )
2023-09-01 06:07:27 +10:00
4837c52908
Redo how Spans are used from the Engine ( #359 )
...
* Redo how Spans are used from the Engine
I don't like all the Sentry-specific stuff we've got to work around, and
I want to add a bunch more spans and more cleanly end the transaction.
This isn't generic enough to pull out of this code (yet?), but we
clearly need some class of abstraction due to the highly async pattern
in the WebRTC code.
I want to add in more tags, but there are a lot of events we need to
wait on. I'd like to hook into the <video> 'play' eventListener, but
it's hard to do from all the way down in the Engine.
Signed-off-by: Paul R. Tagliamonte <paul@kittycad.io >
2023-08-31 12:59:46 -04:00
afcf820bdd
Franknoirot/fix onboarding units ( #366 )
...
* Fix up camera step copy and pane opacity for step
* Fix broken onboarding redirect with double slash
* Fix pane height for web bug from blur filter
I found a bug with browser behavior, at least on Chrome.
If you use `backdrop-filter: blur()` at all, you can't
have any children that overflow. The browser will ignore
any attempt and make those children max full-height.
This broke our side panels after I added blur, but
only in Chrome/browser target.
Signed-off-by: Frank Noirot <frank@kittycad.io >
* Fix bug with unit system
Changing the unit system didn't also change the
base unit in the onboarding anymore. It needed
updated to use XState the same way as `/settings`
Signed-off-by: Frank Noirot <frank@kittycad.io >
* Fix AppHeader item spacing when there's no toolbar
---------
Signed-off-by: Frank Noirot <frank@kittycad.io >
2023-08-31 10:41:24 -04:00
18959510f8
Franknoirot/expandable toolbar ( #343 )
...
* 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 styles to always center toolbar in header
2023-08-31 09:47:59 -04:00
798cbe968a
Franknoirot/live system theme ( #358 )
...
* Only show the Replay Onboarding button in file settings
Resolves #351 . Eventually we will implement more sophisticated
logic for which settings should be shown where.
Signed-off-by: Frank Noirot <frank@kittycad.io >
* Remove unnecessary console.log
Signed-off-by: Frank Noirot <frank@kittycad.io >
* Respond to system theme changes in real-time
If the user has their "theme" setting to "system".
I tried to use the [XState invoked callback approach](https://xstate.js.org/docs/guides/communication.html#invoking-callbacks ),
but I could not find any way to respond to the latest context/state values within the
media listener; I kept receiving stale state.
Signed-off-by: Frank Noirot <frank@kittycad.io >
---------
Signed-off-by: Frank Noirot <frank@kittycad.io >
2023-08-31 09:34:13 -04:00
9cbc088ba3
Only show the Replay Onboarding button in file settings ( #355 )
2023-08-31 08:27:05 -04:00
2693a5609b
Add subtle transitions to sidebars ( #344 )
2023-08-31 08:17:52 -04:00
3507da7b39
Tweak text constrast, blinking cursor ( #338 )
2023-08-31 08:17:26 -04:00
56cfb6d1f0
remove excessive serialisation ( #362 )
...
remove excessive serialization
2023-08-31 14:44:22 +10:00
2b974ef1de
Bump schemars from 0.8.12 to 0.8.13 in /src/wasm-lib ( #341 )
...
Bumps [schemars](https://github.com/GREsau/schemars ) from 0.8.12 to 0.8.13.
- [Release notes](https://github.com/GREsau/schemars/releases )
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GREsau/schemars/compare/v0.8.12...v0.8.13 )
---
updated-dependencies:
- dependency-name: schemars
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>
2023-08-30 21:06:40 -07:00
253f1992fd
Bump tauri-build from 1.3.0 to 1.4.0 in /src-tauri ( #282 )
...
Bumps [tauri-build](https://github.com/tauri-apps/tauri ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/tauri-apps/tauri/releases )
- [Commits](https://github.com/tauri-apps/tauri/compare/tauri-build-v1.3...tauri-build-v1.4 )
---
updated-dependencies:
- dependency-name: tauri-build
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>
2023-08-30 21:06:03 -07:00
76d3794b45
Bump bson from 2.6.1 to 2.7.0 in /src/wasm-lib ( #360 )
...
Bumps [bson](https://github.com/mongodb/bson-rust ) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/mongodb/bson-rust/releases )
- [Commits](https://github.com/mongodb/bson-rust/compare/v2.6.1...v2.7.0 )
---
updated-dependencies:
- dependency-name: bson
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>
2023-08-30 21:05:35 -07:00
e52c8c9db6
Bump kittycad from 0.2.22 to 0.2.23 in /src/wasm-lib ( #361 )
...
Bumps [kittycad](https://github.com/KittyCAD/kittycad.rs ) from 0.2.22 to 0.2.23.
- [Release notes](https://github.com/KittyCAD/kittycad.rs/releases )
- [Commits](https://github.com/KittyCAD/kittycad.rs/compare/v0.2.22...v0.2.23 )
---
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>
2023-08-30 21:05:21 -07:00
eb48d51309
rename lossy to unreliable ( #357 )
...
* rename lossy to unreliable
* fmt
* missed a rename
2023-08-31 07:39:03 +10:00
f3274e03ff
refactor callbacks ( #334 )
...
refactor callbacks
2023-08-30 15:19:37 -04:00
46937199a3
Start to clean up Sentry now that the app is back up again. ( #356 )
...
* Start to clean up Sentry now that the app is back up again.
Remove Sentry from local development I thought .env.development
was for dev.kc.io, not just local dev. Someone can add this to .local
if they need to test the Sentry stuff for now.
Signed-off-by: Paul Tagliamonte <paul@kittycad.io >
2023-08-30 13:14:52 -04:00
e2a4798c2f
Update production Sentry values ( #354 )
...
Signed-off-by: Paul Tagliamonte <paul@kittycad.io >
2023-08-30 10:52:26 -04:00
659e6d5b45
Add in Sentry, WebRTC Statistics ( #345 )
...
Collect WebRTC Statistical Information
Add in some instrumentation to track the duration of the setup phase,
and set up a job to make periodic use of the WebRTC Statistics API
to collect information about the connection (specifically, each track),
including transport-level information, timing information and bandwidth
information.
Sentry isn't the best place for that information, but it'll work until we
can work out a good long-term solution for it.
Signed-off-by: Paul Tagliamonte <paul@kittycad.io >
2023-08-30 10:34:14 -04:00
1fbd0ad675
Bump to v0.2.0 ( #352 )
v0.2.0
2023-08-29 22:19:09 -04:00
743ea1af4d
Kcl updates for snapshot stuff for cli ( #350 )
...
* updates for snapshot file
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-08-29 19:13:30 -07:00
2b1a556b81
Wrap await in try/catch to fix sign-in in tauri builds ( #349 )
...
Fixes #342
2023-08-29 21:45:40 -04:00
853389ba22
bump kittycad.rs ( #348 )
...
fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-08-29 16:31:19 -07:00
023af60781
fmt and move error stuff locally ( #347 )
...
* fmt
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* some fixups for errors
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* some fixups for errors
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix tsc
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-08-29 14:12:48 -07:00
18db6f2dc1
change name for initial publish to cargo ( #340 )
...
* change name for initial publish to cargo
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* add license
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 >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-08-29 12:35:45 -07:00
4afec15323
bugfix: don't show a toast when onboarding changes ( #346 )
2023-08-29 15:27:02 -04: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
6f0fae625f
quick fik ( #339 )
2023-08-29 10:28:27 +10:00
9bc47cf14a
fix export and prepare for cli lib ( #325 )
...
* add a test
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixup and make cleaner cfg options
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 >
* redo
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* rearrange
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 >
* bincode error
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* working
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* switch to bson
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* remove all bincode
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix clippy
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-08-28 14:58:24 -07:00
eea47aae1e
Bump to v0.1.0 ( #335 )
v0.1.0
2023-08-28 17:23:37 -04:00
25b9b4cf98
add isReducedMotion util ( #333 )
2023-08-28 18:48:31 +10:00
0f3f0b3b68
Docs macros ( #318 )
...
* initial port
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* start of macro
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 >
* more macros
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* new
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix clippy
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* start of generated docs
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 >
* fixups
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 >
* 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 >
* 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 >
* 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 >
* updates for objects
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixiups
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 >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* descriptions
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* descriptions
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 >
* remove vecs
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix clippy
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-08-25 13:41:04 -07:00
33eb6126d4
bump rust types ( #321 )
...
* get rid of noisy log
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix types in rust
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-08-25 11:29:18 -07:00
dccb83f614
add plausible ( #322 )
...
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-08-25 11:09:36 -07:00
b56a3398ad
Fix up message structure to match the new Engine messages ( #316 )
...
* Fix up message structure to match the new Engine messages
The types are still jacked up, I reckon we need to bump the node
@KittyCAD dep.
Signed-off-by: Paul Tagliamonte <paul@kittycad.io >
* update types
* fmt
* export tsc
* fmt again
---------
Signed-off-by: Paul Tagliamonte <paul@kittycad.io >
Co-authored-by: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch >
2023-08-25 14:16:37 +10:00
11658e2ff5
cleanup code we are no longer using ( #319 )
...
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-08-25 10:28:59 +10:00
de255acc59
Port executor ( #287 )
...
* parent
initial types
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 >
more port
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 >
fixups
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 >
fixups
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 >
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 >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
use the function
Signed-off-by: Jess Frazelle <github@jessfraz.com >
ipdates
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 >
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 >
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 >
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 >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
pipe sjhit
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
cleanup and pipes
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 >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
attempt to call the function
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 tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
better
Signed-off-by: Jess Frazelle <github@jessfraz.com >
add first function
Signed-off-by: Jess Frazelle <github@jessfraz.com >
start of stdlib
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
organize better
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
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 >
boilerplace
Signed-off-by: Jess Frazelle <github@jessfraz.com >
boilerplace
Signed-off-by: Jess Frazelle <github@jessfraz.com >
more functions
Signed-off-by: Jess Frazelle <github@jessfraz.com >
more stuff
Signed-off-by: Jess Frazelle <github@jessfraz.com >
more path segment functions
Signed-off-by: Jess Frazelle <github@jessfraz.com >
reorganize files
Signed-off-by: Jess Frazelle <github@jessfraz.com >
extrude boilerplate
Signed-off-by: Jess Frazelle <github@jessfraz.com >
extrude
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
sketch boilerplate
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
comment out extrude for now
Signed-off-by: Jess Frazelle <github@jessfraz.com >
more executor test passing
Signed-off-by: Jess Frazelle <github@jessfraz.com >
rename meta
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
cleanup unneeded deps
Signed-off-by: Jess Frazelle <github@jessfraz.com >
generate executor typoes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
remove path to node
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates for tests js
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
ignore wasm file
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
start of websocket connection
Signed-off-by: Jess Frazelle <github@jessfraz.com >
boilerplate for engine connection
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
send the modeling cmd
Signed-off-by: Jess Frazelle <github@jessfraz.com >
implement close
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 >
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 >
remove refid
Signed-off-by: Jess Frazelle <github@jessfraz.com >
remove refid
Signed-off-by: Jess Frazelle <github@jessfraz.com >
do sketch start
Signed-off-by: Jess Frazelle <github@jessfraz.com >
almost done w sketch port
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
add more tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix deserialize and tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests remove logging
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix the return type
Signed-off-by: Jess Frazelle <github@jessfraz.com >
make compile
Signed-off-by: Jess Frazelle <github@jessfraz.com >
more tests pass
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
expect any string
Signed-off-by: Jess Frazelle <github@jessfraz.com >
add failing test
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix the tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix more tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
replace wasm_execute
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix more tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
add more tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
make all tests pass
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fix remaining tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
add a warpper
Signed-off-by: Jess Frazelle <github@jessfraz.com >
start of server side ws/webrtc
Signed-off-by: Jess Frazelle <github@jessfraz.com >
more nonweb working
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 >
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 >
add test mock
Signed-off-by: Jess Frazelle <github@jessfraz.com >
fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com >
mutable engine
Signed-off-by: Jess Frazelle <github@jessfraz.com >
blocking snd engine cmd
Signed-off-by: Jess Frazelle <github@jessfraz.com >
updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
tmp
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* tmp
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix clippy
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* build wasm only
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix cargo builds
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* updates
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* more logging
Signed-off-by: Jess Frazelle <github@jessfraz.com >
* push
Signed-off-by: Jess Frazelle <github@jessfraz.com >
---------
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-08-24 15:34:51 -07:00
d33ddb2f1b
fix typo in function name, cleanup unused args ( #317 )
...
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-08-24 11:41:38 -07:00
a0730ded4e
Remove EventTarget from EngineConnection ( #315 )
...
Signed-off-by: Paul R. Tagliamonte <paul@kittycad.io >
2023-08-24 10:46:02 -04:00
afd2b507ef
refactor engine connection to use callbacks ( #314 )
...
Less type maintenence
2023-08-24 09:46:45 -04:00
8983a8231b
update for types only kittycad.rs ( #312 )
...
Signed-off-by: Jess Frazelle <github@jessfraz.com >
2023-08-24 07:08:15 +10:00
9dd708db5d
Make the timeout for a WebRTC/WebSocket connection pair configurable ( #310 )
...
Signed-off-by: Paul Tagliamonte <paul@kittycad.io >
2023-08-24 06:49:04 +10:00
c25dd1800c
Track the connection time in the console ( #311 )
...
In the future, this should be sent as telemetry, but at least this would
give us a bit of info about the latency sitatuion locally if we start
seeing the refresh happen a lot.
Signed-off-by: Paul Tagliamonte <paul@kittycad.io >
2023-08-23 15:29:03 -04:00
e56e7ba0fa
Detect when a video stream fails from the server ( #307 )
...
It's not clear /what/ is breaking the connection, but this will add
retry when it does. The term 'muted' here is a bit hard to grok, it's a
read-only indication of the *peer*'s state
https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/muted
Signed-off-by: Paul R. Tagliamonte <paul@kittycad.io >
2023-08-22 20:07:39 -04:00
dbe4e7faa6
Clean up after a closed EngineConnection ( #304 )
...
Because we gate a lot of things off this.foo?, leaving the closed
websocket/pc/etc in-place was causing a noisy log, and mucking with
reestablishing a broken connection.
While I was in here, I fixed a style nit from yarn.
Signed-off-by: Paul R. Tagliamonte <paul@kittycad.io >
2023-08-22 18:18:22 -04:00
148e125dd7
test parse errors are thrown ( #294 )
2023-08-22 13:28:02 +10:00
75bb91c7e1
Build out EngineConnection's retry and timeout logic ( #299 )
...
* Build out EngineConnection's retry and timeout logic
* Migrate the EngineConnection to be an EventTarget for other parts of the
code (mostly the EngineManager, but maybe others?) to listen to, rather
than having a boolean 'done' promise, and remove callbacks in favor of
the eventListeners.
* When a WebRTC connection is online, send a 'ping' command every 10 seconds.
The UDP stream likely needs something similar, but the connection is
maintained by the WebRTC video stream for now.
* Begin to migrate code to use a more generic object "send" helper
which can handle the JSON encoding, as well as connection retry logic
in the future.
* Add a watchdog to trigger 5 seconds after a connection is initiated
to cancel and retry the connection if it's not become ready by the
time it wakes up. This won't watch an established connection yet.
Signed-off-by: Paul R. Tagliamonte <paul@kittycad.io >
2023-08-21 16:53:31 -04:00
6809a46b6a
Bump to 0.0.4 ( #298 )
v0.0.4
2023-08-21 16:28:05 -04: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
25392824cb
Fix zoom to not jump anymore ( #272 )
...
* Remove scroll handling, honor zoom on drag + ctrl
* Add back ability to zoom with mouse wheel, but properly
* Add TODO for 'any' removal
* Update kittycad lib to remove 'any'
2023-08-21 10:52:41 -04:00