symfony / ux

Symfony UX initiative: a JavaScript ecosystem for Symfony
https://ux.symfony.com/
MIT License
860 stars 315 forks source link

[RFC] UX examples initiative #727

Open t-richard opened 1 year ago

t-richard commented 1 year ago

This come from a discussion started on the Symfony slack.

Someone asked about adding new UX packages for common use case: modal, lightbox, date pickers, WYSIWYG, etc

This has low value for Symfony UX because most of these usecases have well maintained libraries that would be trivial to integrate with Stimulus and Turbo, and it have a high maintenance cost to have those inside the UX initiative.

Enough context, what is this about ?

@weaverryan gave a super interesting idea, instead of creating individual packages with low value, we could have an examples section on ux.symfony.com

This allows for:

Some challenges

Some inspiration

Let's gather feedback, examples and make it happen ✨

weaverryan commented 1 year ago

Let’s get this party started :).

The live components section of the site already has demo pages, so we can use that design at least as a starting point. We’ll also need a /demos page - I can get a design for this if needed, but that shouldn’t stop someone from bootstrapping that.

The code for each demo should be as standalone as possible: probably a dedicated controller class for each (so a user can easily see its code in an uncrowded way if seeing the controller is relevant).

There are other details to figure out, but nothing scary. We just need to get it started so we can load it up with demos.

t-richard commented 1 year ago

Yes, we just need to do it.

Started something today to get the ball rolling.

I based the design on live components and we can iterate from there.

Expect a PR soon 🤞

weaverryan commented 1 year ago

Yes please! It can be rough - 💯 to iteration!

excitedbox commented 1 year ago

I suggested something similar in 2 recent issues. One is advocating for a symfony ecosystem section and another is for a unified component controller. Sadly not many people responded even though those that did liked the idea.

If we had an example for something like Turboframes integrated with a goldenlayout type component, it would make it trivial to change the code you load inside those frames. It would offer a great starting point for beginners to build web applications, dashboards, and one page apps.

weaverryan commented 1 year ago

unified component controller

Can you explain this concept?

If we had an example for something like Turboframes integrated with a goldenlayout type componen

Yea, that sounds like a cool example :)

carsonbot commented 7 months ago

Thank you for this issue. There has not been a lot of activity here for a while. Has this been resolved?

carsonbot commented 6 months ago

Hello? This issue is about to be closed if nobody replies.

carsonbot commented 6 months ago

Hey,

I didn't hear anything so I'm going to close it. Feel free to comment if this is still relevant, I can always reopen!

carsonbot commented 6 days ago

Thank you for this issue. There has not been a lot of activity here for a while. Has this been resolved?