mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
4e806f7de4
REF https://linear.app/ghost/issue/PLG-274/ - Currently, replies are hidden when the parent comment is being edited. This PR ensures that replies remain visible when the parent comment is being edited. - To achieve this, the `CommentComponent` now checks if the parent comment is being edited. If so, the comment content is swapped by the EditForm, while the comment's avatar, header, menu, and replies remain visible. - The Form component now only renders the FormEditor. A FormWrapper component is used to wrap the avatar and comment header. - This Form component is used in the EditForm without the FormWrapper, as it is already wrapped in the CommentComponent. - The ReplyForm and the MainForm use the FormWrapper. - The Avatar component now also accepts a `member` prop, which is used to display the avatar image. This is because it's no longer used inside the Form component. |
||
---|---|---|
.. | ||
admin-x-activitypub | ||
admin-x-demo | ||
admin-x-design-system | ||
admin-x-framework | ||
admin-x-settings | ||
announcement-bar | ||
comments-ui | ||
portal | ||
signup-form | ||
sodo-search |