Vagabonds-Labs / cofiblocks

Welcome to Cofiblocks marketplace: A Starknet web3 platform to innovate Costa Rica coffee industry. Cofiblocks connects small coffee farmers directly with coffee lovers, cutting out unnecessary intermediaries.
https://www.cofiblocks.com/
7 stars 14 forks source link

Implement search feature for the product catalog #9

Open brolag opened 1 month ago

brolag commented 1 month ago

Add a search bar to allow users to search for products in the catalog.

Blocked by: https://github.com/Vagabonds-Labs/cofiblocks/issues/7

muguika commented 1 month ago

Search in the catalog home

Search01

Search results (little typo, it's "found")

SearchResults

Search no results

SearchNoResults

Benjtalkshow commented 1 month ago

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

Hello @brolag,

Can I work on this task? I am ready and available to take it on. I’m an experienced full-stack JavaScript developer with 4 years of experience and a passion for developing frontend web applications. I specialize in using Next.js to build full-stack applications. I have made over 18 contributions on OnlyDust in Next.js, Cairo, TypeScript, and JavaScript projects. I would be glad if this task is assigned to me.

0xdevcollins commented 1 month ago

Hello @brolag,

I am Collins Ikechukwu, and I am eager to take on this task. With 4 years of experience as a full-stack JavaScript developer, I have a strong background in developing frontend web applications, particularly using Next.js. I’ve contributed to OnlyDust in projects involving Next.js, Cairo, TypeScript, and JavaScript. I’m confident that I can handle this task effectively and would be grateful if you could assign it to me.

onlydustapp[bot] commented 1 month ago

Hey @devcollinss! Thanks for showing interest. We've created an application for you to contribute to Cofiblocks. Go check it out on OnlyDust!

diegoTech14 commented 1 month ago

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

Hello @brolag I'm a software engineer from Costa Rica and I have experience working with Typescript, Prisma and JS in general, I would love to help with this issue.

How I plan on tackling this issue

1. I will begin by thoroughly reviewing the project to gain a comprehensive understanding of its context. 2. I will proceed to develop the functionality for searching products within a specific catalog. 3. I will display the related products accordingly.

Let me know if there's anything else you'd like me to keep in mind!

Kind regards,

Diego Duarte Fernández

brolag commented 1 month ago

Hi @diegoTech14, assining this to you.

diegoTech14 commented 1 month ago

Thank you sir, I'll start ASAP!

brolag commented 1 month ago

@diegoTech14 in order to sync work with https://github.com/Vagabonds-Labs/cofiblocks/issues/8 let's consider creating a client state using jotai-trpc

https://jotai.org/docs/extensions/trpc https://codesandbox.io/p/devbox/github/jotai-labs/jotai-trpc/tree/main/examples/01_typescript?file=%2Fsrc%2Fmain.tsx

The idea is to have a atom with the listed products and enable a way to filter them setting a value after filtering. This way we can have the filter outsite the products feature if required.

https://jotai.org/docs/core/use-atom

Let me know your thoughts on this.

qgatssdev commented 26 minutes ago

hey @brolag, is this issue resolved? I have experience managing state with Jotai and would be able to finish the feature.