Commit Graph

17 Commits

Author SHA1 Message Date
3bf47a10b8 Fix blob viewer (new UI) (#521)
* Fix blob viewer (new UI)
Fixes #371

* Add step test and update snaps

* Better selector
2024-01-16 04:39:38 -05:00
2468b4900a Bump three-stdlib from 2.23.13 to 2.28.11 (#489)
* Bump three-stdlib from 2.23.13 to 2.28.11

Bumps [three-stdlib](https://github.com/pmndrs/three-stdlib) from 2.23.13 to 2.28.11.
- [Release notes](https://github.com/pmndrs/three-stdlib/releases)
- [Changelog](https://github.com/pmndrs/three-stdlib/blob/main/release.config.js)
- [Commits](https://github.com/pmndrs/three-stdlib/compare/v2.23.13...v2.28.11)

---
updated-dependencies:
- dependency-name: three-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix import

* Add 'canvas' as dev dep

* Update snaps (the colors look broken now)

* Downgrade to three 154

* Update snaps

---------

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-01-07 07:04:16 -05:00
a77df164b1 Fix snapshots, update CI (#491)
* Fix snapshots, update CI

* New snapshot, --retries 1

* Change token name
2024-01-05 06:07:06 -05:00
6423e06113 Update kittycad lib (#363)
* Update kittycad lib

* Change output for output["output.obj"]

* Update vitest

* Update e2e snaps

* Disable two tests

* Investigation
2023-09-01 05:02:16 -04:00
ae3149e3cb The commit view *within* a PR doesn't get injected (#282)
* The commit view *within* a PR doesn't get injected
Fixes #280

* Add specific return for consistency

* Better test

* Add e2e test

* Typo
2023-07-13 06:49:55 -04:00
82cb3e4985 Update e2e blob test samples (#298) 2023-07-09 20:09:18 -04:00
558639d6cb Add e2e coverage for Combined mode (#259)
* 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
2023-06-28 05:23:51 -04:00
e6daf99921 Fix native STL Blob Preview (#260)
* Fix existing STL Preview tab

* Add linux snapshots (height 500 and new stl one)

* Add comment
2023-06-28 05:23:28 -04:00
ebafdecae7 Add rich viewer for files (non-diff) (#246)
* 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
2023-06-23 16:37:02 -04:00
8f7d4697de Add Recenter button (#233)
* 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
2023-06-15 20:14:19 -04:00
41184adf91 Add e2e test with commit on a .dae file as LFS (#227)
* Add e2e test with commit diff with a .dae file as LFS
Fixes #168

* Add linux snapshot

* Add darwin snapshot
2023-06-13 18:43:50 -04:00
1f62e6f34c More centering fixes (#200)
* More centering fixes

* Fix types

* Break out functions and add tests

* Clean up and lint

* Add missing import

* Add added/removed boundingsphere defaults

* Update darwin e2e snapshots

* Update linux e2e snapshots

* Update names

* Better error message

* Update e2e darwin

* Update e2e linux

* Consistency tweak

* Consistency tweak
2023-06-08 17:51:48 -04:00
8cda718eec Update e2e tests URLs to diff-samples (#149)
* Update e2e tests URLs to diff-samples, and darwin artefacts

* Add linux snapshots

* Add step test

* Add missing linux stp snapshot

* Fix consistency

* Add missing linux step snapshot
2023-05-11 04:38:28 -04:00
4f120f4825 e2e fix (#116) 2023-04-24 18:50:51 -04:00
3df22f1116 Add toggle between source and rich diff for CAD (#36)
* 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
2023-03-27 16:37:21 -04:00
0be1f4ef30 Improve diff injection performance (#30)
* 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
2023-03-22 04:46:17 -04:00
f4fa083137 e2e tests (#17)
* 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
2023-03-15 04:32:46 -04:00