cablehead / stacks

clip clip, pew pew
https://stacks.cross.stream
MIT License
91 stars 5 forks source link

Throw away the 1st draft preact UI: replace with Solid?? #58

Open cablehead opened 4 months ago

cablehead commented 4 months ago

Now that the UI has settled down somewhat, and the locations and types of menus and overlays are known, it’d be great to throw away the current code and write it again. I’m pretty sure I want to use solidjs next time, but I’d definitely defer to a front-end specialist who had interest/time to contribute.

I picked preact largely because of signals, and it seemed like a way to avoid the complexity of React. At the time, I didn’t appreciate that meant I should have been using Solid!

If you’re the sort of developer who'd rather be using htmx, except when that’s not the right fit, and think solidjs is nice, but wonder how it can be lighter (vs. solidjs is nice, but it needs more, like SolidStart) - I think you’ll find this a fun place to play!

cablehead commented 4 months ago

This is a start on cataloging the current UI, to help allow discussions about it:

image

image

image

cablehead commented 3 months ago

As part of reworking the UI, I think we want to make clips from the surrounding stacks visible as well, and down and up and the bottom / top of a stack should navigate to the next / previous one https://discord.com/channels/1182364431435436042/1182364437391364259/1247550378954985513 /cc @VKondakoff

This means clips should be lazy loaded as the user scrolls through clips

cablehead commented 3 days ago

This issue is really: https://github.com/cablehead/solid-xs