Ghost/ghost/admin/mirage
Kevin Ansfield d10da5a02b Updated newsletter management for switch to nullable sender_name
refs https://github.com/TryGhost/Team/issues/1513

- `sender_name` is now nullable with a fallback to the site title
- updated new-newsletter route
  - removed default setting of site title in `senderName` of the new newsletter instance
  - removed extra checks when showing unsaved changes modal as we no longer need to compare the `senderName` attribute against the site title
- updated newsletter preview so the sender name falls back to the site title
- updated sender name input placeholder to show the site title
- removed not-empty validation
- fixed the switch to "multiple newsletter" state in the background of the new-newsletter modal
  - problem was `displayingDefault` getter was looking at all active newsletters rather than just the filtered ones so it was counting the new-but-unsaved newsletter even though it wasn't displayed in the list
  - fixes layout glitch when the new-newsletter modal animates out after cancelling creation
2022-04-15 09:43:22 +01:00
..
config Added sender email verification flow for newsletters 2022-04-13 19:34:58 +01:00
factories Added canceled subscriptions in member detail screen (#2287) 2022-03-18 16:15:42 +00:00
fixtures Updated mirage with new tier visibility property 2022-03-08 15:51:40 +05:30
models Added newsletter management for member (#2336) 2022-04-14 20:10:04 +05:30
scenarios Updated newsletter management for switch to nullable sender_name 2022-04-15 09:43:22 +01:00
serializers Added sender email verification flow for newsletters 2022-04-13 19:34:58 +01:00
.eslintrc.js Update dependency eslint to v7 (#1566) 2020-05-17 22:53:37 +01:00
config.js Wired up newsletter management with real newsletter model and API 2022-04-04 19:30:52 +01:00
utils.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00