discourse/app/assets/javascripts/wizard/addon/components
David Taylor 8958b4f76a
DEV: Rename custom getOwner to getOwnerWithFallback (#23437)
Our custom implementation of `getOwner` includes a fallback which returns an owner, even if the passed object does not have one set. This is confusing and creates a false sense of security. Generally if the fallback is used, it means there is a problem with the patterns being used.

This commit renames our custom implementation to `getOwnerWithFallback`, while maintaining the old `getOwner` export with a deprecation notice. Core code is updated to use the official `@ember/application` implementation, or the new `getOwnerWithFallback` function.

This commit updates all core uses of `{ getOwner } from discourse-common/lib/get-owner` to use `getOwnerWithFallback`. Future commits will work through and convert many of these to use the official `@ember/application` implementation
2023-09-26 14:30:52 +01:00
..
discourse-logo.hbs DEV: Colocate wizard component templates (#20309) 2023-02-15 11:29:22 +00:00
homepage-preview.js DEV: Refactor wizard preview components to use inheritence (#20282) 2023-02-14 14:20:15 +00:00
image-preview-logo-small.js DEV: Refactor wizard preview components to use inheritence (#20282) 2023-02-14 14:20:15 +00:00
image-preview-logo.js DEV: Refactor wizard preview components to use inheritence (#20282) 2023-02-14 14:20:15 +00:00
styling-preview.hbs DEV: Refactor wizard preview components to use inheritence (#20282) 2023-02-14 14:20:15 +00:00
styling-preview.js UX: Correct tab selection in Wizard styling preview (#23639) 2023-09-26 12:02:09 +01:00
wizard-canvas.js UX: Restore wizard confetti in final step (#23533) 2023-09-26 12:04:21 +01:00
wizard-field-checkbox.hbs DEV: Colocate wizard component templates (#20309) 2023-02-15 11:29:22 +00:00
wizard-field-checkbox.js FEATURE: revamped wizard (#17477) 2022-07-27 06:53:01 +05:30
wizard-field-checkboxes.hbs DEV: Colocate wizard component templates (#20309) 2023-02-15 11:29:22 +00:00
wizard-field-checkboxes.js
wizard-field-dropdown.hbs DEV: Colocate wizard component templates (#20309) 2023-02-15 11:29:22 +00:00
wizard-field-dropdown.js
wizard-field-image.hbs DEV: Colocate wizard component templates (#20309) 2023-02-15 11:29:22 +00:00
wizard-field-image.js DEV: Rename custom getOwner to getOwnerWithFallback (#23437) 2023-09-26 14:30:52 +01:00
wizard-field-text.hbs DEV: Colocate wizard component templates (#20309) 2023-02-15 11:29:22 +00:00
wizard-field-text.js
wizard-field.hbs DEV: Colocate wizard component templates (#20309) 2023-02-15 11:29:22 +00:00
wizard-field.js FEATURE: allow wizard checkbox field to be disabled (#17916) 2022-08-15 05:52:07 +05:30
wizard-image-preview.hbs DEV: Colocate wizard component templates (#20309) 2023-02-15 11:29:22 +00:00
wizard-image-preview.js
wizard-preview-base.hbs DEV: Refactor wizard preview components to use inheritence (#20282) 2023-02-14 14:20:15 +00:00
wizard-preview-base.js FIX: Show preview of Arial/System font in wizard (#22486) 2023-07-07 15:28:40 +10:00
wizard-step-form.js FEATURE: revamped wizard (#17477) 2022-07-27 06:53:01 +05:30
wizard-step.hbs DEV: Colocate wizard component templates (#20309) 2023-02-15 11:29:22 +00:00
wizard-step.js DEV: Cleanup unused wizard illustrations (#23659) 2023-09-26 10:34:38 +08:00