Ghost/ghost/admin/app/routes
Arjuna Kristophe Sankar 096dffb817
🐛 Fixed missing active theme breaks design screen (#15602)
closes: https://github.com/TryGhost/Ghost/issues/15505

When starting Ghost with a missing active theme, the design settings screen and change theme screen both end up in a broken state with the user unable to select a new theme as the active one.

The design screen has no default (or blank) slate, and so shows a preview of an empty theme.
- First added a new default screen to serve as a placeholder for when the state contains no active theme.
- Added a check for when there was no active theme, then redirects the user to the default screen .

The change theme screen wants to set an active property on the theme that should be active in the theme list.
- Added a check to see whether there is an active theme set.
- If there isn't one, don't bother trying to add the active property.
2022-10-30 14:14:11 +00:00
..
editor Added lexical editor feature flag 2022-09-16 11:59:03 +01:00
explore Added Ghost Explore app 2022-10-26 10:05:50 +01:00
lexical-editor Added redirect between mobiledoc/lexical editors 2022-09-13 18:55:39 +01:00
member Updated members routes/controllers with Octane idioms 2020-05-20 16:39:31 +01:00
members Refactored away CurrentUserSettings mixin (#2200) 2022-01-17 10:05:27 +00:00
offer Added initial wiring for offer screens 2021-10-06 20:01:25 +05:30
posts Added basic analytics page for posts 2022-09-13 11:00:45 +02:00
settings 🐛 Fixed missing active theme breaks design screen (#15602) 2022-10-30 14:14:11 +00:00
setup 🎨 Redesigned user authentication pages (#2286) 2022-03-08 17:30:46 +00:00
tag Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
admin.js Refactored away CurrentUserSettings mixin (#2200) 2022-01-17 10:05:27 +00:00
application.js Removed need for .get() with config service 2022-10-07 16:14:57 +01:00
authenticated.js 🐛 Fixed redirect to signin modal not shown when logged out (#15522) 2022-10-21 21:03:12 +01:00
dashboard.js Moving over the new Dashboard to replace the old (#2389) 2022-05-17 09:34:34 +02:00
designsandbox.js Removed need for .get() with config service 2022-10-07 16:14:57 +01:00
editor.js Added back button from editor to analytics (#15493) 2022-09-29 14:34:01 +02:00
error404.js Fixed lint 2022-05-16 19:52:52 +05:30
explore.js Improved URL syncing between Admin and Explore (#15640) 2022-10-21 11:48:18 +01:00
home.js Cleaned up improvedOnboarding labs flag 2022-05-18 10:13:06 +01:00
lexical-editor.js Removed need for .get() with config service 2022-10-07 16:14:57 +01:00
member.js Fixed member page breadcrumbs coming from analytics 2022-10-27 17:24:57 +02:00
members-activity.js Updated activity feed to use full width 2022-08-23 14:36:48 +02:00
members.js Added breadcrumbs to members pages when coming from analytics 2022-10-25 16:21:10 +02:00
offer.js Fixed member ProxyObject from sparse array leaking out of members list (#15565) 2022-10-07 17:03:45 +01:00
offers.js Refactored away CurrentUserSettings mixin (#2200) 2022-01-17 10:05:27 +00:00
pages.js Better matching up the pages table with the posts table 2022-09-28 14:17:12 +01:00
posts.js Refactored posts and pages controllers to Octane patterns 2022-10-07 18:39:34 +01:00
pro.js Removed need for .get() with config service 2022-10-07 16:14:57 +01:00
reset.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
settings.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
setup.js 🎨 Redesigned user authentication pages (#2286) 2022-03-08 17:30:46 +00:00
signin.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
signout.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
signup.js Removed need for .get() with config service 2022-10-07 16:14:57 +01:00
site.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
tag.js Switched tag unsaved changes modal to new modal pattern 2022-09-09 17:44:11 +01:00
tags.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
unauthenticated.js Removed usage of deprecated EmberSimpleAuth mixins (#1910) 2021-04-12 13:21:57 +01:00
whatsnew.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00