0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/apps
Sanne de Vries 4e806f7de4
Ensured replies remain visible when parent comment is being edited (#21756)
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.
2024-12-02 22:17:15 +00:00
..
admin-x-activitypub Fixed WordPress article feature image not showing (#21779) 2024-12-02 15:50:27 +00:00
admin-x-demo 🌐 Updated packages for improved i18n support (#21218) 2024-10-03 22:27:16 +00:00
admin-x-design-system Updated drawer so you can interact with page behind it (#21778) 2024-12-02 13:12:05 +00:00
admin-x-framework Fixed WordPress article feature image not showing (#21779) 2024-12-02 15:50:27 +00:00
admin-x-settings 🔥 Removed UI for AMP (#21762) 2024-12-02 12:12:52 +00:00
announcement-bar Added Dev Container setup (#21279) 2024-10-24 11:15:08 -07:00
comments-ui Ensured replies remain visible when parent comment is being edited (#21756) 2024-12-02 22:17:15 +00:00
portal 🐛 Fixed unclear newsletter (un)subscribe modal (#21739) 2024-11-28 10:42:43 +01:00
signup-form Bumped signup form package (#21631) 2024-11-15 19:11:29 +00:00
sodo-search Bumped portal and search packages (#21630) 2024-11-15 19:10:29 +00:00