- success toast default to last for 10 seconds instead of a minute
- pop toast regarding polling movie and audio only when it's called by
job completion
- polling movie/audio functions now has a promise return to give
information to its invoker
Co-authored-by: wil <wil@storyteller.ai>
- fix edge case where user movies are not pulled upon video workflow
done, when there are no user movies in the first place
- fix edge case where jobs are completed, but the movie or audio is view
and deleted, before completed job times out
- add better array comparison to avoid overrendering signals
- added isRetriving signal for video polling to avoid over polling
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>