3d9d552271
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. |
||
---|---|---|
.. | ||
editor | ||
members | ||
authentication-test.js | ||
content-test.js | ||
custom-post-templates-test.js | ||
dashboard-test.js | ||
editor-test.js | ||
error-handling-test.js | ||
members-activity-test.js | ||
members-test.js | ||
mentions-test.js | ||
offers-test.js | ||
onboarding-test.js | ||
password-reset-test.js | ||
search-test.js | ||
setup-test.js | ||
signin-test.js | ||
signup-test.js | ||
staff-test.js | ||
tags-test.js |