-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Feature/4.0 dev a11y com finder refactor search result #30550
Feature/4.0 dev a11y com finder refactor search result #30550
Conversation
people can visually hide the span if they want
…ith correct number
Looks great - I might be wrong but I think @wilsonge said that there should be no fontawesome dependencies in the front end |
@brianteeman thanks. Wasn't aware of no font-awesome dependency in the frontend. I will have to refactor the display of mime-type to something else. Perhaps included svg. Some else instead of that ugly image form 1995. :-) |
Would be great to have an svg, as now also the alert icons are with svg. #30516 The structure looks good. |
Why reinvent the wheel while Google did a lot of research how to display a search result. The com_finder display of a search result dates back to 2011 and haven't been changed since. updated the initial description of this commit so testers can directly see what to expect. |
I have tested this item ✅ successfully on 89c6f72 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30550. |
that was ugly... thank you Co-authored-by: Quy <quy@fluxbb.org>
and with that change I would like to ask @paternax to test this PR again. :-) |
I have tested this item 🔴 unsuccessfully on 22f2574 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30550. |
it seems that you forgot to run the command |
I have tested this item ✅ successfully on 22f2574 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30550. |
Result of testing: This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30550. |
Thank you @paternax and @N6REJ for testing.
I've equalized spacing between elements. (Just like spacing between elements in Google result item are the same)
Haven't changed spacing between items. Due to this new commit all tests have to be done again. Played with the results though... when adding the following in your local css you can change the looks of the result items to cards.
|
I have tested this item ✅ successfully on 0791571 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30550. |
1 similar comment
I have tested this item ✅ successfully on 0791571 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30550. |
The search results have never looked better This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30550. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30550. |
@Hackwar |
Thanks! |
Pull Request for Issue # .
Summary of Changes
This pull request changes the HTML structure of the search results page.
OL
instead ofUL
. Since it is an ordered list... default sorted by relevancestart
onOL
element so first list item on page 2 and further don't start with 1Testing Instructions
npm run build:css
Actual result BEFORE applying this Pull Request
Expected result AFTER applying this Pull Request
Why reinvent the wheel while Google did a lot of research how to display a search result. The com_finder display of a search result dates back to 2011 and haven't been changed since.
(image of initial description has been replaced)
Two screenshots of new com_finder search results. One with mime icon and one without mime type icon. Mime type is dynamical.
Documentation Changes Required