Ghost/ghost/admin/mirage
Kevin Ansfield 27e771b3a8
🐛 Fixed Admin search sometimes stalling on first query (#20143)
closes https://linear.app/tryghost/issue/MOM-103

- the `yield waitForProperty(...)` call that was supposed to return once the content refresh occurred never reached a valid state so the first search query (or any later query) where a content refresh occurred would never resolve causing search to look like it had stalled
- switched to waiting for the last running task to resolve instead which does the same as the previous code intended
- exported the `getPosts` request handler function so in mirage config so we can re-use it with different timing on a per-case basis
2024-05-06 21:04:13 +00:00
..
config 🐛 Fixed Admin search sometimes stalling on first query (#20143) 2024-05-06 21:04:13 +00:00
factories Added Mentions email notification settings (#16245) 2023-02-09 17:03:03 +08:00
fixtures Added portal default plan setting (#19238) 2023-12-06 11:39:58 +01:00
models Added redeemed offers filtering for members (#16071) 2023-01-11 20:13:09 +08:00
scenarios Updated newsletter management for switch to nullable sender_name 2022-04-15 09:43:22 +01:00
serializers Add tests to tabs and events pagination (#15757) 2022-11-07 16:32:06 +04:00
.eslintrc.js Update dependency eslint to v7 (#1566) 2020-05-17 22:53:37 +01:00
config.js Fixed "The routes only function has been deprecated" output in test runs 2022-05-25 11:03:05 +01:00
routes-dev.js Fixed "The routes only function has been deprecated" output in test runs 2022-05-25 11:03:05 +01:00
routes-test.js Added Mentions endpoint to Admin (#16136) 2023-01-17 20:16:18 +08:00
utils.js 🐛 Fixed error preventing admin area being usable by staff users with Contributor role 2022-10-31 12:01:39 +00:00