Ghost/ghost/admin/app/services
Kevin Ansfield 7c4674507e Switched members-count-fetcher to use members-count-cache
no issue

In the new publish flow we use `{{members-count-fetcher}}` to show member counts as needed in the template without needing to worry about manually fetching counts in the backing classes. However, when switching between states in the flow the count would be re-requested resulting in some glitchy looking async count rendering. By changing `{{members-count-fetcher}}` to use our `members-count-cache` service internally we reduce the likelihood of an async count being triggered when switching between publish flow states.

- updated `members-count-cache` service methods to work with filter strings or full query objects
- switched `members-count-fetcher` resource to use `members-count-cache` in place of directly querying the store
2022-05-05 11:18:49 +01:00
..
ajax.js Reverted Accept-Version header usage in Admin API communication 2022-04-06 10:12:09 +08:00
billing.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
clock.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
config.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
custom-theme-settings.js Dropped ember-concurrency-decorators dependency 2022-02-09 10:49:38 +00:00
custom-views.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
dashboard-mocks.js Wired up subscription stats api (#2350) 2022-04-27 15:11:01 +01:00
dashboard-stats.js Changed new Dashboard to default to 30 days rather than 7 2022-05-04 17:02:08 +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 [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
event-bus.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
feature.js Added multiple newsletters UI feature flag 2022-04-22 12:42:03 +05:30
frontend.js Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
ghost-paths.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
lazy-loader.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
limit.js Added upgrade moal when unsuspending staff user 2021-04-28 18:07:18 +04:00
media-queries.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
media.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
member-import-validator.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
members-count-cache.js Switched members-count-fetcher to use members-count-cache 2022-05-05 11:18:49 +01:00
members-stats.js Dropped ember-concurrency-decorators dependency 2022-02-09 10:49:38 +00:00
members-utils.js Changed default offer display title 2022-03-15 12:31:27 +01:00
modals.js Fixed error from backdrop click handler for modals without options 2022-04-21 11:41:45 +01:00
navigation.js Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
notifications.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
resize-detector.js Migrated <GhUnsplash> to glimmer component 2022-02-07 16:53:12 +00:00
session.js Improved authentication timing in setup flow 2022-03-10 11:53:37 +00:00
settings.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
slug-generator.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
tenor.js Dropped ember-concurrency-decorators dependency 2022-02-09 10:49:38 +00:00
theme-management.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
ui.js Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
unsplash.js Fixed multiple no-shadow linting errors 2020-06-17 09:35:46 +01:00
upgrade-status.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
utils.js Added utils service with downloadFile() method 2021-10-05 14:21:19 +01:00
whats-new.js Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00