Ghost/ghost/admin/app/components/members
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
..
filters 🐛 Fixed members tier filtering (#16212) 2023-02-01 20:33:57 +08:00
modals 🐛 Fixed ability to cancel Stripe subscriptio when deleting member 2023-03-07 10:38:04 +01:00
filter-value.hbs 🐛 Fixed members tier filtering (#16212) 2023-02-01 20:33:57 +08:00
filter-value.js 🐛 Fixed members tier filtering (#16212) 2023-02-01 20:33:57 +08:00
filter.hbs Added new members filters and refactored filters (#15667) 2022-10-21 17:18:00 +02:00
filter.js 🐛 Fixed members tier filtering (#16212) 2023-02-01 20:33:57 +08:00
list-item-column.hbs 🐛 Fixed members breadcrumbs when not coming from analytics 2023-05-04 11:20:33 +02:00
list-item-column.js Cleaned up member filters (#15784) 2022-11-10 11:05:12 +01:00
list-item-loading.hbs Fixed member list loading UI spacing 2023-03-20 13:55:51 +08:00
list-item.hbs 🐛 Fixed members breadcrumbs when not coming from analytics 2023-05-04 11:20:33 +02:00
list-item.js Moved members list item components 2022-10-07 17:09:18 +01:00