Commit Graph
44 Commits
Author SHA1 Message Date
Tanish Manku cb01bde1ea Clean up uploadImage.ts 2025-01-23 22:41:44 -08:00
Tanish Manku daebc158f6 Frame buttons: Show preview and add deletion function 2025-01-09 21:13:14 -08:00
Tanish Manku b5dedb81e5 Add upload modal for image that uses only the image endpoint 2025-01-09 16:03:24 -08:00
Tanish Manku 594c2ea5e5 Create ButtonIconStack from frame buttons 2025-01-07 17:25:14 -08:00
BFlat 40e8765caa darker ui styling updates (#674) 2024-10-16 10:28:49 +07:00
BFlat 75318b2e8d big styling updates (#672) 2024-10-11 11:28:31 +07: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
wilandwil 6a89bc303d Fixes/ server-correct pagination (#662)
Pagination of our frontend was implemented "naively" due to previous
time constraints; now, it's "correct" to reflect server responses
exactly. More precisely:
- the Pagination component (frontend) is updated to understand that
there are more fetch-able pages (backend) and it shows a "More ..."
button when the user have reached the last page on the frontend.
- this sub-feature of the Pagination module, the "More ..." button, is
implemented on the character sub-tab only (for now)
- the character sub-tab looks at the set of characters that it is
displaying (ie featured vs mine), and pass the correct fetch-more-pages
function to the Pagination component
- the underlying hooks to managed fetch feature objects and user
objects, their api invoker utilities, and the api classes are all
updated to deal with pagination properly

small issue:
- pagination of featured items uses "infinite pagination" to prevent
competitors from knowing how much data we have in our system, which
means, there will always be a "cursor to the next page", and we would
only know we have reached the end when we request a next page with a
cursor but a response of no results returns. so, for featured items,
when the user reached the last page, the "More ..." button will show up
once, if you clicked it and it goes away, there are no more items in the
server. This extra "More ..." button is the current "correct" behaviour.

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-08-12 16:48:55 -04:00
BFlat 1de4241ccd file menu dropdown z-index fix (#660) 2024-08-06 09:34:59 +07:00
BFlat f6a4732b47 z-index fix dropdown profile (#659) 2024-08-06 00:58:09 +07: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
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
ArEnSc 00c697f0ff Remove noise from logging while keeping other noise out of the loop (#633) 2024-07-15 14:06:50 -04:00
wilandwil 149d26534b Styling/ font change cont (#626)
- fixed some font alignments things here and there
- there's a missing variable uncollected for scene generation meta,
fixed it

Co-authored-by: wil <wil@storyteller.ai>
2024-07-12 16:59:06 -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
BFlat 778add0991 Added search field on every tab (#594)
**main changes:**
- every tab now has search for featured/mine (sets, character,
animation, facial expression, objects, image panels)
- all are under the same posthog feature flag
- I've tested all tabs myself it shouldn't have any problems, except
expressions which filter engine categories is returning nothing (but
isn't that important, can be fixed later, since we only have a few
expressions currently and it's dev only)

**other small changes:**
- loading title font weight change
- typo and leading fixes
2024-07-09 13:49:43 -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 e4ac69af64 Fix/ Loading Bar can not have signals (#590)
@bflatastic please be mindful that all the components in the reusable
folder are/could-be/should-be reused in different components, which
means, if a signal is needed, their parent component has to load that
signal and pass it on to them, otherwise the component wont be reusable
anymore

Co-authored-by: wil <wil@storyteller.ai>
2024-07-08 19:03:25 -04:00
BFlat 18b178087d added text to tell users to stay on the page while processing (#588)
![image](https://github.com/storytold/GottaGoFast/assets/46063141/a69fad36-d645-4180-b94b-48c01cb6aeac)
2024-07-08 15:28:54 -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
wilandwil e59420a3ba Fix / Profile Dropdown Improvement (#564)
- Gravatar is cover by a spinner, the broken image icon is now never
visible
- the My Profile buttons is now an <a> tag, it is now possible to right
click and open My Profile on a new tab and not lose the scene.

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-07-01 14:39:43 -04:00
BFlat 057c8885d6 new percentage strength slider update with number input (#540)
- new custom reusable components: number input and slider
- better looking slider UI
- strength slider now shows percentage visually, but it actually returns
value 0.0-1.0
- users can input numbers from 0-100, arrow buttons increment/decrement
the value


![image](https://github.com/storytold/GottaGoFast/assets/46063141/43b915f4-1f75-4784-86cd-fc60a5bf8c0d)
2024-06-26 16:43:17 -04:00
wilandwil 804497b935 Fix/ Pagination and Filter Items in Side Tabs (#530)
Fix/ Pagination in Side Tabs
- updated itemElements to be compatible with pagination
- updated characters, animation, expressions & objects tab to use
pagination
- hard set loading user & featured items of any kind to be 100
- better pagination implementation in audio tab
- patching filters to load everything first
- code cleanup, resolve linter complaints

Fix/ Filter Items in Side Tabs
- patching FilterButton and other components so then the filters
actually works
- patching all tabs to use the FilterButton
- clean up, eliminated unnecessary signal to remember filters.

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-06-24 16:31:47 -04:00
FromTheLOLAshesandChristopher Oliphant 33f7eb9ae2 fix bug where user can only upload one object (#527)
Co-authored-by: Christopher Oliphant <christopheroliphant@christophersmbp.home>
2024-06-24 13:50:39 -04:00
FromTheLOLAshesandChristopher Oliphant 6e89d24b21 Fix bug where user can type character into object panel (#525)
Co-authored-by: Christopher Oliphant <christopheroliphant@christophersmbp.home>
2024-06-24 12:03:18 -04:00
wilandwil 865f009ee2 implement v2v with the new audio upload in Api Manager, and big cleanup (#515)
- simplify the upload component in v2v because the api manager made it
easier now
- comb through all the old api files
- since nothing refers to them anymore, they are deleted

Co-authored-by: wil <wil@storyteller.ai>
2024-06-20 22:54:37 -04:00
wilandwil 2630baeeb6 Api2.6/ upload Character Objects (#512)
use ApiManager for uploading characters and objects
fixed states of the modal so it doesn't get stuck
fixed refresh call on the user library

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-06-20 22:05:25 -04:00
FromTheLOLAshesandChristopher Oliphant 7d0ac08ccb Write timeline storybook (#513)
Co-authored-by: Christopher Oliphant <christopheroliphant@christophersmbp.home>
2024-06-20 21:42:56 -04:00
wilandwil 7cc6c019ce Api2.5 / Upload Audio (#502)
implement ApiManager ver of UploadAudio
- refactor UploadAudioDialogue to use endpoint
- cherrypicked MediaUploadApi from api-manager-5
- code cleanup as we tread through the files
- delete old request
- patched ApiManager to have a multipart fetch

Co-authored-by: wil <wil@storyteller.ai>
2024-06-20 12:37:46 -04:00
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
wilandChristopher Oliphant 452d283c2a fix CORS (#482)
Co-authored-by: Christopher Oliphant <christopheroliphant@christophersmbp.home>
2024-06-17 15:41:59 -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
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
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 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
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
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