[LiveComponent demo] Faceted search menu & results demo #2212
Unanswered
Nayte91
asked this question in
Questions & Answers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I'm working on a personal Faceted search menu and results page, and I feel like LC is an awesome tool for this job, but needs 1 or 2 tweaks to do it flawlessly.
I also think a faceted menu example in doc/demo can be a superb vitrine of what LC/UX can do 🤩 as it mixes realtime, complex logic (database search), good use of DTOs and a lot more of features delivered elegantly, out of the box, by LiveComponents.
Please be ensured that is not a "do my homework" post (I felt like when writing) but a real, large opportunity for LC to be THE solution for any faceted search, as you can find on e-commerce websites/frameworks, for example (my actual usecase is not for shop btw).
Functional specs
From an index page of a given symfony controller, render a template that renders a FacetMenu & an ArticleResults LCs.
The page accepts some query parameters of various types:
The Facet Menu got several inputs to play with those values accordingly (with a reset button also). When a value is changed, 2 things happens in realtime:
And... That's it. Pretty straightforward, pretty cool, but some challenge are on the (my?) way.
Technical target
I may write some impossible specs below, but at least I'm pretty sure nothing is nonsense here ;) note that below are flawless specs without any workarounds or compromises. As sad as it is, the world is not like that.
index?date=&page=1
), null values should be allowed (as long as the type allows it in the Filter)Challenges
If my specs are OK, I may have found few not-handled-yet challenges for LCs, unless I totally missed a point of the tool's current feature (it may be welcome as a good news).
&date=
issue, and clean URL for better UX.Based on those challenges, issues will be created to address those points, until I totally miss a thing here.
Beta Was this translation helpful? Give feedback.
All reactions