Ghost/ghost/admin/app/templates/settings
Kevin Ansfield 24507ac5cc Added preview page selector to design settings screen
closes https://github.com/TryGhost/Team/issues/1103

Custom post settings can be grouped by homepage or post, when set to `'post'` it makes sense to be able to preview a post page rather than the homepage.

- added preview type selection to `themeManagement` service
  - `.availablePreviewTypes` is useful for populating selects or other page selection elements
  - `.previewType` is set to the currently selected preview type name
  - `.setPreviewType()` is for setting the preview type and re-generating the preview html if necessary
- updated `themeManagement.updatePreviewHtmlTask` to fetch the latest published post if we don't already have a published post reference in the store, that post's `url` is then used when fetching the preview html if the preview type is set to `'post'`
- added a select element to the design index header that uses the themeManagement properties/actions to list types and update the preview on change
- updated the design nav menu to switch preview types when different sections are opened so the preview automatically switches to the post preview when making changes to the "post" custom theme settings group
2021-10-13 16:07:01 +01:00
..
design Added preview page selector to design settings screen 2021-10-13 16:07:01 +01:00
theme 🎨 Added error message from limit service to theme upload 2021-05-26 19:05:19 +02:00
code-injection-loading.hbs Updated code injection styles 2021-02-10 11:54:27 +01:00
code-injection.hbs Updated code injection styles 2021-02-10 11:54:27 +01:00
general-loading.hbs Update portal settings UI 2021-02-10 11:08:09 +01:00
general.hbs Fixed copy issues in settings 2021-07-05 11:45:10 +01:00
labs-loading.hbs Basic settings restructure 2021-02-02 16:08:03 +00:00
labs.hbs Promoted email-only feature to general availability 2021-10-07 12:07:48 +02:00
members-email.hbs Updated newsletter design settings modal for new settings (#2013) 2021-06-21 13:40:54 +01:00
membership.hbs Update offer details structure 2021-10-04 15:00:41 +02:00
navigation.hbs CSS restructure for main sections 2021-02-10 18:48:27 +01:00
product.hbs Removed unused members-payments route 2021-05-21 08:57:28 +01:00
products.hbs Wired free membership settings to API (#1949) 2021-05-07 22:46:35 +05:30
theme.hbs Removed unused confirm-leave handling from theme settings screen 2021-10-05 11:37:17 +01:00