Commit Graph
14 Commits
Author SHA1 Message Date
wilandwil 78acfcff8c API2.5/ useBackgroundMedia now uses the API Manager (#497)
ready to go as long as QA is done

Co-authored-by: wil <wil@storyteller.ai>
2024-06-18 22:28:55 -04:00
wilandwil a328235000 implement api manager version of generate tts endpoint (#479)
Co-authored-by: wil <wil@storyteller.ai>
2024-06-17 17:05:32 -04:00
wil d7e7a4b53a every ui and signals from vertial video and video aspect ratios
Wil will need to patch a tiny bit.
2024-06-12 16:05:33 -04:00
wilandwil d0eb92984f try to stop polling videos (#445)
Co-authored-by: wil <wil@storyteller.ai>
2024-05-30 17:44:36 -04:00
wilandwil 65b91ce54e Continue - Inference Job for Pre-loading User Media (#434)
- 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>
2024-05-29 18:08:03 -04:00
wilandwil c266db62c8 New Inference Jobs implementation and pre-loading user media (#423)
- 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>
2024-05-28 16:43:02 -04:00
e65b94405a THE REFACTOR MAY17th (#393)
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>
2024-05-17 00:22:34 -07:00
wilandwil 3c7630bbc9 My Movie - Bugs (#332)
- done: setup metadata in editor.js for the Generate Movie Button
- done: update endpoint, now during stylization, the upload of the
original video uses the new_video endpoint, which provides the file with
a title field
- fixed: rendered movies art style tag now show the art style's label
properly
- fixed: clicking the media link to the video brings user back to
studio.storyteller.ai/[video_url]
- fixed: completed card DOM nesting issue

potentially fixed but the product does not reflect due to server issues:
- AI Stylize videos should also take the title from the original video
and show that title

Co-authored-by: wil <wil@storyteller.ai>
2024-05-07 13:41:43 -07:00
FromTheLOLAshesandQuicksticks-oss 2c460e4e63 Feature/load scene (#285)
This PR removes the dummy data for Load Scene and uses real data
instead.

Co-authored-by: Quicksticks-oss <chongobongotoday@gmail.com>
2024-05-01 13:38:02 -04:00
FromTheLOLAshesandArEnSc f5a061ad47 Feature/overwrite keyframe (#250)
Co-authored-by: ArEnSc <6252325+ArEnSc@users.noreply.github.com>
2024-04-26 12:35:52 -04:00
FromTheLOLAshesandChristopher Oliphant 864716ddb9 Feature/my movies modal (#234)
Co-authored-by: Christopher Oliphant <RALifeCoach@users.noreply.github.com>
2024-04-25 15:33:12 -04:00
wil cb8e93ec3c new login 2024-04-11 14:08:34 -04:00
wil b71c4a15d6 simpler tts panel 2024-04-10 00:13:52 -04:00
wil f19bafdb0c inference panel and inference manager are doing great 2024-04-09 21:28:13 -04:00