pooranjoyb / popShop

eCommerce Shoping Platform (with Admin Panel) based on ReactTS & Daisy UI, integrating Supabase as BaaS
https://pop-shop-github.vercel.app/
MIT License
29 stars 66 forks source link

Dynamic filter opetion on products #247

Closed dhruv8433 closed 2 weeks ago

dhruv8433 commented 2 weeks ago

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.

[Feature] Apply filter in products #246

Fixes #246 (issue)

Type of change

Please give a X on it which is applicable

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Test A Describe here

Test B Describe here (if Requred)

Screenshorts and Vedios:

give screenshorts and vedio of the changes you made

https://github.com/pooranjoyb/popShop/assets/114583978/33c0d46c-84d0-4e73-aee8-41030e719ec5

Checklist:

give a X on it which is applicable

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pop-shop ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 17, 2024 1:44pm
dhruv8433 commented 2 weeks ago

@pooranjoyb

please check this and merge it

pooranjoyb commented 2 weeks ago

Do the changes on clicking the Apply button. Doing it real-time doesnot makes sense when we have the Apply button there.

dhruv8433 commented 2 weeks ago

Ok got it

dhruv8433 commented 2 weeks ago

@pooranjoyb

now you can check this

pooranjoyb commented 2 weeks ago

there are some bugs, please fix them.

after clicking the apply filters, next time it doesnot depend on whether i click the apply button, but shows them in real time. Also when no filters are selected all products dissapear. it should show all by default.

dhruv8433 commented 2 weeks ago

ok i will check that

dhruv8433 commented 2 weeks ago

@pooranjoyb

i updated code please check this

pooranjoyb commented 2 weeks ago

Nice work @dhruv8433 🚀