-
Notifications
You must be signed in to change notification settings - Fork 5
Description
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
-
Comment Reply
-
You should be editing in the
pages/article/[pid].tsxfile -
When the
reply toword 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/
