Ghost/ghost/admin
Kevin Ansfield fcb27507d3 🐛 Fixed slow loading and high memory usage of members list screen
refs https://github.com/TryGhost/Team/issues/1423

- problem:
  - all members requests were automatically adding `?include=email_recipients` as the email recipients relationship was set up to be always embedded
  - embedded email_recipient records also embed the whole email record
  - on the members index screen this meant for each of the 50 members loaded on a page we were also loading every email they have ever received resulting in a huge API response
  - this was not a problem previously because the API was ignoring the `include` parameter on the browse endpoint and Admin wasn't formatting the include properly in snake_case
- solution:
  - the only place we need associated email recipients is on the member details screen where they are used to show the email activity feed
  - removing the `{embedded: 'always'}` option for the `member.emailRecipients` association stops `?include=email_recipients` being added automatically to every members request
  - the member details screen explicitly adds `?include=email_recipients` so no further changes are needed
  - activity feed will be changing to use proper event objects in the future and further optimisation can be made
2022-03-15 18:26:24 +00:00
..
.github [chore] adds ember-template-lint and fixes all fixable issues (#2238) 2022-02-02 16:09:43 +00:00
app 🐛 Fixed slow loading and high memory usage of members list screen 2022-03-15 18:26:24 +00:00
config Removed deprecated ember-keyboard options 2022-01-17 17:38:24 +00:00
lib Dropped ember-useragent dependency 2022-03-07 10:06:35 +00:00
mirage Added "Name" members filter (#2289) 2022-03-08 21:30:20 +00:00
public/assets Tweaked visual things for polish with Activity 2022-03-10 15:24:38 +00:00
tests 🐛 Fixed slow loading and high memory usage of members list screen 2022-03-15 18:26:24 +00:00
.csscomb.json Unsplash integration 2017-08-15 16:01:12 +01:00
.editorconfig deps: ember-cli@2.8.0 2016-10-07 17:32:30 +01:00
.ember-cli Co-located component template files 2020-05-18 13:14:08 +01:00
.eslintignore Updated Ember dependencies to 3.24 (#2221) 2022-01-22 11:24:26 +00:00
.eslintrc.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
.gitignore Updated Ember dependencies to 3.24 (#2221) 2022-01-22 11:24:26 +00:00
.lint-todo Fixed linter errors in <ModalProduct> template 2022-03-14 10:51:19 +00:00
.template-lintrc.js Fixed linter error 2022-03-09 12:24:36 +00:00
.watchmanconfig deps: ember-cli@1.13.13 2015-11-30 11:21:39 -06:00
ember-cli-build.js Initial ember-promise-modals implementation 2021-09-13 13:01:12 +01:00
ember-cli-update.json Updated core files to match ember-cli new output 2020-08-03 09:24:58 +01:00
Gruntfile.js Bower => NPM (#972) 2018-03-19 17:56:09 +00:00
LICENSE 2022 2022-01-05 12:41:56 +00:00
package.json 🐛 Fixed scheduled date/time inputs not being focusable when used from post preview modal 2022-03-11 17:58:20 +00:00
README.md 2022 2022-01-05 12:41:56 +00:00
renovate.json Added faker to ignored deps in Renovate config 2022-01-06 10:59:24 +00:00
SECURITY.md Updated links to ghost.org sites 2021-01-19 13:18:59 +13:00
testem.js Increased testem's browser_start_timeout to 120s 2020-07-20 12:20:26 +01:00
yarn.lock 🐛 Fixed scheduled date/time inputs not being focusable when used from post preview modal 2022-03-11 17:58:20 +00:00

Ghost-Admin

This is the home of Ember.js based admin client that ships with Ghost.

Do you want to set up a Ghost blog? Check the getting started guide

Do you want to modify or contribute to Ghost-Admin? Please read how to install from source and swing by our forum if you need any help 😄

Have a bug or issue?

Bugs and issues (even if they only affect the admin client) should be opened on the core Ghost repository.

Copyright & License

Copyright (c) 2013-2022 Ghost Foundation - Released under the MIT license. Ghost and the Ghost Logo are trademarks of Ghost Foundation Ltd. Please see our trademark policy for info on acceptable usage.