Commit graph

950 commits

Author SHA1 Message Date
Aria Minaei
ee3c2ff557 Fix the type error in release.ts 2023-08-07 17:09:59 +02:00
Aria Minaei
3434e166a5 Try to fix the ESLint out of memory error 2023-08-07 15:50:05 +02:00
Aria Minaei
bdba288ff1 Remove percy and add docs on how to produce the snapshots 2023-08-07 15:34:36 +02:00
Aria Minaei
6d4a060881 Update screenshots 2023-08-07 15:20:58 +02:00
Aria Minaei
546a71d24f Setup docker to produce visual regression tests for linux on non-linux hosts 2023-08-07 15:20:45 +02:00
Aria Minaei
654f5d60a3 Move scripts/ to devEnv/ 2023-08-07 12:18:14 +02:00
Aria Minaei
f612108e18 Update compat tests to use THREE.r155 2023-08-06 17:18:35 +02:00
Aria Minaei
4fefee863e Move all zx scripts to typescript 2023-08-06 10:15:37 +02:00
Aria Minaei
d228b7635c Switch compat-test scripts to typescript 2023-08-06 09:53:32 +02:00
Aria Minaei
3b93430fd7 Install compat tests in parallel 2023-08-06 08:43:45 +02:00
Aria Minaei
a77290e32b Upgrade TS so r3f builds again 2023-08-05 10:05:57 +02:00
Aria Minaei
a8a533cb73 Don't cleanup StyledShadow on unmount 2023-08-05 10:01:44 +02:00
Aria Minaei
ed6d74db87 Update the BG of SnapshotEditor to match the old color in legacyLightMode 2023-08-05 10:00:50 +02:00
Aria Minaei
af1964f9ac Fix the bug where react would complain if SnapshotEditor is unmounted 2023-08-05 09:59:43 +02:00
Aria Minaei
e153c4cbbb WIP: Upgrade to THREE.r155: Remove the legacy/physical lighting distinction 2023-08-05 09:30:16 +02:00
Aria Minaei
487573424c WIP: Upgrade to THREE.r155 - Fix the bug with TransformControls
Prior to this, any change caused by TransformControls would cause the SnapshotEditor's frameloop to halt
2023-08-05 06:29:40 +02:00
Aria Minaei
872b2f741f WIP: Upgrade to THREE 155: Fix the double key error in r3f 2023-08-04 11:27:52 +02:00
Aria Minaei
3837e179bb WIP: Upgrade to THREE 155: Upgrade OrbitControls 2023-08-04 10:54:17 +02:00
Aria Minaei
7a5b1c744c Fix a bunch of react18 type errors 2023-08-03 21:25:45 +02:00
Aria Minaei
5387fda517 Use react18 in playground 2023-08-03 21:02:05 +02:00
Aria Minaei
f562d225c6 WIP: Upgrade to react 18
At this point, the studio and core work with react 18, but r3f doesn't.
2023-08-03 20:42:40 +02:00
Aria Minaei
46e58ca6d8 Pin to three 0.133 and add a visual regression test for it 2023-08-03 13:16:51 +02:00
Aria Minaei
01ccbb3d92 Remove dangling debuggers 2023-08-03 11:44:54 +02:00
Aria Minaei
e05b724742 0.6.3-dev.1 2023-08-03 11:32:15 +02:00
Aria Minaei
d8140a5982 Make extension panes hot-reload/reconfigurable 2023-08-03 11:29:55 +02:00
Aria Minaei
4f00443ee1 Implement hot-reloading extension toolbars 2023-08-03 10:54:54 +02:00
Aria Minaei
cd6f44d9dd Upgrade the e2e test setup 2023-08-03 10:53:33 +02:00
Aria Minaei
041627f7e4 Fix the dangling promises 2023-08-03 10:52:10 +02:00
Aria Minaei
27f918f53c Make usePrism hot-reloadable 2023-08-02 19:41:22 +02:00
Aria Minaei
d26db282c6 Fix the dropped update edge case in @theatre/react
Before this, there was a delay between when a queued microtask is finished, and it being marked as so. If an update was queued in between this delay, it would have been missed.

This wasn't caught until now, because usually in a large react tree, usually there are one or more tickers that flush the queue, so if an update isn't picked up on one flush, it would end up in the next flush.
2023-08-02 19:31:39 +02:00
Aria Minaei
e856ee54ff Use a temp directory to install the compat test fixtures
This is a way to run `npm install` on the compat test fixtures without the node_modules at the root of the repo interfering with the node's module resolution (and that of parcel/webpack/etc).

It's hacky because ideally we'd just put each test in its own docker container for simplicity. We tried that in the private repo, but the complexity is not worth the benefit.
2023-08-01 17:47:17 +02:00
Aria Minaei
024b1896c6 Small tweaks to the compat tests
Note: These are cherry-picked from the internal docker branch.
2023-08-01 17:47:17 +02:00
Aria Minaei
b646bb81e5 Add correct deps to compat fixtures 2023-08-01 17:47:17 +02:00
Aria Minaei
b443d9a92b Increase the timeout in compat tests 2023-08-01 17:47:17 +02:00
Aria Minaei
f2317099a0 Fix the jest config 2023-08-01 17:47:17 +02:00
Aria Minaei
66eb6e212b Remove traces of babel 2023-08-01 17:47:17 +02:00
Aria Minaei
bded6e9240 Add cra to compat tests 2023-08-01 17:47:17 +02:00
Aria Minaei
2670c670f6 Attempt: fix the CI errors 2023-08-01 17:47:17 +02:00
Aria Minaei
dc2338bb83 Add more compat tests 2023-08-01 17:47:17 +02:00
Aria Minaei
29905d951f Add vite's tests to parcel's and next's 2023-08-01 17:47:17 +02:00
Aria Minaei
c288ab9ffe Make the vite compat test more comprehensive 2023-08-01 17:47:17 +02:00
Aria Minaei
5192c42548 Fix the false-positive error in studio.extend
This removes the `Extension id "${extension.id}" is already defined` error when `studio.extend()` is in a hot-reloaded file but the extension hasn't actually changed.
2023-08-01 17:47:17 +02:00
Aria Minaei
1280de02d0 Fix React's DCE error in r3f
This fixes the react error that says "React is running in production mode, but dead code elimination has not been applied."
2023-08-01 17:47:17 +02:00
Aria Minaei
bc7fcf8e0a Rename compatibility-tests to compat-tests 2023-08-01 17:47:17 +02:00
dependabot[bot]
f2a25aa48e Bump semver from 5.7.1 to 5.7.2
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 20:08:02 +02:00
dependabot[bot]
f3674cd692 Bump word-wrap from 1.2.3 to 1.2.5
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 19:48:01 +02:00
Aria Minaei
5a51cb0402 0.6.2 2023-07-24 19:23:35 +02:00
Colin Duffy
ebbc961d7a fix(CurveEditor): error when copy/pasting eases 2023-07-24 13:11:08 +02:00
Adam Krebs
1cb23c4a16 Bring back compound prop sequencing logic 2023-07-24 12:41:04 +02:00
Adam Krebs
2ef906370c Make DefaultOrValueIndicator clickable to make sequencing more discoverable 2023-07-24 12:41:04 +02:00