Commit Graph
196 Commits
Author SHA1 Message Date
wil 411345ccb4 comment for future dev, fix layer moving bug 2024-10-17 18:41:27 -04:00
ArEnSc 021b842546 Fixing potiential error with no recourse. (#54) 2024-10-17 14:49:23 -04:00
wil fd483fdcc4 navigate to scene url upon saving scene 2024-10-17 14:45:19 -04:00
wil f4bdc3855f Feature/ seg 4 - fixes (#52)
* collect functions and simplified code

* masking points fixed, loading bar for waiting for segmentation session fixed
2024-10-16 19:12:13 -04:00
wil 206a3d19cb new preview api (#51) 2024-10-16 13:27:07 -04:00
wil ac44a79fc4 huge impact typo 2024-10-16 01:12:19 -04:00
wil e1352e737d add text to render engine's collection of nodes (#48) 2024-10-16 00:08:44 -04:00
wil 2b9957d291 Feature/ seg 2: ironing more logic and visual bugs between segmentation and the toolbarNode (#50)
* button disable and node isolation logic managed better

* cleanup
2024-10-16 00:06:30 -04:00
eda6d7574a Feature/seg (#42)
* Adding segmentation test.

* Fix segmentation code.

* Segmentation API just missing proprogate.

* endpoint rename

* Fix issue with logging multiple renders, it seems to work fine, its likely a backend issue.

* Segmentation UI

* Testing states.

* Fixed all state issues now to have it replace the actual video.

* Fix play bug

* One issue with the event system trigging a button press when it is just a click.

* more cleanup

* fixed race condition for seg button

* fixed knode events and disable selector square

* use a debug scene instead of adding debug elements programmatically

* node isolator prelimianrily works

* now lock can be disabled, and disable lock when in segmentation instead of lock

* ironing out toolnode small bugs

---------

Co-authored-by: Kasisnu <5044120+kasisnu@users.noreply.github.com>
Co-authored-by: Brandon Thomas <echelon@gmail.com>
Co-authored-by: wil <wil@storyteller.ai>
2024-10-15 17:59:20 -04:00
wil cee1ee6e9f Feature/ add video 5 (#49)
* add all the new buttons

preliminarily, new trim scrubber

ironout the positioning bugs of the Area Scrubber

styling of area scrubber is now perfect

trim area and trim duration toggle button works perfect now

* repeat button and events works now

* optimized the trimscrubber and trimduration button, fix data plumbing bug of trimdata
2024-10-14 22:21:31 -04:00
wil 5a28aecaf6 Feature/ save & load scene (#47)
* save scene
* load scene from url
* load scene can put back the image nodes now
* now saved image nodes retain its tansform perfectly
* can now save and load videonodes in scene saving
* netlify redirect
* save and load text nodes
* fix text styling, fix adding video node via rendering
2024-10-10 22:46:40 -04:00
wil c7edfe246a Feature/ add image 2 (#46)
* upload image done

* hook up the contextual loading bar and retry button

* retry button need to cleanup to reset
2024-10-09 10:41:17 -04:00
wil 486e3a6384 Feature/ add text 2 (#45)
* combobox styling

* text editor can not autofocus text area

* better styles and input method for the color picker
2024-10-08 13:08:23 -04:00
wil 769dedceca typo 2024-10-07 22:05:16 -04:00
wil 19d58843d7 Feature/ add text (#44)
* can add text

retain stroke width while transforming is now possible

reorganize how the inheritance of node classes, now text can be selected, multi-selected, translate and transform, all while working with the unredo stack

organize toolbarmain and dialogues, now add text brings up a dialog, meant for accepting user text input

finished plumbing the data from user text input to adding text to baord

clean up

make the dialog less weirdly vertical

clean up, and place node in the center of canvas

block adding text with no text, make textbox wider

transformation of old node works with new transformation setup

undo redo of transformation also works for text nodes now

cleanup

geometry fix

almost done text editor ui

text formatting from text editor is sent to engine and used on text nodes

* rid of useless button
2024-10-07 21:56:58 -04:00
wil e25f27cc6a Merge branch 'main' of github.com:storytold/storyteller-board 2024-10-07 21:43:54 -04:00
wil 81137543ce segmentation button 2024-10-07 21:43:45 -04:00
ArEnSc 205a465ff5 fixed now testing (#43) 2024-10-07 20:39:06 -04:00
ArEnSc 47b0361bd7 Network Requests for Previews and Segmentation (#40)
* Jobs API
* SegmentationApi implementing testing it now.
2024-10-03 23:59:12 -04:00
wil 3b32109e57 typo 2024-10-02 21:58:26 -04:00
wilandwil 140117e9fe Feature/ unredo transformation and locking nodes (#38)
* making selection of node more efficient\
* fix draw inefficiencies
* fix selectsquare highlight and event conflicts and some housekeeping
* unredo of transform works
* unredo of node locking works
* bug squashing

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-10-02 20:15:07 -04:00
wilandwil 10a063b964 Feature/ unredo drag translation of nodes (#36)
* add and remove image can be undone and redone

* type fixes, retain z-index for nodes when undo/redo

* hotkey for delete

* further tighten engine code

* moving node layers up and down can be undone and redone

* managing logic defects with adding and delete nodes

* managing more defects for delete

* code cleaning and organization, zindex management works perfect for create/delete node

* update part of the render engine to not use the work layer for media, nomenclature alignment

* command no need to execute guard, moving layer up  perfected

condense logging

* implement the perfected laying moving code for moving layer down as well

* undo translate somewhat works

tranlate node set logic

* prevented muti firing of events in draggin multiple nodes

* undo redo of drag translation of multiple nodes works now

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-10-02 10:39:57 -04:00
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