**Basic Usage** (just wrap it over any feature you want to premium
lock):
`<PremiumLock requiredPlan="any">
<div>Content for premium users</div>
</PremiumLock>`
This component still needs to be linked with the API.
Saving and Loading of Scenes:
- loading scenes from URL (aka the scenetoken) is fixed
- URL changes according to the changing of loaded scene
- scene signal is created for storing the metadata of a scene
- editor can hydrate the scene signal data
- options in the file menu changes states according to scene status
Editor Changes and Fixes:
- fixes the way Editor Engine is constructed and initialized for
stability
- fixes typing issues on all that is passed to Editor Engine from
react-land
Other Fixes, Bells & Whistles:
- changed "back to dashboard" button to "back to editor", and the
correct behavior of it
- cleaned up routes and page files so routes designation are actually
mutually exclusive
Co-authored-by: wil <wil@storyteller.ai>
Play Button Icon and Functions
- Play Button changes icon depending on playback state
- Play Button can toggle between playing and pausing playback
- When Paused, current playtime wont be changed
- When Resumed, it resumes playing from where the play cursor is
Co-authored-by: wil <wil@storyteller.ai>
- renaming from the TopBar is done 100%
- name will appear at the inputs of the file operations as well, i.e.:
when you rename in the input of the save scene dialog, it changes the
name on the TopBar as well, & vice versa
-
!! Note: this does not help with saving and loading scene, that will be
in another branch with a big fix
Co-authored-by: wil <wil@storyteller.ai>
- waveform now has a loading state
- audio library now has loading new items state
- fix so that the "New" state works on both inference created audio
items and uploaded audio items
- fix so that uploaded audio items takes the file name as its title
Co-authored-by: wil <wil@storyteller.ai>
- Finished UI and functionality for Pagination
- Pagination implemented in audio library
- Finished UI for uploading audio
- Connected the UI to the upload media endpoint
- Audio Library auto-refreshes upon finishing upload
- Fixed up audio upload bugs that already existed in V2V workflow
Co-authored-by: wil <wil@storyteller.ai>
guaranteed audioItems to have length either from the server, or retrieve
it from the loading of the file,
the unit of mediaItem's length is FPS, adjusted the math for supplying
length in frames
Co-authored-by: wil <wil@storyteller.ai>
1. use the new tab title component
2. fix all memory persistency problems,
3. furthuer minimized state change calls
4. "new*" tag on newly generated media
Co-authored-by: wil <wil@storyteller.ai>
simplified the ui code
waveform on upload module works
uploading file works!!!!
clean/optimized code for next step
v2v endpoint called and successfully processed
useSignals is essential
audio type pill done
Co-authored-by: wil <wil@storyteller.ai>