Ghost/ghost/admin/tests
Thibaut Patel a47b61c1d4 Added canceled subscriptions in member detail screen (#2287)
refs https://github.com/TryGhost/Team/issues/1141

Showing canceled subscriptions provide a more complete picture of the activity of a member.

- Given there is no `member.product` object when a subscription is canceled, use the `member.subscriptions.price.product` objects instead of `member.products`.
- applied boy-scout rule for linter errors and and code formatting
- removed `multipleTiers` flag conditionals as it's now GA
- set up subscriptions as a separate mirage resource so they are easier to work with
    - updated `PUT /members/:id/` endpoint to match real API's complimentary subscription behaviour
    - modified mirage member serializer to match API output

Co-authored-by: Kevin Ansfield <kevin@lookingsideways.co.uk>
Co-authored-by: Peter Zimon <peter.zimon@gmail.com>
2022-03-18 16:15:42 +00:00
..
acceptance Added canceled subscriptions in member detail screen (#2287) 2022-03-18 16:15:42 +00:00
helpers Added non-Stripe members setting screen acceptance tests 2022-02-18 22:36:01 +00:00
integration Added shortcut buttons to "Last seen" members filter datepicker (#2291) 2022-03-04 17:09:28 +00:00
unit Switched members table to show info from most-recently-updated subscription instead of first in array 2022-03-04 16:32:41 +00:00
.eslintrc.js Update dependency eslint to v7 (#1566) 2020-05-17 22:53:37 +01:00
index.html Remove ember application template wrapper 2018-05-01 10:57:20 +01:00
test-helper.js Updated core files to match ember-cli new output 2020-08-03 09:24:58 +01:00