0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2024-12-30 22:34:01 -05:00
ghost/apps
Kevin Ansfield 0f9449137f Fixed comment count in comments-ui when logged in as admin
closes https://linear.app/ghost/issue/PLG-297

- we were setting the comment count Admin API browse comments response meta pagination data which will never be correct because it only counts top-level comments for pagination purposes
- we have a public comment counts endpoint that is already fetched, there's no need to override that when using the Admin API because the overall count doesn't change across API's, even when the Admin API includes hidden comments because those don't impact the visible count
- updated test setup so the title and count is shown so it can be asserted against
- updated mocked api to correctly return count of all published comments+replies
2024-12-10 18:59:49 +00:00
..
admin-x-activitypub Improved grouped notifications UI 2024-12-06 17:04:39 +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 Added custom fonts feature check (#21738) 2024-12-04 13:42:44 +08:00
admin-x-settings Added custom font support for themes (#21817) 2024-12-05 16:39:41 +00:00
announcement-bar Added Dev Container setup (#21279) 2024-10-24 11:15:08 -07:00
comments-ui Fixed comment count in comments-ui when logged in as admin 2024-12-10 18:59:49 +00:00
portal Added loading state when ordering comments (#21788) 2024-12-04 10:16:58 +08: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