Skip to content

Sample State #2

@BCrawfordScott

Description

@BCrawfordScott
  • Move Sample state into it's own page of the wiki
    • Currently, the sample state is appearing in the nav bar on the side of the wiki pages.
  • Make sure bookshelf ids are unique in users slice of state.
    • Bookshelf ids should always be unique to a user unless the bookshelves are shared between two users.
  • Add bookself_ids to books.
    • Books can have many bookshelves ( and bookshelves can have many books) so books should have a bookshelf_ids key to show to in which bookshelves they can be found. This will be an array of bookshelf ids.
  • Add review_ids to books.
    • Books should hold a reference to all their reviews.
  • Remove book_id from comments .
    • If we can only comment on reviews, then the comments will only ever appear with reviews and shouldn't need to reference the book directly. If however books can be commented on directly, we need to think about a polymorphic association for comments.
  • Add comment_ids to reviews.
    • Reviews should hold a reference to all their comments.
  • Add book_ids to bookshelves.
    • Bookshelves should hold a reference to all their books.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions