DerekEdwards/adopt-a-block

People can leave comments on cleanings.

Opened this issue · 1 comments

Basically, if someone marks a block clean, people can leave comments on that cleaning. Those comments will appear (and can be made) in the recent activity section of each neighborhood underneath the cleaning. They will also appear on the block page.

This motivation behind this is to make the site more interactive and allow users to communicate with one another.

  • Create comment object
  • Show comments on the neighborhood page
  • Pretty up the comments on the neighborhood page
  • A logged in user can leave a comment
  • A comment can be deleted
  • A comment can be edited
  • Basic formatting works (line spaces)
  • Add the comments to the block page.
  • After leaving comment on Block page, redirect back to the Block page.
  • Change background of block page to be light gray.
  • Collapse the comments field by default
  • Ensure comments are locked down
  • A non-logged in user is instructed to login to leave a comment
  • Restructure JS to only load once and not for each comment
  • Unit Test comments