Ghost/ghost/admin/app/controllers
Kevin Ansfield f78f264982
Fixed PromiseObject related errors thrown from members activity list (#15641)
no issue

- the `memberRecord` getter on the members activity controller was
returning the direct result of `store.findRecord()` which in reality is
a `PromiseObject` that is a type of proxy. Although templates handle
this OK, any JS code using the object needs to know that it's not a
typical type of object and has to use `.get()` for all property access
to avoid errors
- switched `memberRecord` from a getter to a resource so we have more
control over the returned object and loading lifecycle
- added a `MemberFetcher` resource class that awaits the result of the
store find and only then sets the value meaning we always have a fully
resolved model object
- being a resource the fetch will only occur when the `member` id
property changes, unlike the getter which performed the fetch every time
it was accessed
2022-10-17 15:28:34 +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 Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
posts Moved analytics page to separate component 2022-09-29 12:41:16 +02:00
settings 🐛 Fixed settings overriden when updated from multiple tabs (#15536) 2022-10-12 14:03:54 +01:00
setup 🎨 Redesigned user authentication pages (#2286) 2022-03-08 17:30:46 +00:00
application.js Refactored application controller to Octane patterns 2022-10-07 17:59:34 +01:00
billing.js Refactored billing controller to Octane patterns 2022-10-07 17:59:49 +01:00
dashboard.js Removed attribution sources from UI if site is invite-only 2022-09-28 17:26:38 +05:30
designsandbox.js Renamed design sandbox template 2021-02-05 14:00:51 +01:00
editor.js Removed need for .get() with settings service 2022-10-07 16:14:57 +01:00
error.js Fixed max call stack error on error controller 2022-10-07 19:46:30 +01:00
explore.js Added Ghost Explore in Ghost as iframe app behind feature flag (#15495) 2022-10-07 14:32:54 +01:00
home.js Added display of get-started modal after completing setup flow 2022-02-01 18:20:26 +00:00
lexical-editor.js Removed need for .get() with settings service 2022-10-07 16:14:57 +01:00
member.js Fixed member ProxyObject from sparse array leaking out of members list (#15565) 2022-10-07 17:03:45 +01:00
members-activity.js Fixed PromiseObject related errors thrown from members activity list (#15641) 2022-10-17 15:28:34 +02:00
members.js Added opened, clicked and received email filtering to members (#15492) 2022-09-28 17:14:32 +02:00
offer.js Removed need for .get() with config service 2022-10-07 16:14:57 +01:00
offers.js Wired free trial offer UI in offers list 2022-08-11 12:03:38 +05:30
pages-loading.js Refactored posts and pages controllers to Octane patterns 2022-10-07 18:39:34 +01:00
pages.js Refactored posts and pages controllers to Octane patterns 2022-10-07 18:39:34 +01:00
posts-loading.js Refactored posts and pages controllers to Octane patterns 2022-10-07 18:39:34 +01:00
posts.js Refactored posts and pages controllers to Octane patterns 2022-10-07 18:39:34 +01:00
reset.js Refactored reset controller to Octane patterns 2022-10-07 19:07:51 +01:00
settings.js Refactored reset controller to Octane patterns 2022-10-07 19:07:51 +01:00
setup.js Fixed linter error 2022-05-27 13:07:36 +01:00
signin.js Renamed passwordreset body object to password_reset 2022-04-28 15:33:09 +01:00
signup.js Migrated signup screen to Octane patterns 2022-05-27 13:28:29 +01:00
site.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
tag.js Switched tag unsaved changes modal to new modal pattern 2022-09-09 17:44:11 +01:00
tags.js Refactored tags screens 2022-09-09 13:27:13 +01:00
whatsnew.js Fixed "About Ghost" missing system information 2022-09-13 12:28:21 +01:00