mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 22:02:11 +03:00
52e727a28c
ref https://linear.app/ghost/issue/PLG-230 When clicking "Reply" on a reply we now show an "In reply to" reference on the form and when saved show that reference in the rendered view, making it easier to follow discussions within comment replies. - updated calls to `openCommentForm` action when opening a reply to add the in-reply-to data to the `openForm` instance - updated Form comment to use the `openForm` instance data when rendering the in-reply-to reference - updated Comment component to render the in-reply-to reference from the API-provided data - includes click handler to scroll to the referenced comment - added `getCommentInReplyToSnippet` helper function so strip a comment back to plaintext for display in the reply-to reference on the comment form (snippets on other comments are generated server-side) --------- Co-authored-by: Sanne de Vries <sannedv@protonmail.com> |
||
---|---|---|
.. | ||
comments.json | ||
ghost.json | ||
newsletter.json | ||
portal.json | ||
search.json | ||
signup-form.json |