Commit Graph
154 Commits
Author SHA1 Message Date
wilandwil 86815dc22b fix/loadingbar-untangled-from-signals (#492)
quick fix

Co-authored-by: wil <wil@storyteller.ai>
2024-06-18 19:29:45 -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
wilandChristopher Oliphant 452d283c2a fix CORS (#482)
Co-authored-by: Christopher Oliphant <christopheroliphant@christophersmbp.home>
2024-06-17 15:41:59 -04:00
wil b8184b0f22 organize PremiumLock into signaled components 2024-06-17 11:39:42 -04:00
wilandwil b3b30fdf49 Vertical Video and more aspect ratio options (#441)
_**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>
2024-05-30 17:14:04 -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
BFlatandwil 846dd8be82 profile dropdown (#439)
Replaced current logout button with a profile image dropdown:
- My Profile: links to the user's profile page
- Logout: logs out.
- also prevents accidental logout clicks since it's near My Movies


![image](https://github.com/storytold/GottaGoFast/assets/46063141/3fb553c1-751d-4e01-9d77-3180708275c4)

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-05-29 15:14:36 -04:00
BFlat 9eadef4298 file type badge on item chips (#438)
- added file type badge on top right of item chips


![image](https://github.com/storytold/GottaGoFast/assets/46063141/9193d179-7a30-4830-8c7c-196601b544b4)


![image](https://github.com/storytold/GottaGoFast/assets/46063141/5b1c1cb8-31ec-4c02-92b7-4dc6d2cb3c46)
2024-05-29 11:57:35 -04:00
BFlat de3de6315b stylize tab lipsync toggle (#435)
- added lipsync toggle to stylized tab
- use_lipsync boolean api (might need to remove enable_lipsync?)
- styling updates


![image](https://github.com/storytold/GottaGoFast/assets/46063141/c6eca3ab-2550-4c6f-84c8-aa4c63e2df24)
2024-05-28 18:34:15 -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 d47849c324 toast alert styling (#433)
- moved toast to inside editor container bounds so it's easier to read
- styling and icons fix


![image](https://github.com/storytold/GottaGoFast/assets/46063141/ce380b52-5821-47de-94d4-2dd5a48ef583)
2024-05-27 16:16:59 -04:00
BFlat 80e1cb3c69 tutorial video dialog expressions tab (#425)
![image](https://github.com/storytold/GottaGoFast/assets/46063141/092bce48-70ff-43e6-b4bb-b03500c4fc46)


![image](https://github.com/storytold/GottaGoFast/assets/46063141/d5744884-43d3-4340-9e9e-80ffd5dec84d)
- Video needs to be replaced with actual tutorial.
2024-05-25 12:17:45 -04:00
Miles Ryan 71010894ba MMD support. (#411)
Added MMD support.
2024-05-24 16:27:04 -07:00
BFlat 8d6dbf8fab stylize tab improvements (#416)
Reworked the stylize tab to save vertical space and improve UX:
- Style selection in its own page, easier to navigate through styles and
pick them
- Generate Movie button now always sticky at bottom of panel so it is
not hidden under the fold
- Added re-render preview button
- Increased positive prompt field size and both positive and negative
prompts can be resized.

Video:
https://cdn.discordapp.com/attachments/1221845845540995164/1243148163821338727/2024-05-23_17-13-50.mp4?ex=66506b72&is=664f19f2&hm=a22a8c8a63123c91f9037717c323032ea585ac95107ec226dda0e41f6f0c6816&


![image](https://github.com/storytold/GottaGoFast/assets/46063141/5e748eb1-2de9-4b95-981d-9c84a752d4fb)


![image](https://github.com/storytold/GottaGoFast/assets/46063141/2a2cbefc-4a0e-4e64-a26e-4943defe2693)
2024-05-23 11:25:44 -04:00
BFlat 00844d21d2 control panel visually locked styling (#417)
- reduced opacity for locked inputs and cursor change on hover to
visually show that it's locked
- moved lock button out of collapse


![image](https://github.com/storytold/GottaGoFast/assets/46063141/b77e0a46-1458-4c92-95c1-9396933aac0c)


![image](https://github.com/storytold/GottaGoFast/assets/46063141/0c371c1c-000b-4310-9f22-a47fb62ce785)
2024-05-23 11:04:00 -04:00
BFlat 4d02a68a31 add password reset link to login page (#414)
- added password reset link to login page
- styling clean up


![image](https://github.com/storytold/GottaGoFast/assets/46063141/cb13b279-64ae-4838-a721-2aeefdd8dbf1)
2024-05-23 00:14:26 -04:00
FromTheLOLAshesandChristopher Oliphant 00383db9fa correct proxy handling, add proxy to README, fix object locked issues (#407)
Co-authored-by: Christopher Oliphant <RALifeCoach@users.noreply.github.com>
2024-05-21 13:06:21 -04:00
50889ed358 Editor Refactoring (#402)
Co-authored-by: Christopher Oliphant <RALifeCoach@users.noreply.github.com>
Co-authored-by: Quicksticks-oss <chongobongotoday@gmail.com>
2024-05-20 16:36:13 -04:00
Brandon Thomas 971286773b remove FakeYou references, change beta key redirect (#403) 2024-05-19 20:16:03 -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
BFlat b538a634bb premium lock component (#381)
**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.
2024-05-15 13:59:47 -07:00
Victor OandVictor ea69c66fc2 added featured to Expressions tab (#350)
Co-authored-by: Victor <victor@storyteller.ai>
2024-05-08 16:26:00 -07:00
FromTheLOLAshesandChristopher Oliphant fa2fb38d0d Feature/upload movement (#330)
Co-authored-by: Christopher Oliphant <RALifeCoach@users.noreply.github.com>
2024-05-07 12:05:17 -07:00
BFlatandChristopher Oliphant a47e5767b7 Fix scene title input bug + restyle/behavior (#329)
- Fix scene title input bug (Chris)
- scene rename restyle and behavior

Co-authored-by: Christopher Oliphant <RALifeCoach@users.noreply.github.com>
2024-05-07 11:10:57 -07:00
BFlat 50dc150e1c upload error modal button fix and "movement" text to "position" (#320)
- renamed duplicate upload error modal button
- changed timeline's "movement" text to "position"
2024-05-06 21:01:17 -07:00
Victor OandVictor e9cc482201 added UploadNewEngineAsset config, implemented in upload modal (#314)
Co-authored-by: Victor <victor@storyteller.ai>
2024-05-06 20:40:02 -07:00
Miles Ryan 9cb9ab779f Fixed centring of objects in previews. (#316)
![image](https://github.com/storytold/GottaGoFast/assets/75916236/ef98bb39-f509-41b0-9ccf-fff5e3896b75)
![image](https://github.com/storytold/GottaGoFast/assets/75916236/7330d775-7aa8-4a4a-9d7b-fa9820f7c6d4)
![image](https://github.com/storytold/GottaGoFast/assets/75916236/15774c40-e08c-4c9c-a634-b2674f9b4ff5)
2024-05-04 15:30:35 -04:00
wilandwil d5e3b9af97 Scene - Save Load - v2.0 (#303)
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>
2024-05-02 22:55:00 -04:00
Victor OandVictor ecb1540863 fixed whitespaces/0s in translation panel (#267)
Co-authored-by: Victor <victor@storyteller.ai>
2024-05-02 20:16:55 -04:00
Victor OandVictor f22306ff58 added pagination to object/characters tabs (#297)
Co-authored-by: Victor <victor@storyteller.ai>
2024-05-02 16:29:39 -04:00
Victor OandVictor ef5251d84f added engine asset category filters for uploads/listing (#290)
Co-authored-by: Victor <victor@storyteller.ai>
2024-05-01 17:16:36 -04: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
wilandwil e11b1fb255 Play Button Icon and Functions (#283)
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>
2024-05-01 12:34:55 -04:00
wilandwil a522db8fef Scene Name naming and renaming (#284)
- 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>
2024-05-01 11:41:32 -04:00
Victor OandVictor fe55fd0e0f Feature/upload modal fixes (#276)
Co-authored-by: Victor <victor@storyteller.ai>
2024-04-30 14:47:22 -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
wilandwil b8f5cf4eaa Audio Sidepanel v2.6 (#279)
- 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>
2024-04-30 14:04:20 -04:00
FromTheLOLAshesandChristopher Oliphant a63ca89eb7 Prevent spacebar start movie when in textarea (#277)
Co-authored-by: Christopher Oliphant <RALifeCoach@users.noreply.github.com>
2024-04-30 10:42:35 -04:00
wilandwil 7dd101828b Audio Sidepanel v2.5 (#275)
- 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>
2024-04-30 10:32:59 -04:00
wilandwil 24cb2906c6 Audio Sidepanel v2.4 - Audio Items now sized appropriately in timeline (#264)
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>
2024-04-29 13:43:23 -04:00
FromTheLOLAshesandChristopher Oliphant a12ce3a52e update video control buttons, hide the buttons when in preview mode (#263)
Co-authored-by: Christopher Oliphant <RALifeCoach@users.noreply.github.com>
2024-04-29 12:31:30 -04:00
bflatastic 2278ec1848 error dialog 2024-04-27 23:21:56 +07:00
Victor OandVictor cd856ec2e2 Feature/translation panel whitespace fixes (#253)
Co-authored-by: Victor <victor@storyteller.ai>
2024-04-27 02:29:32 -04:00
bflatastic 3d5b1790e6 minor button padding fix 2024-04-27 11:41:29 +07:00
BFlat fd65e65290 styling/sidebar layout fixes (#258)
- broken layout fixes
- every single tab is consistent now
- audio tab styling updates
2024-04-27 00:28:10 -04:00
wilandwil 777c053868 Audio Side Panel v2.3 (#255)
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>
2024-04-26 20:40:43 -04:00
Victor OandVictor f7994604e9 fixed upload button and added object cover image default placeholders (#248)
Co-authored-by: Victor <victor@storyteller.ai>
2024-04-26 14:52:17 -04:00
BFlat b98f681d18 my movies modal restyle (#249)
- modal stylings updated
- my movies modal
- my movies button with active job count badge
2024-04-26 11:53:49 -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
ArEnScandwil 64a2394ab1 UI for v2v is ready (#233)
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>
2024-04-25 14:39:10 -04:00