Ghost/ghost/admin/app/templates
Simon Backx 9dbb2785bb Fixed members table filters and URL handling in admin
fixes https://github.com/TryGhost/Team/issues/1344
fixes https://github.com/TryGhost/Team/issues/1127

This fixes a couple of bugs with the filter menu on the members page in admin:

- When opening the members page, the filters property was passed back from the filter component to the members controller. This caused a bug that the filter columns where not visible on reload.
- Fixed handling invalid filter parameters
- When updating the URL, the members page now properly reloads
- Fixed a bug that 'falsy' values in the NQL filter were removed on reload:
    - Filtering on unsubscribed members was gone after a page reload
    - Filtering on 0 emails was gone after a page reload
    - This is fixed by converting numbers and booleans to strings after parsing the NQL-filter
- Fixed a bug where boolean values didn't match any value in the select menu, causing the default option to be visible
    - Filtering members by 'unsubscribed' -> parsed as false (boolean) -> select menu opened -> false value (boolean) didn't match 'false' (string) so the first option was shown instead (subscribed).
    - This is also fixed by converting numbers and booleans to strings after parsing the NQL-filter

The way this is currently handled is not great. The parsing happens in the filter component, but should happen on a different layer, maybe in a different helper.
This is tracked here: https://github.com/TryGhost/Team/issues/1849
2022-08-25 14:10:18 +02:00
..
editor Fixed linter error for use of {{action}} in editor-loading controller 2022-07-18 10:50:03 +01:00
lexical-editor Lexical-powered editor experiment (#15278) 2022-08-23 11:45:50 +01:00
members Added new members CSV importer (#1797) 2020-12-10 01:02:31 +05:30
react-editor Fixed linter error for use of {{action}} in editor-loading controller 2022-07-18 10:50:03 +01:00
settings Wired email alert settings for staff users on admin (#15313) 2022-08-25 15:47:14 +05:30
setup Updated the copy for All Done screen 2022-03-10 11:50:35 +00:00
application-error.hbs Migrated to <AngleBracketSyntax /> (#1460) 2020-01-16 15:14:03 +00:00
application.hbs Migrated <GhUnsplash> to glimmer component 2022-02-07 16:53:12 +00:00
dashboard.hbs Moved all the dropdowns to be right aligned on the new Dashboard 2022-05-17 15:04:55 +01:00
designsandbox.hbs Added <GhPostBookmark> and displayed on publish flow complete step 2022-05-10 13:26:13 +01:00
editor.hbs 🎨 Improved save/update button copy in editor (#2413) 2022-06-01 13:48:33 +01:00
error.hbs Fixed 404 code alignment 2021-07-08 15:42:46 +02:00
explore.hbs Explore in dark mode 2022-08-18 15:50:28 +01:00
launch.hbs Updated launch wizard to create custom price 2021-05-04 21:42:48 +05:30
lexical-editor.hbs Lexical-powered editor experiment (#15278) 2022-08-23 11:45:50 +01:00
member.hbs 🎨 Updated Member page layout (#2271) 2022-03-01 15:57:57 +01:00
members-activity.hbs Added in the attribution column for activity page 2022-08-22 17:51:01 +01:00
members.hbs Fixed members table filters and URL handling in admin 2022-08-25 14:10:18 +02:00
offer.hbs Refined radio buttons on Offer screen 2022-08-24 08:32:27 +02:00
offers.hbs Wired free trial offer UI in offers list 2022-08-11 12:03:38 +05:30
pages-loading.hbs [chore] run the no-implicit-this codemod (#2244) 2022-02-02 17:09:02 +00:00
pages.hbs Adding in sticky headers to posts and pages behind a feature flag 2022-08-24 16:53:46 +01:00
posts-loading.hbs [chore] run the no-implicit-this codemod (#2244) 2022-02-02 17:09:02 +00:00
posts.hbs Adding in sticky headers to posts and pages behind a feature flag 2022-08-24 16:53:46 +01:00
react-editor.hbs Duplicated <GhKoenigEditor> to <GhKoenigEditorReact> 2022-07-18 11:11:19 +01:00
reset.hbs 🎨 Redesigned user authentication pages (#2286) 2022-03-08 17:30:46 +00:00
settings.hbs Updated UX for accessing Audit log 2022-08-22 17:56:40 +02:00
setup.hbs Fixed flash of failure state when submitting site setup and staff signup forms 2022-05-27 12:13:54 +01:00
signin.hbs Removed oauth experiment (#2390) 2022-05-16 17:37:00 +01:00
signup.hbs Migrated signup screen to Octane patterns 2022-05-27 13:28:29 +01:00
site.hbs Added reset-to-homepage behaviour when clicking "view site" link 2019-03-21 17:55:58 +00:00
tag.hbs Fixed duplicate top-level properties after native class codemod 2022-02-10 10:20:03 +00:00
tags-loading.hbs Fixed tags loading screen UI bug 2021-03-05 10:19:37 +01:00
tags.hbs Updated empty states for posts, pages, and tags 2022-02-09 09:34:12 +01:00
whatsnew.hbs Updated UX for accessing Audit log 2022-08-22 17:56:40 +02:00