mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 19:48:50 +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> |
||
---|---|---|
.. | ||
lib | ||
locales | ||
test | ||
.eslintrc.js | ||
generate-context.js | ||
i18next-parser.config.js | ||
index.js | ||
package.json | ||
README.md |
i18n
i18n translations for Ghost
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Test
yarn lint
run just eslintyarn test
run lint and tests