Open evgongora opened 2 days ago
@evgongora can i be assigned to work on this issue?
@evgongora can you assign me this issue I can handle it
Hey @evgongora I would love to take on this issue Kindly assign
Hello @evgongora can i please work on this issue
@brolag and @evgongora I am a Full Stack Developer with a strong background in blockchain and extensive experience in Next.js/React, TypeScript, and Rust. I’ve made over 45 contributions to over 15 projects in the OnlyDust ecosystem, solving complex issues and delivering efficient, scalable solutions.
I will refactor the shared logic for filtering, searching, and state management from the my-orders
and my-sales
pages into a reusable custom hook. The hook will support dynamic filters (status, delivery method) and search functionality while ensuring clear handling of empty states. I’ll update both pages to use the new hook, reducing code duplication and improving maintainability. This approach ensures a clean, modular, and efficient implementation for managing order-related logic.
My ETA is 48hrs. Thanks
My Background and How It Can Be Leveraged Hello, my name is Derian Rodríguez. I am a passionate software engineer with over one year of experience. I am part of the Dojo Coding Community and have been actively contributing to open-source projects through OnlyDust. I have experience in frontend development using JavaScript/TypeScript, React, and Next.js. I would love to contribute and support the development of this project.
How I Plan on Tackling This Issue I will create a custom hook with the filtering, searching, and shared state logic between the My Orders and My Sales pages. I will use the new hook in MyOrders and MySales, removing redundant logic and simplifying the code. I will verify that the filters, search functionality, and empty states work correctly on both pages without errors.
May I try my hand at this?
May I handle this issue? I am an experienced frontend developer with 3 years of experience.
Extract shared order management logic into custom hook
Description:
The
my-orders
andmy-sales
pages contain significant duplicate logic for filtering, searching, and state management. We should extract this into reusable hooks.Code References:
my-orders
my-sales
Acceptance Criteria: