Commit graph

401 commits

Author SHA1 Message Date
Aria Minaei
c02999061e Style tweaks 2021-08-20 20:59:09 +02:00
Aria Minaei
c5254c3e6b UX tweak for tooltips 2021-08-20 20:58:02 +02:00
Aria Minaei
f0d450e9dc Style tweaks 2021-08-20 18:50:54 +02:00
Aria Minaei
59416d068b Popovers now close automatically on mouseleave 2021-08-20 15:24:36 +02:00
Aria Minaei
2a45c68374 Minor style bugfix 2021-08-20 11:38:12 +02:00
Aria Minaei
163758c2d2 Nicer look for the arrow on top of popover 2021-08-20 11:27:14 +02:00
Aria Minaei
af2ff59d5e Simplified the popovers 2021-08-19 21:41:41 +02:00
Aria Minaei
69f787d5cf UX tweak for tooltips
* When pointer moves from one tooltip-ed node to another, their tooltips don't flash out and in. The new tooltip replaces the old one immediatgely.
2021-08-19 21:04:55 +02:00
Aria Minaei
e63d273830 WIP: Popovers and tooltips 2021-08-19 20:50:26 +02:00
Aria Minaei
c20b065bae Small typing tweak 2021-08-18 20:01:20 +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
e50daa3ba7 Projects in OutlinePanel have a conflict indicator 2021-08-10 18:23:50 +02:00
Aria Minaei
d10b313d57 Trigger for the OutlinePanel 2021-08-10 18:03:05 +02:00
Aria Minaei
bbb56ff94f Fixed the bug where Next/Prev keyframe buttons would capture keydown events 2021-08-10 17:55:06 +02:00
Aria Minaei
1a8014be7f Styling for the export area 2021-08-10 17:21:06 +02:00
Aria Minaei
93f4500b20 User can now choose to override browser's state from that of disk's, or vice versa 2021-08-09 22:34:56 +02:00
Aria Minaei
f08d9bf9c1 Simplified export bookkeeping 2021-08-09 21:50:12 +02:00
Aria Minaei
832542c1c5 Started implementing "Export Project" 2021-08-09 17:12:20 +02:00
Aria Minaei
49c97ebfcf Started implementing ProjectDetails 2021-08-09 15:23:14 +02:00
Aria Minaei
d38070025c Renamed ObjectEditorPanel to DetailPanel 2021-08-09 13:31:15 +02:00
Aria Minaei
0cebfa913d Minor UX tweak 2021-08-09 13:04:53 +02:00
Aria Minaei
47794d8761 Toggling keyframes snaps the sequence's position to the frame grid 2021-08-09 11:45:30 +02:00
Aria Minaei
30c6b44cad Implemented "Delete Selection" on Connectors' context menu 2021-08-09 11:44:47 +02:00
Aria Minaei
d46e0bfd2f All keyframe operations now snap to the frame grid 2021-08-09 11:31:37 +02:00
Aria Minaei
2ec6a54060 Style tweak 2021-08-09 11:31:07 +02:00
Aria Minaei
3a9285fa9e Right click menus now close on 'Escape' 2021-08-09 11:30:44 +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
828fbb97b5 Style tweaks 2021-08-08 21:31:32 +02:00
Aria Minaei
b8b65cfde5 Style tweaks 2021-08-08 12:34:35 +02:00
Aria Minaei
361f4f13a5 Style tweaks 2021-08-08 12:14:27 +02:00
Aria Minaei
456e281954 0.4.0-dev.11 2021-08-08 10:34:38 +02:00
Aria Minaei
99f8e51ae8 Fixed the dependency ranges in manifests 2021-08-08 10:33:13 +02:00
Aria Minaei
1916747e8b Upgrade typescript 2021-08-08 10:12:23 +02:00
Aria Minaei
a074f184ab Fixed the double bundling of react 2021-08-08 10:12:08 +02:00
Aria Minaei
bafa819b39 0.4.0-dev.10 2021-08-07 23:39:55 +02:00
Aria Minaei
2a57433bf6 0.4.0-dev.9 2021-08-07 23:35:32 +02:00
Aria Minaei
54480555a1 Added the option to only bundle js in yarn deploy 2021-08-07 23:35:11 +02:00
Aria Minaei
f4f33dcd8d Still trying to get cra to play nice with theatre 2021-08-07 23:24:37 +02:00
Aria Minaei
824fdd6843 Progress with cra 2021-08-07 22:30:29 +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
0b783b82f7 Fixed the bug where chords would stay active when user switches to another window 2021-08-07 13:13:07 +02:00
Aria Minaei
62f363f6d4 Fixed the bug where Theatre's UI embedded in 3rd-party shadow dom wouldn't receive pointer events. 2021-08-07 13:12:35 +02:00
Aria Minaei
816e67a814 Stronger visual feedback for keyframe snapping 2021-08-07 11:18:01 +02:00
Aria Minaei
d93b1a18d2 0.4.0-dev.8 2021-08-06 11:47:08 +02:00
Aria Minaei
8754de9e7f Added prettier to yarn deploy 2021-08-06 11:44:20 +02:00
Aria Minaei
8a06f216a0 $'0.4.0-dev.7' 2021-08-05 23:38:28 +02:00
Aria Minaei
792850260a Fix for the snapping issue that occurs in production build 2021-08-05 17:23:37 +02:00
Aria Minaei
6e87323d7a 0.4.0-dev.6 2021-08-05 14:14:14 +02:00
Aria Minaei
74d718f652 Another one of those fixes 2021-08-05 14:13:05 +02:00
Aria Minaei
f11da93840 Fix for the cursor conflict bug in firefox 2021-08-05 14:10:28 +02:00
Aria Minaei
efad07011a 0.4.0-dev.5 2021-08-05 13:40:25 +02:00
Aria Minaei
5d315b8128 Fix for the bug where context menus aren't clickable 2021-08-05 13:38:51 +02:00
Aria Minaei
c2b5dca63b Simplified the deployment script
* Implemented yarn run deploy, which deploys all packages to npm, with the same version assigned to all of them.
2021-08-04 21:51:25 +02:00
Aria Minaei
4395c62b17 Playhead has a larger hit zone for snapping 2021-08-03 23:58:45 +02:00
Aria Minaei
197d59e4c4 Keyframe snapping
* Implemented useCursorLock() to lock the cursor icon during a gesture
* Keyframes now snap to other keyframes
* Keyframes snap to the playhead
* The playhead also snaps to keyframes
2021-08-03 23:56:04 +02:00
Aria Minaei
e6bfd999a2 Keyframe drag snapping 2021-08-03 12:17:10 +02:00
Aria Minaei
ae66ea90c6 LengthIndicator has a popover editor 2021-08-02 23:02:38 +02:00
Aria Minaei
ab37d1b21d Style and placement logic for usePopover() 2021-08-02 23:02:03 +02:00
Aria Minaei
58e9d9ff8b Editor popover for SequenceLengthIndicator 2021-08-02 21:06:58 +02:00
Aria Minaei
3745ce02ff UX tweak
* Playhead doesn't get occluded by other elements anymore
2021-08-02 15:03:38 +02:00
Aria Minaei
6d52d5d485 UX improvements
* SequenceLengthIndicator has a cleaner look
* It displays the time in the basic format now
2021-08-02 14:43:08 +02:00
Aria Minaei
314e46c6cf Style tweak 2021-08-01 18:14:20 +02:00
Aria Minaei
74b6f93872 Cleaner API for useFrameStampPosition() 2021-08-01 18:09:07 +02:00
Aria Minaei
0a3c699180 UX Improvements
* Length of the sequence has a clear indicator now
* The frame stamp snaps to the time of keyframes when they're hovered
* The frame stamp hides when hovering over elements over which it wouldn't be helpful
2021-08-01 17:43:59 +02:00
Aria Minaei
c6c37992ac LengthIndicator is now draggable 2021-08-01 09:55:43 +02:00
Aria Minaei
acf0283449 Indicate length of the sequence 2021-07-31 16:28:51 +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
a695f3a1d6 Update docs links 2021-07-31 13:38:53 +02:00
Aria Minaei
66b6247d68 Tweaks to OutlinePanel 2021-07-30 22:00:02 +02:00
Aria Minaei
78935499ff Style tweak 2021-07-30 18:56:31 +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
d621794280 Style tweaks 2021-07-26 18:02:08 +02:00
Aria Minaei
307588dd31 Style tweaks 2021-07-26 15:33:07 +02:00
Aria Minaei
2ad093d3e3 UX tweak 2021-07-26 14:30:39 +02:00
Aria Minaei
dfb1a6ff01 Added play/pause keyboard shortcut 2021-07-26 14:30:09 +02:00
Aria Minaei
284f502bdf Attach keyboard shortcuts to undo/redo 2021-07-23 22:51:11 +02:00
Aria Minaei
325dade59d SequenceEditorPanel now doesn't show up if there are no sequences 2021-07-23 22:37:41 +02:00
Aria Minaei
a939abd017 Style tweaks 2021-07-23 22:34:26 +02:00
Aria Minaei
0a5e7e16b6 Style tweaks 2021-07-23 22:17:51 +02:00
Aria Minaei
e2ed343487 Fixed the glitch in SequenceEditorPanel's bg 2021-07-23 21:49:10 +02:00
Aria Minaei
bf30b4d8b4 ObjectEditorPanel now autohides 2021-07-23 21:46:18 +02:00
Aria Minaei
3d26f840ae OutlinePanel now autohides 2021-07-23 21:30:25 +02:00
Aria Minaei
09c9978713 Style tweaks 2021-07-23 16:47:58 +02:00
Aria Minaei
da230fbacc Style tweaks 2021-07-23 14:04:01 +02:00
Aria Minaei
2a773b4100 Housekeeping 2021-07-22 22:11:26 +02:00
Aria Minaei
ab7ed34f96 Style tweaks 2021-07-22 22:01:58 +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
aec53b25d1 Better toggle for the graph editor 2021-07-16 23:59:26 +02:00
Aria Minaei
6558514852 Graph editor toggles automatically 2021-07-16 23:59:13 +02:00
Aria Minaei
aadb916f1a Implemented "close pane" 2021-07-16 23:37:24 +02:00
Aria Minaei
2a2ccf6085 Typo 2021-07-16 16:22:39 +02:00
Aria Minaei
d98ab07cbe SequenceEditorPanel has a slightly more minimal look now 2021-07-16 15:58:20 +02:00
Aria Minaei
f9e32fbade More tweaks 2021-07-16 15:42:01 +02:00
Aria Minaei
067a7cb145 Various improvements to SnapshotEditor 2021-07-16 15:06:15 +02:00
Aria Minaei
f06f18f838 More style tweaks 2021-07-16 14:05:51 +02:00
Aria Minaei
0fad598416 More style tweaks 2021-07-16 12:17:56 +02:00
Aria Minaei
ec563f430f Styling tweaks to compound prop editor 2021-07-16 11:31:33 +02:00
Aria Minaei
77f96e2082 More tweaks to the prop editors 2021-07-16 11:21:11 +02:00
Aria Minaei
022016b574 Styling tweaks to select editor 2021-07-16 11:17:12 +02:00
Aria Minaei
997a516f87 Adjusted alignment of prop editors 2021-07-16 11:09:05 +02:00
Aria Minaei
232ffa7836 Range indicator for the number editor 2021-07-16 11:08:39 +02:00
Aria Minaei
4e4452f0ad Visual indicator for when number editor is being scrubbed 2021-07-16 10:09:08 +02:00
Aria Minaei
2dd4900940 Better horizontal alignment for prop editors 2021-07-16 09:58:40 +02:00
Aria Minaei
7b0d0dfa7f Improved the look of the OutlinePanel 2021-07-15 15:20:27 +02:00
Aria Minaei
ce3d5d3a50 Experiment: Transparent outline pane 2021-07-15 01:19:13 +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
7f30f08bd0 More style tweaks 2021-07-09 18:02:14 +02:00
Aria Minaei
85e468b597 More style tweaks 2021-07-09 17:15:48 +02:00
Aria Minaei
541b6287e2 More style tweaks 2021-07-09 16:26:18 +02:00
Aria Minaei
5bf5fc7076 Small styling refactor 2021-07-09 15:28:31 +02:00
Aria Minaei
47ca0a10f3 Changes to prop editors' theme 2021-07-07 16:37:32 +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
deb1ad8793 Implement a basic union(stringLiteral) prop type 2021-07-06 16:28:48 +02:00
Aria Minaei
ffbfbe4519 Fix the type error 2021-07-05 10:42:14 +02:00
Aria Minaei
9d514362da Implement BooleanPropEditor 2021-07-05 00:30:50 +02:00
Aria Minaei
6895dab02e Fixed typo in propEditor 2021-07-04 16:59:36 +02:00
Aria Minaei
d1b2787809 Fix: Fixed the regression from last commit 2021-07-03 15:40:58 +02:00
Aria Minaei
2a671b129d Chore: Simplified ISheet's signature 2021-07-03 15:36:00 +02:00
Aria Minaei
4038ad34a4 New: Implement propTypes.stringLiteral() 2021-07-03 15:03:52 +02:00
Aria Minaei
08759e2d5c New: Make SheetObject an IdentityChangeProvider 2021-07-02 20:27:10 +02:00
Aria Minaei
4ac12abb58 Chore: Moved propTypes to @theatre/core 2021-07-02 11:44:07 +02:00
Aria Minaei
64d955c464 Chore: Refactor 2021-06-29 17:16:03 +02:00
Aria Minaei
c1c5aac44a Chore: Refactor 2021-06-29 17:10:17 +02:00
Aria Minaei
ad8d176c00 Chore: Small refactors 2021-06-29 17:07:08 +02:00
Aria Minaei
d9530ea14f Chore: Removed some unused code 2021-06-29 17:06:43 +02:00
Aria Minaei
6ebaad747d New: Refactored reactDataverse into a package 2021-06-29 16:40:54 +02:00
Aria Minaei
fb73e9c63a Chore: Fixed OutlinePanels' scroll problem 2021-06-29 16:06:22 +02:00
Aria Minaei
14b3207680 Build: Add a commonjs bundle to dataverse 2021-06-28 16:37:02 +02:00
Aria Minaei
634670e997 Chore: Bump versions 2021-06-28 16:08:20 +02:00
Aria Minaei
df280e3e51 Chore: Small fixes for the deployment script 2021-06-28 13:43:17 +02:00
Aria Minaei
1724e2f030 Build: streamlined npm publish 2021-06-28 13:35:06 +02:00
Aria Minaei
dfcd2814ae Build: Implemented theatre.update-versions script 2021-06-28 12:37:10 +02:00
Aria Minaei
1ba89d76e1 Fix: Moved privateAPI() to the core package 2021-06-27 13:46:14 +02:00
Aria Minaei
47f7da157a Fix: Packages no longer point to their minified
bundle for the browser.
2021-06-27 13:45:21 +02:00
Aria Minaei
385cfad9aa Chore: Using named type imports now 2021-06-27 13:43:39 +02:00
Aria Minaei
ff582697c8 Build: Added a watch script 2021-06-27 13:40:38 +02:00
Aria Minaei
28eaf15c7f Chore: Removed an extraneous build file 2021-06-26 17:43:57 +02:00
Aria Minaei
4be5c8f008 Docs: Added more details to @theatre/core|studio/README.md 2021-06-25 15:12:03 +02:00
Aria Minaei
3950f34533 Build: Simplified theatre:build 2021-06-25 14:37:09 +02:00
Aria Minaei
6596c811d7 Build: The bundle script now generates multiple bundles for different formats 2021-06-21 14:05:48 +02:00
Aria Minaei
463c226eb6 Fix readme 2021-06-18 21:15:48 +02:00
Aria Minaei
b2d1f15446 (WIP) Switch the rest of the build setup to esbuild - done 2021-06-18 21:11:45 +02:00
Aria Minaei
7c2e12c233 (WIP) Switch the rest of the build setup to esbuild - 1 2021-06-18 21:03:44 +02:00
Aria Minaei
b13f1131c5 Remove dependency on webpack 2021-06-18 20:53:44 +02:00
Aria Minaei
39a2645d65 Simplify project config 2021-06-18 20:35:01 +02:00
Aria Minaei
c72647c1e5 Update package.json files 2021-06-18 19:54:35 +02:00
Aria Minaei
0d2ae56519 Fix some spelling mistakes 2021-06-18 14:32:01 +02:00
Aria Minaei
4a7303f40a Initial OSS commit 2021-06-18 13:05:06 +02:00