Ghost/ghost/admin/app/components/modals/members
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
..
bulk-add-label.hbs Refactored modal for bulk adding a label to members 2022-02-09 21:58:59 +00:00
bulk-add-label.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
bulk-delete.hbs Refactored modal for bulk deleting members 2022-02-09 22:04:02 +00:00
bulk-delete.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
bulk-remove-label.hbs Refactored modal for bulk removing a label to members 2022-02-09 21:58:59 +00:00
bulk-remove-label.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
bulk-unsubscribe.hbs Refactored modal for bulk unsubscribing members 2022-02-09 22:04:02 +00:00
bulk-unsubscribe.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00