Ghost/ghost/admin/app/routes
Simon Backx 17a6217cc7 🐛 Fixed members breadcrumbs when not coming from analytics
fixes https://github.com/TryGhost/Team/issues/2404

This change introduces a new 'post' query parameter to the members and member routes.

Previously, the members route would check if the previous route was the analytics page, and then show the breadcrumbs to go back to the analytics page. But when navigating to the members page from the menu, we don't want to show the breadcrumbs. To accomplish this, the routes that point to the members page from the analytics page now specifically pass on the post id in the query parameters. The query parameter is then passed on from the members page to the member page.

`directlyFromAnalytics` is still used in the member route, to know wheter we came from the members page or from the analytics page (changes the breadcrumbs). This doesn't need to go via a query parameter (figured that would make the url too long/complex).

The resetController method is now implemented and resets the filter and/or fromAnalytics post id if required (when going from members to member, we don't want to reset it because the we would lose the filter going back).
2023-05-04 11:20:33 +02:00
..
editor Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00: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 🐛 Fixed offer links with an archived tier (#15792) 2022-11-11 10:11:34 +01:00
posts Added mentions page for a post 2023-02-22 10:48:15 +01:00
settings Fixed announcement bar preview (#16715) 2023-04-27 16:40:11 +04: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 Added TransitionAborted errors to Sentry's ignore list 2022-11-23 13:23:47 +00: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 Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
editor.js 🐛 Fixed broken editor breadcrumbs when opening a new post from analytics (#16463) 2023-03-22 00:12:15 -07: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 Copied "from analytics" changes over to lexical editor 2022-11-11 09:49:26 +00:00
member.js 🐛 Fixed members breadcrumbs when not coming from analytics 2023-05-04 11:20:33 +02:00
members-activity.js Updated activity feed to use full width 2022-08-23 14:36:48 +02:00
members.js 🐛 Fixed members breadcrumbs when not coming from analytics 2023-05-04 11:20:33 +02:00
mentions.js Grouped mentions from the same source (#16348) 2023-03-01 12:15:29 +01:00
migrate.js Add Migrate app (#16458) 2023-03-30 15:40:06 +01: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 Updated post context menu to take permissions into account 2023-04-11 16:33:39 +02:00
pro.js Updated <GHBillingIframe> to not leak event listeners 2022-11-07 11:59:14 +00: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 Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
signin.js Refactored signin controller to Octane patterns 2022-11-01 14:12:23 +00:00
signout.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
signup.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
site.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +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
websockets.js Added alpha feature to demonstrate websockets 2023-02-17 11:55:15 +01:00
whatsnew.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00