Open TheAdich opened 1 month ago
Hi @TheAdich ,
Thank you for your feature suggestion! The enhancement you propose would certainly improve the user experience, especially by offering more clarity around rented books and rental periods.
However, at the moment, we don’t have a backend in place to store all the necessary information for such a feature. We’re currently relying on local storage for persistence, and adding a backend isn’t on the top of our priority list right now.
That said, if you're able to create a flow that leverages the existing local storage workflow to achieve something similar, we’d be happy to review and consider integrating it.
Looking forward to your thoughts!
*Is your feature request related to a problem? Please describe. During my review of the current site, I noticed a gap in the user experience. Specifically, users are unable to view the list of books they have rented in a dedicated section, which could enhance their interaction with the platform. Additionally, there is no option to set or manage a rental period before renting a book. This can lead to confusion around rental deadlines, and users aren't notified when the rental period ends, which could delay book returns.
Describe the solution you'd like I suggest implementing a user dashboard that would display the books a user has rented, along with the rental period for each book. There should also be an option for users to return the book once they’ve finished with it.
To manage rental periods, a toast notification or prompt could be introduced, allowing users to input the number of days they'd like to rent a book before confirming the transaction. I'll need to modify some models and schemas to accommodate this feature.
Additional context A snapshot of proposed feature is below
Looking forward to implement this feature. Let me know if it is feasible and aligns to your project's scope.