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
billing.js
clock.js
config-manager.js
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
dashboard-mocks.js
dashboard-stats.js 🐛 Fixed incorrect newsletter subscriber count on dashboard (#17683) 2023-08-10 18:18:12 +01:00
data-cache.js
dropdown.js
event-bus.js
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
ghost-paths.js
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
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
resize-detector.js
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
tenor.js
theme-management.js
ui.js
unsplash.js
upgrade-status.js
utils.js
whats-new.js