Ghost/ghost/admin/tests
Steve Larson 3d9d552271
Improved performance in Admin Posts view (#20503)
ref https://linear.app/tryghost/issue/ONC-111
- changed posts fetching/display behavior to be client-side instead of server-side
- admin will issue (potentially multiple) requests based on the desired status(es)
- updated admin acceptance test for missing coverage

I've pulled the sort from the database query as this triple sort
performs very poorly at scale (taking ~4s+ past ~20k posts sometimes).
Instead, we now split up the fetch to grab only one status at a time and
use the front-end logic to handle displaying scheduled, then drafts,
then published. This should result in a much more responsive view.

We will separately change the default sort on the Admin API as that was the ultimate intent for this change.
2024-07-01 19:43:41 +00:00
..
acceptance Improved performance in Admin Posts view (#20503) 2024-07-01 19:43:41 +00:00
helpers
integration Added improved search into internal linking beta 2024-06-13 17:30:15 +01:00
unit Extracted stats aggregation function to util 2024-06-26 15:46:39 +02:00
.eslintrc.js
index.html
test-helper.js