Ghost/ghost/admin/app/services
Kevin Ansfield 08e4593093 Added pre-emptive fetch of editor module after logging in to Admin
no issue

Reduces likelihood of seeing the "Loading editor..." state when accessing the editor by fetching the editor module in the background after login.

- added `koenig` service
  - `.resource` getter for returning a React suspense resource object to reduce duplication across main editor and HTML input components
  - `.fetch()` method that fetches the Koenig module, avoids concurrent or repeated fetches by utilising an internal `._fetchTask` ember-concurrency task
- updated Koenig components to use the `koenig` service and associated resource for fetching the module
  - required setting up `editorResource` inside the component's class and passing it in as a prop to the suspense-aware components as we need access to Ember's dependency injection available in the class
- added `koenig.fetch()` call to our post-login code in the `session` service so the fetch is started before the editor is accessed
2023-10-04 17:45:42 +01:00
..
ajax.js Wired up click-to-refresh upgrade banner 2023-03-02 18:39:38 +00:00
billing.js Updated <GHBillingIframe> to not leak event listeners 2022-11-07 11:59:14 +00:00
clock.js Dropped ember-cli-moment-shim dependency 2022-09-24 13:28:23 +02:00
config-manager.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
custom-theme-settings.js 🐛 Fixed issue with settings being marked as dirty when visibility is changed (#18370) 2023-09-27 08:18:21 +01:00
custom-views.js Removed need for .get() with settings service 2022-10-07 16:14:57 +01:00
dashboard-mocks.js Refined attribution source modal on dashboard 2022-10-07 15:43:59 +05:30
dashboard-stats.js 🐛 Fixed incorrect newsletter subscriber count on dashboard (#17683) 2023-08-10 18:18:12 +01:00
data-cache.js Added data-cache service for managing limited-lifetime cached data 2022-01-21 18:15:06 +00:00
dropdown.js Added support for selecting posts 2023-04-05 18:00:08 +02:00
event-bus.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
explore.js Fixed ForceUpgrade state not working with Explore 2023-09-25 12:56:04 +01:00
feature.js Added automatic conversion of old content when opening in beta editor (#17876) 2023-08-30 16:54:03 +01:00
frontend.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
ghost-paths.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
koenig.js Added pre-emptive fetch of editor module after logging in to Admin 2023-10-04 17:45:42 +01:00
lazy-loader.js Fixed loading CDN assets via lazy loading 2023-07-17 14:03:20 +02:00
limit.js Updated limit service to only request a single member (#16672) 2023-04-19 01:20:34 +01:00
media-queries.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
member-import-validator.js Added import tier to members import modal (#17492) 2023-07-26 09:19:09 +01:00
members-count-cache.js Dropped ember-cli-moment-shim dependency 2022-09-24 13:28:23 +02:00
members-stats.js Merged v5.16.1 into main 2022-09-27 11:21:48 +07:00
members-utils.js Added basic UI to update portal signup term settings 2023-04-04 10:10:06 +02:00
mention-utils.js Fixed broken empty state in mentions admin url (#16419) 2023-03-16 21:19:56 +05:30
migrate.js Change self-service domain 2023-04-11 16:16:48 +01:00
modals.js 🐛 Fixed closing modals in admin UI when releasing mouse outside modal 2023-06-08 13:50:44 +02:00
navigation.js Removed need for .get() with settings service 2022-10-07 16:14:57 +01:00
notifications.js Updated error fallbacks to generic error message 2022-11-23 21:49:40 +00:00
resize-detector.js Migrated <GhUnsplash> to glimmer component 2022-02-07 16:53:12 +00:00
session.js Added pre-emptive fetch of editor module after logging in to Admin 2023-10-04 17:45:42 +01:00
settings.js Added recommendations as suggestions to the Button, Header, Email CTA cards (#18293) 2023-09-22 09:58:44 +00:00
slug-generator.js 🐛 Fixed pasting newlines in post titles (#15794) 2022-11-10 14:43:15 +01:00
tenor.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
theme-management.js Hide preview select for design/announcement settings (#16721) 2023-05-01 18:50:13 +04:00
ui.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
unsplash.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
upgrade-status.js Wired up click-to-refresh upgrade banner 2023-03-02 18:39:38 +00:00
utils.js Added fetchAndDownloadFile method to utils service 2023-04-07 14:44:28 +07:00
whats-new.js Dropped ember-cli-moment-shim dependency 2022-09-24 13:28:23 +02:00