Commit Graph
174 Commits
Author SHA1 Message Date
Michael Chung a0b7296463 Merge branch 'main' of github.com:storytold/storyteller-board into main 2024-09-27 22:17:32 -04:00
Michael Chung 6a18015c1f Fixed. 2024-09-27 22:15:44 -04:00
31b0710ea8 Feature/ chroma integration (#33)
* Squashed commit of the following:

commit 70f98187297409b488215dd8e5e4906e4a74e6af
Author: wil <wil@storyteller.ai>
Date:   Thu Sep 26 13:34:08 2024 -0400

*   squashed all chomakey core implementation into 1 commit
* preliminary setup for chroma key ui
* Switcher
* Working Chroma Switcher
* Enable Disable Chroma properly also added setChromaColor which takes r g b
* dialog for chromakey
* simple ui for chromakey done

---------

Co-authored-by: wil <wil@storyteller.ai>
Co-authored-by: Quicksticks-oss <chongobongotoday@gmail.com>
2024-09-26 21:00:28 -04:00
wil d71bace2a7 resizing node on load so it wont block the screen
improving on the implementation, better typing, shared functions, encapsulations and abstractions, etc
2024-09-26 13:18:19 -04:00
wilandwil cc9e6b397b Feature/multi select square (#31)
* fix drag/drop and select mouse events for multi select

* fix deselectin via clicking spaces

* selection manager can now select via provided knodes

* house cleaning, setup app mode to highlight the select button, and also better colors

* fix: toolbarmain container should not block pointer events

* fix: lock button states, multiselect can not pick locked items

* fix: toolbarNode hides when you deselect all nodes

* cleanup consolelogs, change selector square's color

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-09-25 19:42:26 -04:00
wilandwil e3275fcf7f Feature/resize rotate konvasnode 2 (#28)
* distilled code of transformer to its most essential code
* made multi node transform work
* attach and detach transformer listeners
* update all the react-land comps for the latest setup of transformer
* lock button states are functional
* bring lock logic into the signal management (away from the konva app)
* position the context menu/loading bar with proper trigonometry
* move nodetransformer to nodecontext, cleanups, named parameters, etc
* fix: small typo in dialog video upload
* fix: always bring transformer to the top
* fix: refresh transformer on delete, calculate position for loading bar as well
---------

Co-authored-by: wil <wil@storyteller.ai>
2024-09-25 12:16:39 -04:00
wil b8fc69d7fb fix toolbar main's loading bar's transition component 2024-09-23 14:54:39 -04:00
wilandwil 570a48e176 fix positioning for contextual menu bar and loading bar (#27)
Co-authored-by: wil <wil@storyteller.ai>
2024-09-23 10:07:34 -04:00
ArEnSc b2dd62ff23 Feature/node refactor (#26)
* Fixed highlight bug.
Moving ImageNode to
NetworkedNodeContext base class
to make the code easier to manage with an undo stack.
This may have broken video nodes which will be fixed now.

* Selection Manager corrected to handle the states of selection correctly.
Video Node is broken needs fixes.

* Fixed the selection states.
Selects while dragging and using shift correctly.

* Ok one more bug discovered it is now fixed.

* Fixed multiselect again.

* Fixed issues with instancing

* Fixed the video playing and pausing

* Fix context menu rendering on window changing

* Send Zip Blob Back.

* Testing rendering problem by extracting the zip.

* Test bench for figuring out why this is broken is setup.

* A bit of a warzone need to go back.

* OffScreenSceneCanvas
OffScreenSceneContext
Works just fine need to merge in main

* Meme Engine ready for testing.
2024-09-21 22:40:24 -04:00
Michael Chung 85c2bb822b Fix to rendering it now guarentees a render. 2024-09-20 17:34:51 -04:00
Michael Chung c74f6419c4 Undo and Redo Stack Manager. 2024-09-19 14:13:39 -04:00
Michael Chung 5814519db5 Merge branch 'main' of github.com:storytold/storyteller-board into main 2024-09-19 12:16:34 -04:00
Michael Chung 292f54c004 Canva fixes. 2024-09-19 12:16:19 -04:00
wilandwil 04ce129b71 Bigger housekeeping and cleanup changes (#25)
* making the layout more efficient containing the signals
* make efficient of tooltip code as well
* fix tooltip data tagging
* more clean up of unused files and code

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-09-19 11:59:43 -04:00
wil a6d705d81b housekeeping, decoupling signals from compoenents 2024-09-19 10:14:46 -04:00
wil 56d00b0fe9 housekeeping, small style fixes, types fix 2024-09-19 10:08:47 -04:00
Michael Chung dc514756fc Debug stuff to help brandon debug cors 2024-09-18 22:04:22 -04:00
Michael Chung df6df6e594 Testing locally. 2024-09-18 19:29:22 -04:00
wil 55b93d4b85 housekeeping, small style fixes 2024-09-18 19:24:30 -04:00
wilandwil 93c08a4812 fix dialog sizing problems (#23)
Co-authored-by: wil <wil@storyteller.ai>
2024-09-18 19:04:26 -04:00
Michael Chung 7e3c6efe59 Merge branch 'main' of github.com:storytold/storyteller-board into main 2024-09-18 19:04:15 -04:00
Michael Chung c34e0900e5 Trying to use built in feature of vite to compile typescript and use it as a worker. 2024-09-18 19:03:48 -04:00
wilandwil dda9790308 Feature/ anywhere drag dropper (#22)
* make the component for Drag & Drop Files on top of the canvas
signal context for the app, so then ui elements can call upon each other

* drag drop image works well

* drag drop video also works

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-09-18 18:37:30 -04:00
Michael Chung 3e54d2983b Try agian. 2024-09-18 18:15:07 -04:00
Michael Chung abbc1066f1 removed broken diffusion shared worker.
Trying to send the worker a frame buffer.
2024-09-18 18:10:34 -04:00
Michael Chung d39120cc10 Trying brandon's strategy. 2024-09-18 17:54:57 -04:00
Michael Chung cf011bd010 try it the old way. 2024-09-18 17:45:52 -04:00
Michael Chung dc00741fb5 Merge branch 'main' of github.com:storytold/storyteller-board into main 2024-09-18 17:38:21 -04:00
Michael Chung 363e6d40a4 Add extra logging via error. 2024-09-18 17:27:55 -04:00
Brandon Thomas a7cda23348 change logging 2024-09-18 17:22:30 -04:00
Michael Chung f21a107b05 trying js compiled variant 2024-09-18 17:04:40 -04:00
Michael Chung d3251356fc LoadingShared worker 2024-09-18 16:46:55 -04:00
Michael Chung 812b9308e6 Ok trying to get more log info from failed script. 2024-09-18 16:34:48 -04:00
Michael Chung f768781997 Trying a documented wya of running a shared worker. 2024-09-18 16:27:20 -04:00
Michael Chung c3c44f7709 Try this loading. 2024-09-18 15:50:50 -04:00
Michael Chung 17e3d33e80 Trying with a newly compiled file. 2024-09-18 15:19:55 -04:00
Michael Chung da7309d571 try an alternative way to load the script. 2024-09-18 15:12:42 -04:00
Michael Chung 4ae50c086d Ok shared worker as js file compiled. 2024-09-18 14:35:03 -04:00
Michael Chung 2771e45710 SharedWebWorkers. 2024-09-18 14:25:07 -04:00
Michael Chung a9881ff98c Adding log messages. 2024-09-18 14:17:41 -04:00
Michael Chung eca27e263a Trying a shared worker work around. 2024-09-18 14:14:43 -04:00
Michael Chung 1fe0296d73 Ok Modified the worker it should catch via vite. 2024-09-18 13:44:29 -04:00
Michael Chung 5e3d79e91e Merge branch 'main' of github.com:storytold/storyteller-board into main 2024-09-18 12:47:31 -04:00
Michael Chung 3c3d7c5934 Fixed Reset Issue.
Fixed worker issue in prod.
Fixed RenderEngine.
2024-09-18 12:46:19 -04:00
wilandwil 6650f6fdfa make switches a common component (#19)
Co-authored-by: wil <wil@storyteller.ai>
2024-09-18 09:36:09 -04:00
Michael Chung 829c4ea27b Fixed hack. 2024-09-18 01:06:03 -04:00
wil ea37a4c3d6 intialize with undefined instead of initial values 2024-09-18 00:11:52 -04:00
Michael Chung d81cf44c84 Put hack back in. 2024-09-17 23:46:57 -04:00
Michael Chung 816a087b6b Remove hack 2024-09-17 23:43:40 -04:00
Michael Chung f97a64682e Ok fixed most of the error issues. 2024-09-17 23:08:15 -04:00