Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return of book | List of Books User has Issued #66

Open
TheAdich opened this issue Oct 4, 2024 · 1 comment
Open

Return of book | List of Books User has Issued #66

TheAdich opened this issue Oct 4, 2024 · 1 comment

Comments

@TheAdich
Copy link

TheAdich commented Oct 4, 2024

*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
Screenshot 2024-10-04 112652

Looking forward to implement this feature. Let me know if it is feasible and aligns to your project's scope.

@suryanshsingh2001
Copy link
Owner

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants