Commit graph

62 commits

Author SHA1 Message Date
Aria Minaei
be1e19036c Renamed the "snapshotEditor" pane to "snapshot" 2021-09-05 23:37:29 +02:00
Aria Minaei
5295f9ae91 r3f sheets are now re-usable 2021-09-05 23:33:17 +02:00
Aria Minaei
7af470a053 Made the extension mechanism in r3f explicit 2021-09-05 23:24:53 +02:00
Aria Minaei
2605401e06 Added support for multiple sheets in r3f 2021-09-05 23:21:18 +02:00
Aria Minaei
1452c9ebbe Renamed @theatre/dataverse-react to @theatre/react 2021-09-05 23:07:02 +02:00
Aria Minaei
69a12440ca Preparing to support multiple sheets in r3f 2021-09-05 23:03:34 +02:00
Aria Minaei
400b55bf09 Bugfix 2021-09-05 17:45:51 +02:00
Aria Minaei
9955730876 API tweaks 2021-09-03 19:29:21 +02:00
Aria Minaei
6b373ccae5 Removed nativeObject from the API 2021-09-02 10:26:39 +02:00
Aria Minaei
a8df97a06a API naming tweaks 2021-09-01 10:36:44 +02:00
Aria Minaei
36017c6a73 Nudging behavior on number props can now be customized 2021-08-22 12:58:38 +02:00
Aria Minaei
72d40bf204 Project conflict indicators in outline panel
* OutlinePanel has a badge showing the number of conflicting projects
* Each project list item gets a highlight if it has conflicts
* Refactored Popover to prepare to merge it with tooltips
2021-08-12 11:52:23 +02:00
Aria Minaei
e6a4f3ae3f Implemented useRefreshSnapshot() and <RefreshSnapshot /> 2021-08-08 22:38:03 +02:00
Aria Minaei
d1fb0300e0 R3F now uses a single sheet in studio 2021-08-08 22:25:48 +02:00
Aria Minaei
b08588e9d6 Extensions can now use studio's project for editing-related objects. 2021-08-08 21:33:10 +02:00
Aria Minaei
7bc23d19e6 Better default position for SnapshotEditor's camera 2021-08-08 10:25:11 +02:00
Aria Minaei
1497eaf610 WIP: Getting r3f to work with create-react-app
* Temporarily disabled ESM bundles because the current setup confuses webpack4 (but not parceljs). Since create-react-app uses webpack4, not doing this would make theatre incompatible with CRA.
2021-08-07 21:41:07 +02:00
Aria Minaei
7c759f2f6d Made plugin-r3f render on demand 2021-08-07 21:17:29 +02:00
Aria Minaei
2daa270879 UX improvements
* When clicking on empty space in the snapshot editor, the selection reverts to the sheet containing the scene
2021-07-31 15:10:08 +02:00
Aria Minaei
274022100a Removed cam.aspect from the props 2021-07-30 16:31:40 +02:00
Aria Minaei
65463dfdc6 deprecate bindToCanvas() in favor of <Wrapper> 2021-07-30 16:31:18 +02:00
Aria Minaei
e108caee93 Added other props to SnapshotEditor Camera 2021-07-30 12:14:47 +02:00
Aria Minaei
215cd880f0 UX Improvements
* The cam state of SnapshotEditor cameras now persist
* Title bar for the prop editor
* Cleaned up the toolbar
2021-07-30 10:59:59 +02:00
Aria Minaei
2a773b4100 Housekeeping 2021-07-22 22:11:26 +02:00
Aria Minaei
1444c61d64 Moved all of r3f's UI elements to Studio 2021-07-22 21:56:45 +02:00
Aria Minaei
ff0f8d557b Implement ToolbarSwitchSelect 2021-07-22 21:53:56 +02:00
Aria Minaei
20603afd40 Implement ToolbarIconButton 2021-07-22 21:26:34 +02:00
Aria Minaei
067a7cb145 Various improvements to SnapshotEditor 2021-07-16 15:06:15 +02:00
Aria Minaei
232ffa7836 Range indicator for the number editor 2021-07-16 11:08:39 +02:00
Aria Minaei
64273366ed Put SnapshotEditor inside a Pane 2021-07-14 18:37:32 +02:00
Aria Minaei
921bc44270 Implement studio.globalToolbar 2021-07-13 16:13:15 +02:00
Aria Minaei
86547aa4cb Moved r3f's toolbar out of the snapshot editor 2021-07-10 12:15:27 +02:00
Aria Minaei
230225ed2c Group editor's props into compound props (r3f) 2021-07-07 16:39:53 +02:00
Aria Minaei
a4f83e0f84 Implemented types.stringLiteral(.., {as}) 2021-07-06 21:58:38 +02:00
Aria Minaei
97ce94d52a Made signature of types.stringLiteral() a bit more ergonomic 2021-07-06 16:50:43 +02:00
Aria Minaei
dc69628eac Remove ReferenceWindow from r3f 2021-07-05 18:43:48 +02:00
Aria Minaei
22cb5542bc Disabled orbit control damping in r3f 2021-07-05 18:39:57 +02:00
Aria Minaei
8395e44614 Finished switching to styled-components in r3f 2021-07-04 20:37:55 +02:00
Aria Minaei
596b7e9d81 Migrated more of r3f to styled-components 2021-07-04 19:49:36 +02:00
Aria Minaei
b109dca19b Started using styled-components in r3f 2021-07-04 19:14:00 +02:00
Aria Minaei
16434644dc Removed more unused code from r3f 2021-07-04 18:23:27 +02:00
Aria Minaei
532e24e691 Removed the open/close button from r3f 2021-07-04 18:11:43 +02:00
Aria Minaei
d0c4dd4ec7 Removed a bunch of unused code from r3f 2021-07-04 18:07:24 +02:00
Aria Minaei
2a671b129d Chore: Simplified ISheet's signature 2021-07-03 15:36:00 +02:00
Aria Minaei
d161703c20 Chore: Simplified r3f a little bit 2021-07-03 15:16:18 +02:00
Aria Minaei
ffb8a24f07 Chore: Moved r3f's viewportShading to Theatre 2021-07-03 15:08:14 +02:00
Aria Minaei
89913ac51f Chore: Moved r3f's transformControls* to Theatre 2021-07-03 15:04:06 +02:00
Aria Minaei
9809042762 Chore: Moved r3f's referenceWindowSize to Theatre 2021-07-03 13:36:47 +02:00
Aria Minaei
20b57011c3 Chore: Moved r3f's showOverlayGrid to Theatrte 2021-07-03 13:28:35 +02:00
Aria Minaei
8472cf259c Chore: Moved r3f's showGrid to Theatre 2021-07-03 13:24:39 +02:00