_**WAITING FOR THE SERVER UPDATE FOR END-TO-END TESTING**_
- created ui and queue communication for switching camera aspect ratio
done
- editor's render camera read queue to switch camera aspect ratio
- letterbox now available in camera view mode for a better preview of
the aspect ratios
- updated ui to match figma design after design update
- vertical camera styling updates (by bflat)
- finalized our render resolutions at different aspect ratio
---------
Co-authored-by: wil <wil@storyteller.ai>
- Raised these signals for background loaded media to the app level
- Raised the enums and types for these signals to the app level
- Delete the old useInferenceManager that only specifically handles
audio inferences
- Use the new signal and its implementation pattern to handle audio
inferences
- Clean up and simplify the implementation pattern to this new signal
- Variable polling frequencies depending what kind of active jobs exist
in the list
---------
Co-authored-by: wil <wil@storyteller.ai>
- separating the signals and disabled the code that introduced the bug
- setup job signals properly to manage completed and active jobs
- setup myMovies signals properly to load user's list of videos
- make new hook to manage polling for job signals
- make new hook to manage background polling for user videos
- finished the logic for toggling and repeating jobs polling
- finished the logic for triggering a background poll of user movies
Co-authored-by: wil <wil@storyteller.ai>
supress error for process env, added vscode setting to gitignore
segrgate enums (#369)
Co-authored-by: Christopher Oliphant
<RALifeCoach@users.noreply.github.com>
Refactor storybook (#370)
Co-authored-by: Christopher Oliphant
<RALifeCoach@users.noreply.github.com>
button dropdown docs (#372)
storybook doc for button dropdown component
refactor side panel tabs (#371)
Co-authored-by: Christopher Oliphant
<RALifeCoach@users.noreply.github.com>
fix enums (#373)
Co-authored-by: Christopher Oliphant
<RALifeCoach@users.noreply.github.com>
Refactoring Auth Context to Signals (#374)
- file restructure, store -> signals
- rewrite AuthContext to signals, and get rid of AuthContext
- modify all files that need to use AuthContext to use the
authentication Signal
- the complex login persistency logic is now just a persistLogin
function ran at root!
- fetchers uses the auth signal directly to get the sessionToken
- components no longer useSignals for these fetchers, hence decoupled
from the auth signals
!! components and fetchers that are definitely subjected to refactor
does not receive the useSignal decoupling treatment
Co-authored-by: wil <wil@storyteller.ai>
Refactoring Toaster Context to a Toaster Component + Signal (#378)
- Created the Toaster Component
- Created the Toasts Signal
- Now no useContext is needed for Toast Poping, nor passing AddToast
around
- Simply import addToast from the Signals and you can pop a toast from
anywhere in the codebase
Co-authored-by: wil <wil@storyteller.ai>
Refactoring AppUi Context (partial: delete unused, editorLoader becomes
signal) (#379)
- dialogueTTS is unused, hence deleted
- view side-by-side mode is unused, hence deleted
- timeline height in this context was already made into signal, hence
deleted
- editorLoader in this context is now made into a page level signal,
hence deleted
- components and dispatcher of the editorLoader are modified to use
signal instead
- app level reducer is no longer used, tugged into context folder to
avoid confusion, will be deleted when all attributes in AppUi context is
refactored into signals
Co-authored-by: wil <wil@storyteller.ai>
Refactor control panel (#391)
- control panel - simplified and improved
- Please also test it. It operates slightly differently. For example, if
the user types an invalid character, the character is ignored.
---------
Co-authored-by: Christopher Oliphant
<RALifeCoach@users.noreply.github.com>
Refactoring App Level Components
- Components that are in the /app/component folder are split into
reusable and signaled
- reusable are in theory signal independent
- signaled are dependent on signals (and maybe a use-once component)
- some app level components has page level enums or signals, those are
bumped to app level now
- all components in the module directory are moved into the component
directories depending on whether it's reusable or signaled
- code changes in are mostly just import changes to get re-target to get
the correct files
- discovered a small bug in FilterButtons and is fixed
- whether a component need more work, it is commented on the index file
that import them into the grand collection of components
Refactor - Signals Part 2
- store is renamed to signals in PageEditor for clarity
- ObjectControlPanel now uses a Signal instead of the AppUiContext
- Moved EditorContext to Page Level, all context are page level only now
- editor is modified to read and use signals directly (for now), this
includes: -- the ObjectPanel signal
-- the Scene signal
-- the Authentication signal
- and hence, editor now has a constructor doesn't require any arguments
- editor also has a simple initialization
- AppUiContext is retired completely and deleted
---------
Co-authored-by: wil <wil@storyteller.ai>
Co-authored-by: Christopher Oliphant <RALifeCoach@users.noreply.github.com>
**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>