Commit Graph
29 Commits
Author SHA1 Message Date
Tanish Manku 4e0b2d6aa2 Add uploader states for image upload modal 2025-01-09 16:03:47 -08:00
Tanish Manku 8698c96cf2 Create enum for character frame file types 2025-01-07 17:25:57 -08:00
Tanish Manku ebe88211db Use enum for intermediate file argument 2025-01-07 17:25:39 -08:00
wilandwil fc1fa131b9 Fixes/ media item - filter media types (#665)
- updated so all the hooks for managing media item can filter media
types (iow, filter by the media's file extension such as .glb, .zip,
etc)
- some other typo and code clean up
- search feature now waits for a key delay before firing a fetch for
search, so it doesn't fire on every key-stroke

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-08-16 23:30:03 -04:00
34b2a4bab2 Feature/style page (#646)
Co-authored-by: Christopher Oliphant <RALifeCoach@users.noreply.github.com>
Co-authored-by: Christopher Oliphant <christopheroliphant@christophersmbp.home>
Co-authored-by: bflatastic <bombayapirat@gmail.com>
2024-07-26 11:15:44 -04:00
wilandwil ecf27daa15 Upload button (dev only) can now be Enabled via User Attributes (#654)
Co-authored-by: wil <wil@storyteller.ai>
2024-07-25 17:22:46 -04:00
wilandwil 06de63ab1a Fixes/ Side Panel minorbugs (#643)
**Big code changes:**
The states, usecallback-functions, and auto-reload-useeffects for
user-objects, featured-objects, user-objects-search-results, &
featured-objects-search-results are consolidated into their own hooks
and share among all tabs so all tabs uses the same logic. this includes:
- Film Sets Tab (aka object-sets)
- Creatures Tab (aka object-creatures)
- Anime & Cartoon's Character, Animation and Expression Tabs
- Props & Objects Tab (aka object)
- Image & Video Panels Tabs

**Minor Changes**
Updated Tab Names and Icons as requested, most importantly, subtabs
component can now take icons, in which, it is implemented in the Anime &
Cartoons Tab's sub tabs, iow, their Character, Animation, & Expression
sub tabs now have icons.

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-07-20 11:00:20 -04:00
33972fc3f2 TABS / Expressions are now tugged in the Character Models Combo Tabs, only Mixamo Characters have Expression Tracks (#642)
Co-authored-by: wil <wil@storyteller.ai>
Co-authored-by: Quicksticks-oss <chongobongotoday@gmail.com>
2024-07-18 20:21:44 -04:00
Miles Ryanandwil 9c12559b4d Video Planes (#637)
https://github.com/user-attachments/assets/c7dc4771-c129-4998-8407-428edd9409f7

[Engine
Render](https://storage.googleapis.com/vocodes-public/media/e/9/s/w/m/e9swmj5wrsz3agn5pe35h9pqscttm11y/video_e9swmj5wrsz3agn5pe35h9pqscttm11y.mp4)

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-07-17 21:57:25 -04:00
adc73f60ae Feature/ Skyboxes (and its Tab) (#636)
@Quicksticks-oss  has finished the loading of skyboxes
@wilwong has made the tab for it, and did some re-organization of demo
files cos the list is growing larger and larger now

---------

Co-authored-by: Quicksticks-oss <chongobongotoday@gmail.com>
Co-authored-by: wil <wil@storyteller.ai>
2024-07-16 14:25:31 -04:00
wilandwil a7b12f4bb6 TABS / updated mixamo file types spec and implementation (#620)
Co-authored-by: wil <wil@storyteller.ai>
2024-07-12 11:39:37 -04:00
wilandwil 31c06ce8b5 TAB/ uploadable file types for Anime & Cartoons (#619)
update uploadable file types for characters and animations for both the
anime tab and cartoon tab

Co-authored-by: wil <wil@storyteller.ai>
2024-07-12 09:19:55 -04:00
wilandwil 5bb656b980 Tabs / Anime Tab and Cartoons Tab (#615)
Tabs/ Anime and Cartoons
- merge original character and animation into 1 tab
- duplicate the Character + Animation combo tab because
- we have anime & cartoon, 2 different types of character&animation
combos

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-07-11 21:50:45 -04:00
wilandwil b3093e65e8 TABS / film set, set dressings, creatures, etc (#606)
more tabs for the object sub-categories

Co-authored-by: wil <wil@storyteller.ai>
2024-07-10 18:24:30 -04:00
wilandwil dcec252f47 Feature/ Tabs improvement 2.3 (#605)
- Rebased to take the filter object from bombay
- New Object Upload Tab available in Film Set Tab and Object Tab
- Character Tab now uses the generic uploader because previewing and
taking a snapshot of a character is too much of a code challenge atm.
- added the dev-only feature tag, expressions uploads is now dev-only
- went over acceptable file types and took out refreshed all the upload
tabs
- realign the code so all upload tabs uses the exact same logic,
interfaces, and code structure, for better legibility

this PR eliminates:
https://github.com/storytold/GottaGoFast/pull/600
https://github.com/storytold/GottaGoFast/pull/598

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-07-10 12:45:34 -04:00
wilandwil 3d707b9911 Feature/Tabs improvement 2 - Image Panels... Panel (#592)
Co-authored-by: wil <wil@storyteller.ai>
2024-07-08 20:46:23 -04:00
wilandwil a8d0541c31 Feature/ Sets Tab; Fixes/ Tabs Improvements (#578)
Tabs Improvements:
- refactor tabs so no more race condition revolving unneccessary signals
- clean up signals
- refactor upload modal movement to be non-signaled and generalized for
more files types
- better naming for files and components, better error handling, eslint
type any fix
- upload file screen can use less state rerenders and better error
messages

Object Uploader
- adapt the old object upload modal with 3d object preview into the
updated best version of upload modal
- preview loader code improvements, better flow and organization

Sets Tab:
- create a set tab, it currently show objects
- hide it behind a FeatureFlag

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-07-07 21:19:07 -04:00
BFlatandwil 0c8ce2ced7 feature/search objects (#575)
- add functions in API manager to use the search API
- adds search field to object tab, it searches through featured/mine objects depending on which tab you are on
- this feature is hid behind a feature flag until we have a proper design and solution to handling assets


---------

Co-authored-by: wil <wil@storyteller.ai>
2024-07-03 16:12:14 -04:00
Miles Ryan 2221f5d888 Image Planes (#562) 2024-06-29 17:50:20 -04:00
wilandwil 122f39bd25 Api2.6/ upload animations expressions (#511)
Co-authored-by: wil <wil@storyteller.ai>
2024-06-20 16:14:06 -04:00
wilandwil e7a707d390 Feature/ Remix (#504)
- save scenes with generation details
- when load scenes, the UI pickup the variables and propagate through
signals.

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-06-19 20:39:43 -04:00
a627cddbdc Api Manager 5 Squashed and Copied to Main (#495)
- Add rename media file
- add delete media file
- Add many load functions
- add user bookmarks (no tests yet)
- user bookmarks - fixes and unit tests
- user rating
- Add analytics
- add beta keys endpoints
- add comments endpoints
- Add conversion endpoint
- Add featured items endpoints
- Add to Jobs enpoints
- Add moderation endpoint
- Initial weights endpoints
- All weight enpoints, no unit tests
- unit tests for weights

extra fixes from wil:
- turn off proxy settings for node_env === development
- audit packages

---------

Co-authored-by: Christopher Oliphant <christopheroliphant@christophersmbp.home>
Co-authored-by: wil <wil@storyteller.ai>
2024-06-18 19:30:33 -04:00
wilandwil 0f9cf19420 no beta key = no access (#488)
Co-authored-by: wil <wil@storyteller.ai>
2024-06-17 22:10:25 -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 e76c885b0c cherry picked code for new auth strategy, implement its functionalities again using the new api manager 2024-06-13 20:26:50 -04:00
wil 77adeb2ad5 bring api manager into the codebase 2024-06-13 16:50:08 -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