Ghost/ghost/admin/mirage/factories
Kevin Ansfield 03defc274e 🐛 Fixed Admin crash when member filters were focused+blurred without entering a filter value
closes https://github.com/TryGhost/Team/issues/1309
closes https://github.com/TryGhost/Team/issues/1336

- the error occurred because the `<Members::FilterValue>` component detaches it's value from the passed in value it was initialized with. Due to the detached handling, after changing the filter type away from the default label filter to a text input based filter, the internal value stayed as `[]` even though the filter type's value was changed. When the blur event was triggered in that state the internal `[]` value was used to update the filter resulting in an invalid filter string
  - added a quick-fix of assigning the input's value in the blur event handler meaning we get the expected `''` value
  - allows for passing tests to be created ready for a deeper fix/refactor later
- added `nql` dependency and used it in the `GET /members` API mock to match members against the filter param so behaviour matches the real API
  - tested increase in code size - dev build increased by ~180KB, no difference in prod
- added acceptance tests for all current filters and search
2022-02-15 21:38:57 +00:00
..
api-key.js Added initial custom integrations UI (#1051) 2018-10-18 00:18:29 +01:00
email.js Fixed tests 2019-11-08 11:14:04 +07:00
integration.js Fixed custom integrations tests 2019-02-22 11:11:15 +07:00
invite.js Bump ember-cli-mirage to 0.4.2 (#969) 2018-03-19 09:53:17 +00:00
label.js Added ability to bulk delete members by label or status (#1883) 2021-04-08 12:06:27 +01:00
member-activity-event.js Refactored member activity list components 2022-01-19 12:58:09 +00:00
member.js 🐛 Fixed Admin crash when member filters were focused+blurred without entering a filter value 2022-02-15 21:38:57 +00:00
notification.js deps: ember-cli-mirage@0.2.0 2017-01-13 15:59:37 +00:00
offer.js Fixed offer tests 2021-10-20 18:44:38 +05:30
post.js Added 'sent' status label in the posts list view 2021-08-13 17:18:37 +04:00
role.js deps: ember-cli-mirage@0.2.0 2017-01-13 15:59:37 +00:00
tag.js Automatically update count.posts when serialising tags in mirage 2018-11-08 13:49:00 +00:00
user.js Use token input to allow selection of multiple authors in PSM 2018-03-27 18:50:52 +01:00
webhook.js Fixed webhook modal title showing "New webhook" when editing a webhook 2018-11-12 16:31:47 +00:00