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

Create comments controller and views #61

Open
ananyo2012 opened this issue Jan 15, 2017 · 1 comment
Open

Create comments controller and views #61

ananyo2012 opened this issue Jan 15, 2017 · 1 comment

Comments

@ananyo2012
Copy link
Member

A new comments_controller and views has to be created for the commenting system. These are the points that should be kept in mind

  • It should have create, update and destroy actions atleast. Another create action for thread comments need to be made
  • We want Ajax comments so there there is no page refresh required. js templates need to be made to repond to ajax responses
  • Comments should appear under each reply and inside the reply div
  • Thread comments should appear below threads inside the new_thread div
  • Render each template inside the new_thread/show template

Before starting up with view templates a rough sketch can be made to show how it looks

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

No branches or pull requests

1 participant