jellypbc / poster

Jelly demo toy app that turns PDFs into editable posts
https://jellypbc.com
Other
22 stars 3 forks source link

Fix reply to comment bug #425

Closed cindywu closed 3 years ago

cindywu commented 3 years ago

Fixes https://github.com/jellypbc/poster/issues/423

This PR fixes a bug introduced by https://github.com/jellypbc/poster/pull/417 where users are unable to reply to comments. This is a quick fix. For a full solution, we need to pass the accurate highlightedText from the CommentForm component into handleReplySubmit or generate the highlightedText string in comments.js.

I opted not to do a full fix because comments is not our priority right now. My estimate for a full fix is 1 hour to 1/2 day.

After: Kapture 2021-03-11 at 08 30 39

Before: Kapture 2021-03-11 at 08 31 25

linear[bot] commented 3 years ago

JEL-285 reply to comment broken