0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/apps/admin-x-settings/test/acceptance
Chris Raible 376b9209c3
Added ability to disable Newsletter clicks toggle in settings (#22090)
ref
https://linear.app/ghost/issue/ENG-1974/create-config-option-to-forcibly-disable-email-track-clicks

- With the ability to override a setting via configuration, we also need
to disable the setting's toggle in the UI to signal to the user that it
cannot be changed.
- This commit sets `disabled: true` on the `Newsletter clicks` toggle if
`is_read_only` is set to `true` on the `email_track_clicks` setting
returned from the API, and establishes a pattern that we can use for
other settings in the future, if desired.
2025-01-30 17:06:17 -08:00
..
advanced Enabled publishers to block additional email domains in member signups (#22047) 2025-01-28 13:46:37 +07:00
email 🎨 Made 5 settings quicker to edit at the top-level in Settings (#21976) 2025-01-08 16:33:54 +00:00
general 🎨 Made 5 settings quicker to edit at the top-level in Settings (#21976) 2025-01-08 16:33:54 +00:00
growth 🎨 Made 5 settings quicker to edit at the top-level in Settings (#21976) 2025-01-08 16:33:54 +00:00
membership Added ability to disable Newsletter clicks toggle in settings (#22090) 2025-01-30 17:06:17 -08:00
site Cleaned up the customFonts feature flag (#21889) 2024-12-16 18:13:15 +08:00
layout.test.ts Added test examples to AdminX demo (#19116) 2023-11-23 12:59:48 +00:00
permissions.test.ts Added test examples to AdminX demo (#19116) 2023-11-23 12:59:48 +00:00
routing.test.ts Added test examples to AdminX demo (#19116) 2023-11-23 12:59:48 +00:00
search.test.ts Added test examples to AdminX demo (#19116) 2023-11-23 12:59:48 +00:00