User tests: Successful: Unsuccessful:
Use native bootstrap layout instead of funky own style!
Affects Smart Search: Edit Search Filter in admin area
And com_finder advanced in front side
Admin area:
Front end:
Admin area:
go to /administrator/index.php?option=com_finder&view=filters
Create a new filter.
play around
Save. Reload etc…
Front end
Create a menu for smart search (component not module)
Enable all the option for advanced search.
Visit that page
Play around with the search!
Report errors or suggestions
Labels |
Added:
?
|
Labels |
Added:
?
|
@chrisdavenport @infograf768 Can I humble ask for some input or some testing here?
Both of you have a deep understanding how this component work and have a nice testing env, so I will be extremely thankful if you can spare some time for this!
@Fedik A table style layout is quite hard to be imposed here, as we don’t know the possible width of the every column e.g. a label with some title "something really large to accommodate"
This means we either hardcode some widths with the possibility that some columns might need some scrolling in x-axis or we hardcode some max-height and then we have some y-axis scrolling.
Or something else? Someone front end expert here?
Category | ⇒ | JavaScript |
Perhaps the Toggle Selection button above the accordion should be renamed to Select all filters?
@losedk which of the two toggle buttons is not working? (the one above the accordion or the one in each slide?)
Yes Toggle selection should be renamed to something more descriptive.
The show all button seems to toggles the state, thus the behavior is kinda weird. If first slide open this will be closed and all others will become open. I have to find a work around for this...
Hi, i tested the patch and it works.
I have 2 suggestions:
@patjun Thanks for testing
The button’s function is not toggling all the panels to shown on hidden, is just opening all the panels. The problem is that BS 2.3.2 has same defects here and this is the easiest approach here. But we can make a function to implement this functionality, if people think that this is essential. Bear in mind that as it is right now the code is 1 line, inline in the onClick
of a button, very simple implementation…
The count is something that can be easily implemented, will push that in a few minutes...
Hello! The "Show all" only opens the first panel.
@designbengel Thanks, it should be fine now
Yes, now it´s ok
Hi,
i tested the patch again. The numbers in the toggle box are perfect, but i still get problem with the "Show all" Button.
What i did:
Then i get this. All Section are open except the two Categories i opened and closed before. Here is a screenshot.
Thanks
Patrick
@patjun Thanks Patrick for testing!
I made some changes to incorporate a bulletproof solution for expanding collapsing the accordion. It looks like this:
On clicking on Expand all slides
button on the right top corner
And then on clicking on Collapse all slides
This should solve the misbehaving button!
@test played arround using the filters. Patch seems to work.
Milestone |
Added: |
@test nearly there. Looks good in the frontend. In the backend however if there are no indexed items and you try to create a new search filter (yes I know super unlikely but....) then the buttons still show
and actually by clicking on "Expand All" the view starts to fall apart :P
However other than that one weird test case things look good :) Nice work!!
Labels |
Added:
?
|
Labels |
Added:
?
|
In the backend for the stuff we discussed yes. In the frontend it's really weird. I'd leave it for another PR - because really we probably shouldn't render the module at all or something
A Notice Message would be great for the user - if nothing is indexed -> the search module reports that nothing will be shown then. Same for not enabled plugin...
@designbengel I was doing something stupid (inline styling) that’s why you got overflowing modules. Can you retry with the new code?
@dgt41 yes great! now it´s fine - and the other stuff i tested long before successfully :)
@dgt41 I can confirm the findings by @designbengel. As for the suggestion for clicking the label, that is a good enhancement.
@designbengel @roland-d what browser?
@roland-d haha spooky code
I guess if also @designbengel can confirm that this is a cache problem we can move it to rtc
And make all other improvements in another PR
My Browser: Safari 8.0.5 / O SX
cleared the cache -> it worked
Played arround with toggle on/off close/open slides and then the expand all didn´t worked anymore...
@designbengel fixed it
tested successfully
Status | Pending | ⇒ | Ready to Commit |
RTC Thanks for testing and coding here
Labels |
Added:
?
|
@dgt41 Not having much luck today ;) Now Travis throws a fit:
FILE: ...s/build/joomla/joomla-cms/components/com_finder/helpers/html/filter.php
--------------------------------------------------------------------------------
FOUND 1 ERROR(S) AFFECTING 1 LINE(S)
--------------------------------------------------------------------------------
372 | ERROR | Please consider a blank line preceding your comment
@dgt41 Sorry to bother this PR further but I would like to ask some more questions. In your images I see your front-end view gives bootstrapped dropdowns, I don't get them. They are regular dropdowns, is that supposed to be the case?
Second is concerning the backend, when creating a filter, you build the according sliders, inside the slider is the content. The sample data has 24 catgories, there is so much whitespace between each entry that the list gets pretty long. Now imagine on a site with many more categories, that means a scroll craze. Can you have a look at reducing the spacing between each item?
@roland-d front end select tags have no bootstrap touches (the preview is safari browser and should be different in each browser). We could apply chosen there to modify the look and feel but I wouldn’t recommended for the front end. For the input tags inside of the slider a simple css addition should fix the spacing. By the way, which browser you’ve used to test this?
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-10-03 09:10:21 |
Closed_By | ⇒ | roland-d |
Labels |
Removed:
?
|
Great job! Will do some testing