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

[Story] Implement Library Route Functionality #3

Open
6 of 7 tasks
Dylan-Gresham opened this issue Sep 9, 2024 · 1 comment
Open
6 of 7 tasks

[Story] Implement Library Route Functionality #3

Dylan-Gresham opened this issue Sep 9, 2024 · 1 comment
Labels
backend For issues/tasks related to the backend css For issues/tasks that require CSS db For issues/tasks related to the database enhancement New feature or request frontend For issues/tasks related to the frontend priority-low rs For issues/tasks that require Rust story ts For issues/tasks that require TypeScript ui For issues/tasks related to the user interface ux For issues/tasks related to the user experience
Milestone

Comments

@Dylan-Gresham
Copy link
Owner

Dylan-Gresham commented Sep 9, 2024

As a User, I need to have access to the functionality in the BookTrack library so I can create and edit new books and lists, and sort those as I want in order to find whichever books I'm looking for in a certain criteria.

Requires completion of Task #2 before starting.

Acceptance Criteria:

  • Given the new book button is selected and the user is directed to the new book route, when the user fills and submits the given form, then a new book entry should be made using the provided data (state should be updated in both front and back-ends, and the database should be updated as well)
  • Given the new list button is selected and the user is directed to the new list route, when the user fills and submits the given form, then a new list should be made and show in the library route (even if empty).
  • Given a drop down menu to sort the books in the library, when the user selects a method to sort their library, then the library should be formatted to reflect the sort method chosen.
    • Given the sort drop-down menu is selected, when the user selects to sort by title, then the library should be formatted to list the books alphabetically in order from A-Z.
    • Given the sort drop-down menu is selected, when the user selects to sort by author, the the library should be formatted to list the books in by author's last name alphabetically in order from A-Z.
    • Given the sort drop-down menu is selected, when the user selects to sort by total page count, then then the library should be formatted to list the books by total page count in order from the smallest to the largest in page count.
    • Given the sort drop-down menu is selected, when the user selects the same sorting option twice, the the sorting option should be sorting the library list in reverse order. (i.e., switching from ascending to descending and vice-versa)
  • Given an edit button for any book entry, when the user selects to edit the book, then the user should be able to modify the book's values (title, author, pages, pages read, list, etc...)
@Dylan-Gresham Dylan-Gresham added enhancement New feature or request frontend For issues/tasks related to the frontend ui For issues/tasks related to the user interface ux For issues/tasks related to the user experience css For issues/tasks that require CSS ts For issues/tasks that require TypeScript backend For issues/tasks related to the backend rs For issues/tasks that require Rust db For issues/tasks related to the database labels Sep 9, 2024
@FranciscoMurguia
Copy link
Collaborator

Issue edited to match format for sprint 0

@Dylan-Gresham Dylan-Gresham changed the title Implement Library Route Functionality [Story] Implement Library Route Functionality Sep 25, 2024
@Dylan-Gresham Dylan-Gresham added this to the Sprint 4 milestone Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend For issues/tasks related to the backend css For issues/tasks that require CSS db For issues/tasks related to the database enhancement New feature or request frontend For issues/tasks related to the frontend priority-low rs For issues/tasks that require Rust story ts For issues/tasks that require TypeScript ui For issues/tasks related to the user interface ux For issues/tasks related to the user experience
Projects
None yet
Development

No branches or pull requests

3 participants