Ghost/ghost/admin/app/services
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
..
ajax.js
billing.js
clock.js
config-manager.js
custom-theme-settings.js
custom-views.js
dashboard-mocks.js
dashboard-stats.js
data-cache.js
dropdown.js
event-bus.js
explore.js
feature.js Revert "Added new member signup flow behind labs flag (#19986)" (#20130) 2024-05-02 13:02:32 -07:00
frontend.js
ghost-paths.js
koenig.js
lazy-loader.js
limit.js
media-queries.js
member-import-validator.js
members-count-cache.js
members-stats.js
members-utils.js
mention-utils.js
migrate.js
modals.js
navigation.js
notifications.js
onboarding.js
resize-detector.js
search.js 🐛 Fixed Admin search sometimes stalling on first query (#20143) 2024-05-06 21:04:13 +00:00
session.js
settings.js
slug-generator.js
tenor.js
theme-management.js
ui.js
unsplash.js
upgrade-status.js
utils.js
whats-new.js