Ghost/ghost/admin/app/components/announcement-settings
Elena Baidakova f69674ff9a
Fixed announcement bar preview (#16715)
refs TryGhost/Team#3122
- Fixed that preview takes data from user input before saving on
backend.

---

<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at 54d5b2d</samp>

This pull request adds the ability to preview the announcement bar in
the Ghost admin panel and the theme settings. It also adds a
confirmation dialog to discard or save unsaved changes before leaving
the announcement bar settings. It refactors some components and methods
to remove unnecessary or redundant calls to save the settings. It
modifies the `ghost_head` helper, the `theme-management` service, and
the `announcement-bar/src` files to support the preview feature.
2023-04-27 16:40:11 +04:00
..
background.hbs Wired announcement settings admin UI to API (#16692) 2023-04-21 12:49:29 +04:00
background.js Fixed announcement bar preview (#16715) 2023-04-27 16:40:11 +04:00
content.hbs Fixed text selection for announcement bar 2023-04-26 22:33:13 +02:00
content.js Fixed announcement bar preview (#16715) 2023-04-27 16:40:11 +04:00
visibility.hbs Fixed announcement bar filtering for disabled members 2023-04-26 15:39:25 +02:00
visibility.js Fixed announcement bar preview (#16715) 2023-04-27 16:40:11 +04:00