Commit Graph
46 Commits
Author SHA1 Message Date
Miles RyanandArEnSc cc0350fe89 Redo Undo in Editor. (#539)
![image](https://github.com/storytold/GottaGoFast/assets/75916236/922d67d8-9b89-4c45-824c-90b59150b54f)

![image](https://github.com/storytold/GottaGoFast/assets/75916236/a9f43d99-7a7b-44bd-a6c4-153a5f938ba4)

![image](https://github.com/storytold/GottaGoFast/assets/75916236/7db69cbc-067c-429c-ae51-3ad1b6eabe5d)

---------

Co-authored-by: ArEnSc <6252325+ArEnSc@users.noreply.github.com>
2024-06-27 17:46:32 -04:00
BFlat 39d02b28d9 outliner styling fixes and responsiveness (#519)
- outliner now responsive and fits the screen on resize for all views
(squared, verical, horizontal)
- vertical video styling bug fix 

others styling fixes:
- login page no scrollbars
2024-06-22 16:08:31 -04:00
Miles Ryan 903038df5e Outliner V1 (#517)
![image](https://github.com/storytold/GottaGoFast/assets/75916236/0d8e0bb1-3e89-4542-972c-74a4a4658826)
2024-06-21 18:10:35 -04:00
BFlatandwil 12f33b990c Feature / Outliner Component (#507)
features:
- show/hide with button on top left
- selection
- locking
- toggle visibility
- searchable (and clearable search field)
- delete (blank function exposed)
- double click (blank function exposed)
- scales with the editor screen height available

other changes:
- consistent overall padding of elements inside editor
- object control panel minor opacity change


![image](https://github.com/storytold/GottaGoFast/assets/46063141/77e10a4d-377a-4f71-a5d9-db97d97a1403)

Co-authored-by: wil <wil@storyteller.ai>
2024-06-19 20:55:05 -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
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
Victor OandVictor 3dd6ff224d removed line causing control panel loop (#338)
Co-authored-by: Victor <victor@storyteller.ai>
2024-05-07 19:05:20 -07:00
Victor OandVictor ec9d0525ba expression bug fixes (#336)
Co-authored-by: Victor <victor@storyteller.ai>
2024-05-07 14:14:34 -07:00
FromTheLOLAshesandChristopher Oliphant 93b437cae4 Fix looping useEffect, fix delete object when typing (#327)
Co-authored-by: Christopher Oliphant <RALifeCoach@users.noreply.github.com>
2024-05-07 11:03:30 -07:00
BFlat f04967af13 auto scaling control panel and camera view (#319)
Problem: Transform panel overflowing smaller screens and can't be
closed/minimized.
Solution: Make it auto scale according to the height of the view/side
panel height, now it never overflows.

- Transform panel will now always fit the viewport.
- Scales down both the control panel and the camera view.
- Lock/unlock button color changes when locked
2024-05-06 20:44:45 -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
1db8aced15 Lock unlock object. (#304)
Co-authored-by: Quicksticks-oss <chongobongotoday@gmail.com>
Co-authored-by: Victor <victor@storyteller.ai>
2024-05-03 12:34:21 -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
Miles Ryan 6a1d7ee5f5 Preview window works again!. (#268) 2024-04-29 19:54:05 -04: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
Michael Chung 4a2359699e Added code to eventually fix the transform panel issue moving on to another piece of code and merging this in. 2024-04-23 13:11:28 -04:00
bflatastic 9cf442455f truncate object text title 2024-04-23 21:44:48 +07:00
bflatastic dedd8340b5 control panel redesign 2024-04-23 20:48:17 +07:00
Christopher Oliphant e6c66a39b1 remove debugging 2024-04-12 22:45:04 -04:00
Christopher Oliphant c839a35ae5 Fix looping 2024-04-12 22:40:42 -04:00
Christopher Oliphant 75261f4fa0 Add stylizations page 2024-04-10 15:16:24 -04:00
Christopher Oliphant 573b649906 move shapes, fix delete bug 2024-04-10 09:41:19 -04:00
Quicksticks-oss aa25ff37e0 fixed movement keyframes. 2024-04-09 17:17:44 -04:00
FromTheLOLAshes a1cfca5188 Merge branch 'test' into feature/asset-drawer 2024-04-07 04:54:56 -04:00
Quicksticks-oss dc32c9526b added deleting of objects in the scene and timeline. 2024-04-06 22:35:01 -04:00
FromTheLOLAshes 9d814aaed6 Merge branch 'test' into feature/asset-drawer 2024-04-06 18:38:48 -04:00
FromTheLOLAshes b94abd62a2 Start side panel redesign 2024-04-05 07:08:41 +02:00
Michael Chung cb330e2b48 minor bug fix 2024-04-04 19:40:19 -04:00
Michael Chung 7c6db3b8c6 Trying to fix a minor bug with the input component, it needs to be able to add limit to 2 decimal places. 2024-04-01 20:34:28 -04:00
wil 3a7b86ff6a editorengine context 2024-04-01 19:01:44 -04:00
wil 9ce745da4a fixed object name 2024-04-01 18:52:23 -04:00
FromTheLOLAshes 565280f2df Some code cleanup, get keyframes working 2024-04-01 14:58:47 +07:00
FromTheLOLAshes 9347782812 Keyframe and speed ups. 2024-04-01 09:18:02 +07:00
Michael Chung a6bd1b7e31 Should work properly need to add scene loading and saving. 2024-03-31 15:49:08 -04:00
Michael Chung a6580bd359 Need wil to verify and review the code... 2024-03-31 15:38:35 -04:00
Michael Chung d855b9487e Sending messages to the timeline queue. 2024-03-30 22:29:15 -04:00
bflatastic 55617f3a14 control panel restyle 2024-03-30 18:50:14 +07:00
wil 700b9c6c1e done control panel for scene object 2024-03-29 18:30:47 -04:00
wil cdb9f59897 perfect styling 2024-03-29 18:15:43 -04:00
wil 3ea4fb0067 merge and reducer logic fixed 2024-03-29 17:39:47 -04:00
wil 769e33728c WIP: control panel reducers 2024-03-29 13:34:44 -04:00
wil 9a18386279 styles 2024-03-28 21:35:02 -04:00
wil 2b5ddc0635 object control panel scaffolding done 2024-03-28 20:40:45 -04:00
wil 3ab0bbe464 vector input works 2024-03-28 18:09:57 -04:00