Skip to content

Latest commit

 

History

History
105 lines (83 loc) · 4.46 KB

TEAMNOTES.md

File metadata and controls

105 lines (83 loc) · 4.46 KB

Team Notes:

This is for maintaining communication for da-pengiuns disucssion thread project.

Meeting Notes:

These are notes to be maintained PER date that you meet. What you did and what the next steps are.

Meeting Date

In Class 03-17-2022: Discuss choices for discussion thread project for the check- in 1.

What we did:

What we'll do next:

Status check ins

These are dedicated status check-ins as this is a multi-week project.

Check-in 1

Visual Changes

  1. Add post more visible
  2. Padding
  3. Visuals-- make everything pretty
  4. Seed Propic?
  5. Edit/delete/reply
  6. Call BE to get comments

Backend Changes

  1. Delete post-main-- content unavliable/replys stay
  2. Delete reply== gone from the post-main
  3. Update schema
  4. Update demo
  5. Local Storage-- demo
  6. post-main-- UUID
  7. comments-- UUID
  8. Get all comments

Schema: See DBDiagram ER diagram for relational database schema Diagram Image

Check-in 2

User Flow Diagrams:

Reply Workflow:

Reply-userflow-diagram

Comment Workflow:

Comment-workflow-diagram

The above diagrams have also been added to the 11ty docs, which can be viewed under the Notes post.

Check-in 3 ###'

Check-in 4

  • 11ty documentation of team updates: https://da-penguins.github.io/threaded-discussion-docs/posts/notes/
  • Significant updates to user interface
  • Implemented user authentication and session validation via /auth endpoint
  • Tie user credential checks into other API endpoints
  • API Documentation is complete and available here
  • User flows have been updated, with User Authentication being the only flow that has not been documented image

Check-in 5

  • What's done:
    • Backend:
      • Database is fully set up and persists data
      • CRUD functionality and all API endpoints setup
      • Support for multiple threads and pervasive data storage
      • Comments have been set up to return chronologically based on most recent
    • Frontend:
      • Sign-in page with what's your name input
      • General design for comment structure and threaded-discussion tag have been created
      • Buttons that facilitate API calls for CRUD functionality on comment data
    • API/Documentation:
      • OpenAPI documentation has been published
      • Workflow diagrams for all API endpoints
      • 11ty Documentation site is up to date
  • What's left:
    • Backend:
      • Error handling with JWT generation and user authentication
      • Cleaning API returns for easier translation to frontend
      • Verifying that domain validation is completely functional
    • Frontend:
      • Visually present all comments on page
      • Create visual representation for replies
      • Finish main comment structure (working through implementation of icons and content display)
      • Verify that UUID management is working properly
    • API/Documentation:
      • Keep 11ty documenation up to date
      • Update Auth endpoint workflow based on backend's final decisions with JWT Auth
  • Questions:
    • Having trouble conceptualizing management of different threads on frontend (not visually but in the code), any advice/recommendation is welcome!
    • Async calls to API end up showing empty comments that just have a "promise" object to start. Other than going synchronous, is there any way to stop the comment HTML from generating until the comment data is fetched? (e.g. a timeout or something similar?)