Commit graph

932 commits

Author SHA1 Message Date
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
Adam Krebs
4db16f1a7e
Add a getKeyframes method to Sequence (#426) 2023-07-24 12:26:19 +02:00
Aria Minaei
35fe1c375c Make studio.ui available before the UI is loaded
This was a regression introduced by b83164f26f
2023-07-17 12:34:57 +02:00
Colin Duffy
bcfb91fbb7 feat(remote): multiple-window support 2023-07-17 12:34:57 +02:00
Colin Duffy
8b8d2bf431 fix(geometry): PlaneBufferGeometry deprecated, used PlaneGeometry 2023-07-16 22:23:01 +02:00
Aria
b83164f26f
Switch to Vite (#434) 2023-07-16 22:19:21 +02:00
Aria Minaei
2052824aca 0.6.1 2023-05-12 19:28:23 +02:00
Aria Minaei
4d7373e1a9 Add support for typescript's bundle mode to @theatre/r3f 2023-05-12 19:13:52 +02:00
Colin Duffy
e7f23cfa4e
feat(example): three-basic (#418) 2023-05-12 19:11:26 +02:00
Timo Hausmann
4c375672af
playground needs yarn build (#402) 2023-03-09 12:54:52 +01:00
Adam Krebs
d7feb3ffdc
Implement the experimental createContentOfSaveFileTyped() (#391)
Co-authored-by: Aria Minaei <aria.minaei@gmail.com>
2023-03-09 11:50:46 +00:00
Aria Minaei
6c7da6f653 UX improvements for PlayheadPositionPopover 2023-03-09 12:43:41 +01:00
Ikko Eltociear Ashimine
8495c9c808
Fix typo in ExtensionPaneWrapper.tsx (#401)
occured -> occurred
2023-03-08 13:37:18 +01:00
Aria
7c410014e1
Experimental API for forgetting objects/sheet (#393) 2023-03-08 12:08:55 +00:00
dependabot[bot]
583dd9d022
Bump http-cache-semantics from 4.1.0 to 4.1.1 (#392)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 11:54:38 +00:00
dependabot[bot]
5a31c3d3c6
Bump minimist from 1.2.5 to 1.2.8 (#407)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 11:40:40 +00:00
Aria Minaei
f3f6eaad86 0.6.1-dev.5 2023-03-08 12:26:33 +01:00
Aria Minaei
9c16083597 Remove the accidental dependency between studio and core 2023-03-08 12:22:42 +01:00
Don McCurdy
1bb80991c9
Add method to clear persistent storage (#142) 2023-03-08 12:19:27 +01:00