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

Nested Comments #96

Open
1 task
bryanwong8 opened this issue Jun 21, 2020 · 0 comments
Open
1 task

Nested Comments #96

bryanwong8 opened this issue Jun 21, 2020 · 0 comments
Assignees
Labels
frontend This is a frontend issue
Projects

Comments

@bryanwong8
Copy link
Contributor

bryanwong8 commented Jun 21, 2020

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/

@bryanwong8 bryanwong8 added the frontend This is a frontend issue label Jun 21, 2020
@project-bot project-bot bot added this to To do in Bit Project Jun 21, 2020
aishwarya-mustoori added a commit that referenced this issue Jun 25, 2020
All 4 changes
@amyhuycu amyhuycu mentioned this issue Jul 2, 2020
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend This is a frontend issue
Projects
Bit Project
  
To do
Development

No branches or pull requests

2 participants