-
Notifications
You must be signed in to change notification settings - Fork 10
ISSUE-400: Advanced Search Classic mode #403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Notes for myself:
|
We don't act on these yet. On classic mode the default behavior (invisible to the user) will be to render all allowed filters BUT hide them initially. That way the plus and minus signs really only do "show/hide" and unset values instead of depending on a complex logic on the Actual exposed form handler for the filter. This also allows the Filter still have full control of how many/naming, etc. All this via JS
…idding (visually hidden v/s hidden via js?) or data attributes? not sure yet
'aria-hidden' = TRUE allows us to also hide them for screen readers. If not this is just too confusing for an enduser
…c mode Works. No submit until user presses "Apply" or search or whatever the "op" button is named. But... i still need to refine the remove logic. Bc as "requested" there could be a MINUS button per sub filter, which means also, when someone presses [add]. i Basically need to reorder the values so there are no "empty" gaps which right now happens when i hide/unhide elements,. Baby steps @alliomeria
|
marked this as ready for review bc the logic works 100%. With improved JS. But, the UX need still work. Why?
|
…istent order (i tried, god knows i tried @alliomeria) but, i can shift and move values so i can always remove from the end, add to the end, but delete the value from the actual position i am requested and via JS move values one step down. Which in UX terms i like if i had actually removed the specific field...
…st one now Edge case, the last one is the current one... deal with that Diego @alliomeria this will be ready to test tomorrow 9AM
Yay diego, yay
And now i got it right advanced_search_multiple_remove
|
This is great @DiegoPino! So far all testing in local has been going very well, no issues using either modern/regular modality for the interactions or with the 'classic' mode setup. Next week, will work with you to pass some potential default configurations (views, facets, etc) to pair with these for standard deployments. Thank you and have a great weekend! :D |
|
@alliomeria thanks so much for all the extensive testing. Same for you, happy weekend 🐶 🌷 |
See #400
This is ready to be tested.
New settings:
Classic mode basically uses JS for everything but keeps the sequential logic of fields named with a suffix
_$countand ordered. Does not solve the other need (facet summaries)