Open jaw-sh opened 4 weeks ago
Not too difficult, if I'm envisioning it correctly. You just treat the overlay page more like a view container, and the individual views are individual html template files that you can load in.
it's more the system of repositioning things and having malleable properties. the saving is simple for rust to handle, even between tabs.
there's got to be some sort of easy system out there.
https://github.com/comfyanonymous/ComfyUI is a good example of modular and resizable layouts. The way they do it works pretty well.
I'm wondering how hard it would be to replace the hardcoded overlay arrangement with something with dynamically sized and modified elements similar to StreamLabs. I bet you there's some NPM package that is drag+drop in.