* Fix `yarn test`: Move canvas to deps so it gets installed on CI
* Try again
* Back to dev
* Test node 20
* Remove canvas, add jest-canvas-mock
* Back to node v18
* Refactor test functions to later enable cilcks
* Add not-so-clean way to get the combined snap
* Add linux combine snap
* Refactor, add darwin snapshots
* Add linux snapshots
* Remove darwin snapshots
* Disable tracking of darwin snapshots
* WIP reenable failing test
* WIP tests
* Add rich viewer for files (non-diff)
Fixes#74
* Fix test typo
* WIP toolbar and proper blob element injection
* Add working Preview/Code/Blame toggle
* Add missing aria-label
* Add e2e test and classic/reactUI support
* Re-enable headless e2e
* Update e2e snap for linux
* Lint
* Improve style a bit
* Reorg and cleanup
* Fix other centering issue on .dae file sample
* Clean up redundant three things, add dumb recenter button
* Two refs
* Cleanup and working Recenter on 2-up mode
* Add change detection, clean up
* Clean up
* Revert common sphere compute and cam position/zoom tweaks to avoid clipping
* Update darwin e2e snapshot (we see the clipping pb go away!)
* Update linux e2e snaps
* Migrate away from CRA
Fixes#128
* Add vitest
* Fix github client, still issues with kittycad
* Working e2e tests when kittycad.ts functions don't call node-fetch
* Remove cross-fetch that was causing issues in the browser (not sure why)
* Node 18, rm custom kittycad.ts, replace node-fetch
* Clean up
* Clean up and lint
* Draft: WIP observer
* Clean up, only one react root
* Typescript 4.9.5
* Clean up
* Better name
* WIP: csg dependencies, error in console
* WIP: working common/additions, no colors yet
* Working colors
* Prepare for toggle between side by side and unified
* Fix position, add 5% transparency for unchanged
* Clean up
* Toggle to enable unified or side by side
* Clean up and better material for standard view
* Update src/components/diff/CadDiff.tsx
Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch>
* Remove irrelevant comment
* Make Viewer3D take children
* Introduce BaseModel for camera view stuff
* Comment and clean up
* Remove check needed by an old test
* Add 'Experimental' Beaker icon to Unified button
---------
Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch>
* Before and after view are flipped
Fixes#94
* Test e2e artifacts upload
* Revert "Test e2e artifacts upload"
This reverts commit bcecfd5fc2aa22e108a83a00e3f33f698b4ab294.
* Prettier
* OBJ as the new default viewer format
* Replace deprecated btoa
* Clean up
* Hide existing STL toggle
* No Box if no before/after
* Adds error message when no geometry
* Remove await on GetFileDiff
Progress towards #28
* n roots instead of 2n
* Lint
* Trying something with portals
* Portal component, one root
* Fix element clean up, prep for later tasks
* Draft: toolbar element injection
* Working click to select rich or source
* Actually working now
* Fixes
* Clean up
* Polishing here and there
* Add SourceRichToggle component
* e2e test with toolbar
* Update linux snapshots
* Remove failing test (WIP)
* Clean up
* Remove await on GetFileDiff
Progress towards #28
* n roots instead of 2n
* Lint
* Trying something with portals
* Portal component, one root
* Fix element clean up, prep for later tasks
* Setup playwright for e2e tests
Fixes#12
* Chromium
* First working test, clean up
* Merge actions
* New headless mode
* Clean up, bugfix
* Bug fixes, cleaner sendMessage code
* Rebase
* Rebase
* Load tokens and open public page
* Test CI
* Working test
* Lint
* Try to address flakyness
* Clean up test
* Comment
* No export
* More clean up
* More clean up
* Adds authorized pop up test
* Adds comment
* Add snapshots
* New linux screenshots
* cra boilerplate
* Dummy chrome extension
* eslint and working url popup
* content script and dummy messaging
* replace .obj diffs with dummy test
* comment and in-order multiple type support
* get pull api data from url
* README title and desc
* api/elements match with filename check
* github token signin signout
* manifest v3, service request for CORS
* working kittycad api in service worker
* First real background message
* Clean up, better types
* Fix settings
* multiservice settings
* Tweaks
* WIP: download file
* Working downloads and kittycad conversion
* Inject react, add three dependencies
* Working stl canvas
* primer for github-like style
* Loading before model
* diff colors
* colorMode auto
* Popup clean up
* clean up
* Working loading
* Logos
* Add GitHub CI
* Working test
* yarn test in ci
* Little tweak
* Update README
* component tests
* Better test
* Clean up
* UserCard test
* working caddiff test
* Note
* Rename App to Settings
* storage test
* Clean up
* Clean up content script
* further content cleanup
* Fix test
* Little tweaks to modelview
* More tests and testing
* Regex fix
* LFS file download test
* prettier config from kittycad/website
* Little tweaks
* comment
* log level
* Tweaks
* README update
* more prettier
* comment
* Irrelevant comment
* No .vscode and readme update
* Remove .vscode
* Package.json update after vscode removal
* Working commit diff
* Start cleaning up
* Clean up
* Add artifact upload
* return when matched
* Better test
* Clean up
* prettier
* Clean up html snippet
* cra boilerplate
* Dummy chrome extension
* eslint and working url popup
* content script and dummy messaging
* replace .obj diffs with dummy test
* comment and in-order multiple type support
* get pull api data from url
* README title and desc
* api/elements match with filename check
* github token signin signout
* manifest v3, service request for CORS
* working kittycad api in service worker
* First real background message
* Clean up, better types
* Fix settings
* multiservice settings
* Tweaks
* WIP: download file
* Working downloads and kittycad conversion
* Inject react, add three dependencies
* Working stl canvas
* primer for github-like style
* Loading before model
* diff colors
* colorMode auto
* Popup clean up
* clean up
* Working loading
* Logos
* Add GitHub CI
* Working test
* yarn test in ci
* Little tweak
* Update README
* component tests
* Better test
* Clean up
* UserCard test
* working caddiff test
* Note
* Rename App to Settings
* storage test
* Clean up
* Clean up content script
* further content cleanup
* Fix test
* Little tweaks to modelview
* More tests and testing
* Regex fix
* LFS file download test
* prettier config from kittycad/website
* Little tweaks
* comment
* log level
* Tweaks
* README update
* more prettier
* comment
* Irrelevant comment
* No .vscode and readme update
* Remove .vscode
* Package.json update after vscode removal