kpamela / SOEN343

https://tecmarket.herokuapp.com/
2 stars 0 forks source link

Filters issues #118 #141

Closed Lordofsnails closed 6 years ago

Lordofsnails commented 6 years ago

I am doing a pull request as requested by our fabulous team leader yesterday or the day before... I am still fixing minor bugs, but this should be a working filter. I ll be adding more comments to explain what my code does. It should be quite obvious tho, since i tried my best to split it in multiple smaller components.

All you need to touch is under SOEN343\src\js\Dashboard and then you have the SearchBar.js which is the main search/filter generator I have a toggle for the filters since they become excessively aggressive, but its buggy, so i m not using it until i diagnose the issue. It is called CatalogueFilterToggle.

The rest of the catalogue components are under FilterComponent folder under the same dashboard directory.

within DilterComponent, you have checkbox which is the "source code" for how my checkboxes works, but the way i structure it is not accepted? it doesn t render my code... but its ok, I prepared a backup plan, so it should work or can work without that.

All the other folders are twin sister files, i mean, its just how many fields and how the forms are organized.

FrankSauve commented 6 years ago

118

Lordofsnails commented 6 years ago

I ve fixed the labels, and also for the shoppingCart, i havent touched it...in the least i dont recall having touched it. I will see what causes the problem.

FrankSauve commented 6 years ago

ProductListing doesnt display any product