Commit Graph
27 Commits
Author SHA1 Message Date
Brandon Thomas 3c1887e6f8 update cdn urls (#681) 2024-11-25 02:57:38 -05:00
BFlat 75318b2e8d big styling updates (#672) 2024-10-11 11:28:31 +07:00
ArEnSc 8d0094aa76 progress bar implementation (#585)
changes for progress bar
2024-07-05 22:18:04 -04:00
wilandwil 4dd3ffe31b Fix / Asset List's Key Indexing Problem (#580)
switch to using map index incase we output the same asset twice,
resulting in duplicated media tokens, which confuses react

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-07-04 12:12:27 -04:00
ArEnSc da12790908 Feature/expressions fix to (#579)
QOL Panel Changes
The style name is shown when rendering a movie, missing title due to
issues with the API.
The progress bar moves to 0 to 40 then 100, but this is still fake.

Added Animation Type to the Characters so they would not show
expressions unless they had it.
ROKO and Storygirl need their metadata updated for this. TEAM TESTING
ONLY Will have this metadata.

Changed Expression to Facial Expression.

Changed Lip Sync to Vocals / Speech

Changed Copy to reflect Timeline Track Changes.
I removed the Mannequins since they do not work well with the scenes.
2024-07-04 09:23:25 -04:00
BFlat be0370dca7 Bug fix: My Movies back button not showing/working (#570)
fixed.

if u click on a result in my movies modal earlier, ur not able to press
back.
2024-07-02 14:11:36 -04:00
wilandwil e139c6a84d Fix / loading state for my movies, and message for user having no movies (#531)
loading state for my movies, and no movies message

Co-authored-by: wil <wil@storyteller.ai>
2024-06-24 16:23:02 -04:00
wilandwil 5ee4d493c1 Api2.6 / Delete Job new uses api manager (#532)
Co-authored-by: wil <wil@storyteller.ai>
2024-06-24 16:20:46 -04:00
wilandwil 3e33321fd3 Fix / Delete Env var Signal to avoid Over Rerender (#528)
- delete the env var signal at root in favor for the env var class
- this prevents the app from making unnecessary rerender, especially on
load
- fixed some eslint issues while treading through these files

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-06-24 12:07:04 -04:00
wilandwil d19fa3cb82 Api2.5/ MyMovies aka Generate Modal (#499)
the MyMovies button is named GenerateModal in the code for reason I am
not sure about

anyway, only 1 endpoint left here, it's getting the info of the details
of the movie, it works if you can click a completed movie and it brings
you to its detailed page

Co-authored-by: wil <wil@storyteller.ai>
2024-06-18 23:42:36 -04:00
wilandwil 5b228de14e Api2.5/list tts v2v models (#498)
this goes after usebackgroundmedia implementation
https://github.com/storytold/GottaGoFast/pull/497

with this (and the previous, the entire workflow of making a tts/v2v is:
- loading inference > previously done
- listing weights > now done
- requesting a tts > previously done
- request a v2v > 1 of the endpoint that's still missing in api2.5
- loading the new audio > implicitly done

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-06-18 23:16:40 -04:00
wilandwil a2c82badbc went through every file to rid of session token (#487)
- changed env to not go through proxy
- some logging states need updates to accommodate the change

Co-authored-by: wil <wil@storyteller.ai>
2024-06-17 21:55:01 -04:00
wil a19158a9fb added a missing tailwind css class to show square videos nicely 2024-06-12 14:35:47 -04:00
wil a0d6616e52 show videos and thumbnails of different aspect ratios properly on my movies dialogue 2024-06-12 14:13:01 -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
BFlat 68206c86ea my movies modal download text (#432)
- added download text to my movies completed videos next to icon
- removed unused import
2024-05-27 16:16:18 -04:00
FromTheLOLAshesandChristopher Oliphant 14bbd47b12 Fix pending percentage (#418)
Co-authored-by: Christopher Oliphant <RALifeCoach@users.noreply.github.com>
2024-05-23 13:36:16 -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 7fb2375acc Problem: Download Link is a Blob (#349)
- fixed by giving a proper filename.
- not fixed: filename exists, but is untitled, need to wait for backend
update to get a proper title

Co-authored-by: wil <wil@storyteller.ai>
2024-05-08 16:17:14 -04: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
FromTheLOLAshesandChristopher Oliphant 5fcb33263d Fix url for view on media page (#328)
Co-authored-by: Christopher Oliphant <RALifeCoach@users.noreply.github.com>
2024-05-07 10:38:12 -07:00
wilandwil 5bb8e998de Thumbnails in Load Scene Dialog (#323)
- Fixed! now the Load Scene Dialog loads the metadata correctly
- and the component Scene Card read said metadata to show the thumbnail
- Scene Card is also capable of loading a fallback image in case of
loading error
- Fixed! Faulty thumbnail metadata in Movies CompletedCard
- Both SceneCard and CompletedCard load images lazily

Co-authored-by: wil <wil@storyteller.ai>
2024-05-06 20:33:49 -07:00
FromTheLOLAshesandChristopher Oliphant 3aa2379477 Updates to DND (#287)
New state colour/text when cannot drop
New colour when okay to drop
New bar in timeline grid when okay to drop
Tracks that are okay to drop glow

---------

Co-authored-by: Christopher Oliphant <RALifeCoach@users.noreply.github.com>
2024-05-01 15:57:30 -04:00
4ee795728b Fix a few generate modal bugs (#278)
Co-authored-by: Christopher Oliphant <RALifeCoach@users.noreply.github.com>
Co-authored-by: bflatastic <bombayapirat@gmail.com>
2024-04-30 14:20:17 -04:00
BFlat a428d44340 styling/final modal (#274) 2024-04-30 08:54:19 +07:00
FromTheLOLAshesandChristopher Oliphant 4ac9ca4d77 Add final modal (#270)
Co-authored-by: Christopher Oliphant <RALifeCoach@users.noreply.github.com>
2024-04-29 20:26:13 -04:00