Aria
718beb4d7b
Catch more SSR issues and improve compat tests ( #353 )
...
This will cause the build to fail, as this will catch an SSR issue, which will be fixed after merging #369
2023-01-04 20:03:47 +01:00
Aria
feb3ad34b8
Compact and collapsible compound prop editor
...
* Create compact vector prop editor
* MAke all compound props collapsible
* Add collapsed indicator for compound props
* Persist collapsed state accross component rerenders
* Adjust dom playground to use the new vector prop
Co-authored-by: Andrew Prifer <andrew.prifer@gmail.com>
2023-01-04 12:43:49 +01:00
Andrew Prifer
8d8e2348dd
Create idb-backed image prop ( #366 )
...
Co-authored-by: Clement Roche <rchclement@gmail.com>
2022-12-31 11:01:16 +01:00
Andrew Prifer
e3a194c7dd
Playground improvements ( #342 )
...
Remove previews, add vs code task, open in chrome
2022-11-22 15:05:11 +00:00
Andrew Prifer
484cfeb8ba
Add camera playground ( #343 )
2022-11-22 14:34:15 +00:00
Andrew Prifer
965d7085dc
Add runtime type checks to r3f ( #323 )
...
* Add better error/warning messages to r3f
* Fix notifications playground
2022-10-21 19:17:45 +00:00
Andrew Prifer
62bc12ab51
Create a notification system that can display notifications in Theatre.js' Studio ( #320 )
...
* Implement an internal library for studio notifications
* Improve design a little
* Document code
* Change relative import to absolute one
* Fix tiny styling issue
* Add notifications playground
* Add notifications empty state and keep notifications buttons always visible
Also fix a bug related to not clearing the type and uniqueness checkers.
* Simplify notifications playground
* Treat window as optional in case it runs in server code
2022-10-21 15:51:13 +02:00
Aria Minaei
ef5752cbd3
Add a playground for dynamic trees in r3f
2022-10-18 11:43:54 +02:00
Aria Minaei
10c2b69bf3
Implement useExtensionButton()
2022-10-18 11:43:54 +02:00
Aria Minaei
ca9360fc29
Allow audio files in the playground
2022-09-27 23:32:01 +02:00
Aria Minaei
179c7a8158
Allow audio files in the playground
2022-09-27 23:32:01 +02:00
Andrew Prifer
743254a6c6
Fix popover behavior when popover is open and the trigger is clicked ( #211 )
...
* Fix popover behavior when open and clicking on trigger
* Remove console log
* Resolve merge conflicts
* Remove destructuring in favor of property access
* Extract usePopover return type into an interface
* Fix merge
2022-09-14 09:05:09 -04:00
Andrew Prifer
8680f9d89e
Replace uniqueName with theatreKey ( #285 )
2022-09-14 08:36:49 -04:00
Elliot
a871aa628f
Revert "Handle requestPointerLock error cases in iframes P-199 ( #272 )"
...
This reverts commit 2ef9d5e346
.
2022-08-17 16:14:36 -04:00
Cole Lawrence
e0c9626d68
dev: Add "reading obj value" playground test
2022-08-05 10:30:13 -04:00
Cole Lawrence
c00144464d
dev: Fix playground scroll y on home page
2022-08-05 10:30:13 -04:00
vezwork
fdf268ad43
Add comments and remove extra performance measure
...
Co-authored-by: Cole Lawrence <cole@colelawrence.com>
2022-08-04 13:34:08 -04:00
Cole Lawrence
62def1e883
Add r3f stress + Ticker.__ticks counter
2022-08-04 13:34:08 -04:00
Cole Lawrence
ea3e7434c6
Fix e2e visual regression tests by always showing Updates badge in CI
...
- ensure that window.__IS_VISUAL_REGRESSION_TESTING is true when CI=1
2022-08-03 11:38:44 -04:00
Cole Lawrence
63056c5a58
fix validate path call (warning) & playground dom: Fix namespace warning
2022-08-03 11:38:44 -04:00
Cole Lawrence
2ef9d5e346
Handle requestPointerLock error cases in iframes P-199 ( #272 )
...
See https://linear.app/theatre/issue/P-199/dont-use-pointer-lock-when-in-an-iframe
2022-08-03 13:55:09 +00:00
Fülöp Kovács
e3226da492
Add namespacing to dom example
2022-07-26 10:43:36 +01:00
Cole Lawrence
fcc23b3863
Add variants of the extension example
2022-07-25 12:01:26 -04:00
Cole Lawrence
984a61347f
Use "Theatre.js" for name consistency
...
Co-authored-by: Fülöp <fulopkovacs@users.noreply.github.com>
2022-07-25 12:01:26 -04:00
Cole Lawrence
11b5d175f4
Fix github checks ( #263 )
...
* Update dependencies which pass tests locally
* Break the yarn cache in an attempt to fix checks
* playground: Add wrapping error info for build.ts
* playground: Don't use dev mode in CI tests
* playground: Use tsc for typecheck
* playground: Specify working esbuild version 0.13.15
* playground: Use only promises in build.ts
* playground: Ensure serving in ci e2e
* Add echo for vercel for build:static
2022-07-25 10:37:34 +02:00
Aria Minaei
158923b376
Upgrade playwright and percy
2022-07-07 16:36:12 +02:00
Aria Minaei
d2ef25f8d4
Quick hack to fix the randomly breaking e2e tests
2022-07-07 16:36:12 +02:00
Aria
a9910fecba
Unsuppress useful warnings in core. ( #248 )
...
This also temporarily removes `coreLogger`'s config from the public API One reason is that we don't have many logs that could benefit from suppressing (see diff) so the experimental API would not be useful to the user yet.
Also, the default config was suppressing useful warnings. Those warnings _would_ have been dead-code-eliminated in production mode anyway, so having a separate config to suppress them in dev mode makes it confusing.
Fixes P-171
2022-07-07 10:27:21 +02:00
Andrew Prifer
2b8a1e3ed1
Fix playground live reload multiplying connections on error in Chrome and Safari ( #238 )
2022-06-28 22:17:37 +02:00
Andrew Prifer
a3d9892841
Relax editable TS types to allow creating editable versions of all the JSX.IntrinsicElements elements. ( #237 )
...
Enable custom editable components through relaxed typescript types
2022-06-28 16:11:28 +00:00
Elliot
006121da91
Fix extension buttons spacing, add extension example ( #229 )
...
* Fix extension buttons spacing & styles
* Refactor extension button styles
* Clean up extension prism
2022-06-26 16:00:59 +00:00
Cole Lawrence
7b337a9731
doc(playground dev): Live reload README.md
...
Co-authored-by: Elliot <key.draw@gmail.com>
2022-06-24 09:52:56 -04:00
Cole Lawrence
df05be3c1e
dev playground: Remove mention and dependency on vite
2022-06-24 09:52:56 -04:00
Cole Lawrence
2a93aa3cdc
dev playground: Watch and rewrite custom index.html files
2022-06-24 09:52:56 -04:00
Cole Lawrence
aa60556046
dev: Playground "dom" offsets new boxes
2022-06-24 09:52:56 -04:00
Cole Lawrence
f70eea1c48
dev: Playground enable custom html landing page
2022-06-24 09:52:56 -04:00
Cole Lawrence
6dc68d9ae9
fix playground navigation by disabling live-reload for iframed
2022-06-22 14:58:15 -04:00
Cole Lawrence
92921734e9
docs: Remove redundant doc comment
2022-06-22 14:58:15 -04:00
Cole Lawrence
16e255fd57
dev: Initial playground re-design ( #218 )
...
Improve the landing page for playground items.
2022-06-17 19:23:35 +00:00
Cole Lawrence
df692427ca
dev: Build playground files much faster and add watch
2022-06-16 17:10:43 -04:00
Cole Lawrence
87070bcdf3
dev playground: Start dev server even if first build is error + remove redundant error logs
2022-06-13 11:27:36 -04:00
Cole Lawrence
4d4d970278
dev playground: Support auto port assignment + refactor
2022-06-13 09:22:14 -04:00
Cole Lawrence
8f0f76df54
rename playground build.ts
2022-06-13 09:22:14 -04:00
Andrew Prifer
162174568b
Replace Vite with ESBuild for the playground ( #213 )
2022-06-13 12:47:07 +00:00
Andrew Prifer
34c7b06baf
Improve dom example performance ( #208 )
...
Apply animation in dom example in a performant way
2022-06-10 15:27:33 +02:00
Aria
4215d561d0
Upgrade percy ( #207 )
2022-06-10 13:16:34 +02:00
Andrew Prifer
763d37aee3
UI fixes ( #187 )
...
Co-authored-by: Aria Minaei <aria.minaei@gmail.com>
2022-06-01 14:46:37 +02:00
Aria
9b4aa4b0e0
Make @theatre/r3f
play well with different vs of react,three,r3f #177
2022-05-27 21:59:51 +02:00
Andrew Prifer
0690a85ae2
UI improvements/sidebar pinning ( #175 )
...
Co-authored-by: Aria Minaei <aria.minaei@gmail.com>
2022-05-25 20:42:01 +02:00
Aria
ec18687a98
Re-do bundling, compat tests, and extension API ( #174 )
2022-05-25 00:37:18 +02:00