Skip to content

Nested Comments #96

@bryanwong8

Description

@bryanwong8

Is your feature request related to a problem? Please describe.
We need a way to make comments on other comments

Describe the solution you'd like
Implement the nested comment reply feature with ant design's reply box (more info below).

Figma Design

Nested Comments

Screen Shot 2020-06-19 at 8 35 22 PM

  • Comment Reply

  • You should be editing in the pages/article/[pid].tsx file

  • When the reply to word is clicked, it should open an input box from ant design, https://ant.design/components/comment/. It's the last component on the page.

  • When the enter key or the submit button is clicked then use the {{APIURL}}/api/articles/{{slug}}/comments(POST) call to make a comment under the comment.

  • If the user is not logged in, then do not open the input box. Alert the user that they are not logged in with the ant design message component, https://ant.design/components/message/

Metadata

Metadata

Assignees

Labels

frontendThis is a frontend issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions