Ghost/ghost/admin/app/controllers
Kevin Ansfield 85d7932e45 Resolved deprecation warnings for dynamic modal component binding (#2303)
refs https://github.com/TryGhost/Team/issues/559
refs 054a5f15f5

- with the update of `ember-promise-modals` we started to get deprecation warnings when using `modals.open('modal-component-name')`
  - upcoming Ember build updates will introduce tree shaking but using run-time lookup of modal components by name works against that because it's not statically analysable
- switched to importing components and passing the component class directly, eg. `modals.open(ModalComponent)`
- standardized modal component class names with a `MyModal` style to get better behaviour in code editors when it auto generates imports
- dropped the modal defaults from the modals service because we can now use a static `modalOptions` property on the modal components themselves when we want to override the defaults
2022-03-14 10:52:04 +00:00
..
editor Collapsed @service injection definitions to single-line style 2022-02-01 17:03:54 +00:00
members Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
settings Fixed tier archive not updating portal preview 2022-03-09 14:21:16 +05:30
setup 🎨 Redesigned user authentication pages (#2286) 2022-03-08 17:30:46 +00:00
application.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
billing.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
dashboard.js Updated dashboard acceptance tests for latest member graphs/resources box behaviour 2022-03-08 19:20:12 +00:00
designsandbox.js Renamed design sandbox template 2021-02-05 14:00:51 +01:00
editor.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
error.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
home.js Added display of get-started modal after completing setup flow 2022-02-01 18:20:26 +00:00
launch.js Updated pricing setup on launch wizard 2021-05-20 17:01:12 +05:30
member.js Dropped ember-concurrency-decorators dependency 2022-02-09 10:49:38 +00:00
members-activity.js Excluded all email related events from feeds when newsletter is disabled 2022-01-27 19:19:15 +00:00
members.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
offer.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
offers.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
pages-loading.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
pages.js Switched majority of files from EmberObject to native class syntax using @classic decorator (#2227) 2022-02-01 09:34:03 +00:00
posts-loading.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
posts.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
reset.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
settings.js Collapsed @service injection definitions to single-line style 2022-02-01 17:03:54 +00:00
setup.js Directed selfhosters to 'done' screen after setup 2022-03-11 12:42:06 +00:00
signin.js Fixed linter error 2022-03-09 12:24:36 +00:00
signup.js Fixed linter error 2022-03-09 12:24:36 +00:00
site.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
tag.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
tags.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
whatsnew.js Updated database warning wording 2022-01-18 11:10:25 +00:00