0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/apps/comments-ui/test/e2e
Kevin Ansfield 46f6f49c03 Fixed incorrect replies pagination count after deleting reply
closes https://linear.app/ghost/issue/PLG-303

- when deleting a reply our "replies left" calculation was getting out of sync because the `count.replies` state on the parent comment wasn't being updated, the result was for each comment deleted we were displaying 1 more reply that was still to load
- updated the `deleteComment` action to also modify the parent comment's `count.replies` value when a reply was deleted ensuring our "replies left" calculation remains correct
2024-12-12 19:03:23 +00:00
..
actions.test.ts Fixed incorrect replies pagination count after deleting reply 2024-12-12 19:03:23 +00:00
admin-moderation.test.ts Improved various aspects of comments app 2024-12-12 19:03:23 +00:00
autoclose-forms.test.ts Improved various aspects of comments app 2024-12-12 19:03:23 +00:00
content.test.ts Improved various aspects of comments app 2024-12-12 19:03:23 +00:00
cta.test.ts Improved various aspects of comments app 2024-12-12 19:03:23 +00:00
editor.test.ts Prevented top-level comment input from closing when it has text (#21795) 2024-12-09 13:42:24 +00:00
labs.test.ts Added feature flagging system for Comments UI (#20984) 2024-09-12 18:36:37 +09:00
lazy-loading.test.ts
main-form.test.ts Prevented top-level comment input from closing when it has text (#21795) 2024-12-09 13:42:24 +00:00
options.test.ts Ensured replies remain visible when parent comment is being edited (#21756) 2024-12-02 22:17:15 +00:00
pagination.test.ts Improved various aspects of comments app 2024-12-12 19:03:23 +00:00