Ghost/ghost/admin/app/components
Kevin Ansfield 2231dd84c2 Migrated to <AngleBracketSyntax /> (#1460)
no issue

Ember is migrating to `<AngleBracketSyntax />` for component invocation, see https://github.com/emberjs/rfcs/blob/master/text/0311-angle-bracket-invocation.md

We were in a half-way situation where some templates used angle bracket syntax in some places, this PR updates templates to use the syntax everywhere.

This simplifies the rules for what template code is referring to...

`<Component>` = a component
`{{helper}}` = a helper (or locally assigned handlebars variable)
`{{this.foo}}` = data on the template backing context (a component/controller)
`{{@foo}}` = a named argument passed into the component that the component backing class has not modified (note: this commit does not introduce any named arguments)

- ran codemod https://github.com/ember-codemods/ember-angle-brackets-codemod on the following directories:
  - `app/templates`
  - `lib/koenig-editor/addon/templates`
- removed positional params from components as angle bracket syntax does not support them
  - `gh-feature-flag`
  - `gh-tour-item`
  - `gh-cm-editor`
  - `gh-fullscreen-modal`
  - `gh-task-button`
- updates some code that was missed in 3c851293c1 to use explicit this
2020-01-16 15:14:03 +00:00
..
gh-post-settings-menu Updated email copy 2019-11-26 12:10:51 +01:00
gh-token-input Upgraded ember-power-* addons (#1459) 2020-01-15 13:53:51 +00:00
power-select add power-select/trigger template override 2017-04-10 10:53:27 +01:00
aspect-ratio-box.js Added ability to upload integration icons (#1058) 2018-10-23 10:29:49 +01:00
gh-activating-list-item.js Removed deprecated usage of this.$() in components 2020-01-10 15:12:39 +00:00
gh-alert.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-alerts.js ESLint: Consistent ember property/method ordering 2018-01-12 12:17:56 +00:00
gh-app.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-basic-dropdown.js Upgraded ember-power-* addons (#1459) 2020-01-15 13:53:51 +00:00
gh-blog-url.js ESLint: Consistent ember property/method ordering 2018-01-12 12:17:56 +00:00
gh-canvas-header.js Removed and disabled use of Ember.js function prototype extensions 2019-07-01 15:53:58 +01:00
gh-cm-editor.js Migrated to <AngleBracketSyntax /> (#1460) 2020-01-16 15:14:03 +00:00
gh-content-cover.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-contentfilter.js Extracted duplicated posts/pages filter into a component 2020-01-15 15:15:20 +00:00
gh-date-time-picker.js Upgraded ember-power-* addons (#1459) 2020-01-15 13:53:51 +00:00
gh-download-count.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-dropdown-button.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-dropdown.js Removed deprecated usage of this.$() in components 2020-01-10 15:12:39 +00:00
gh-editor-post-status.js Added console log with reason unsaved changes modal is shown in editor 2019-12-17 09:57:37 +00:00
gh-editor.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-error-message.js Converted <GhErrorMessage> to glimmer component 2019-12-13 16:12:04 +00:00
gh-feature-flag.js Migrated to <AngleBracketSyntax /> (#1460) 2020-01-16 15:14:03 +00:00
gh-file-input.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-file-upload.js Removed deprecated usage of this.$() in components 2020-01-10 15:12:39 +00:00
gh-file-uploader.js Update ember core 2019-07-22 14:00:52 +01:00
gh-form-group.js Update package.json details, rename module to ghost-admin 2016-06-03 16:12:54 +01:00
gh-fullscreen-modal.js Migrated to <AngleBracketSyntax /> (#1460) 2020-01-16 15:14:03 +00:00
gh-image-uploader-with-preview.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-image-uploader.js Fix linting errors 2019-07-22 11:21:24 +01:00
gh-infinity-loader.js Migrate to latest ember, ember-mocha and modern ember testing (#1044) 2019-01-02 09:58:55 +00:00
gh-koenig-editor.js Koenig - Added reading time and word count display 2018-07-20 15:53:21 +01:00
gh-loading-spinner.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-markdown-editor.js Removed deprecated usage of this.$() in components 2020-01-10 15:12:39 +00:00
gh-member-avatar.js 🎨 Added gravatars for member avatars (#1417) 2019-12-03 18:10:47 +07:00
gh-member-settings-form.js 🐛 Fixed unsaved changes modal when using Cmd+S on tag/member screens 2019-12-13 11:37:01 +00:00
gh-members-chart.js Added members growth chart (#1424) 2019-12-17 15:59:26 +05:30
gh-members-lab-setting.js Swapped baseUrl input for region selection for bulk email settings 2019-11-15 13:10:45 +00:00
gh-members-list-item.js Added member "add" screen (#1411) 2019-11-28 18:30:21 +07:00
gh-members-no-members.js Improved adding first members on no-members screen (#1416) 2019-12-03 12:04:04 +07:00
gh-mobile-nav-bar.js Match service/controller import to ember-modules-codemod style for consistency 2017-10-30 09:38:01 +00:00
gh-nav-menu.js Added "What's new" indicator and modal to highlight recent updates (#1292) 2019-08-23 10:01:27 +01:00
gh-navitem-url-input.js Switch from embor-browserify to ember-auto-import 2019-01-22 13:09:38 +00:00
gh-navitem.js Added Secondary Navigation (#1410) 2019-12-04 11:14:45 +07:00
gh-notification.js Removed deprecated usage of this.$() in components 2020-01-10 15:12:39 +00:00
gh-notifications.js ESLint: Consistent ember property/method ordering 2018-01-12 12:17:56 +00:00
gh-post-settings-menu.js Extracted PSM email settings into separate component 2019-11-08 15:56:56 +07:00
gh-posts-list-item.js Updated email role restrictions 2019-11-26 13:20:49 +01:00
gh-profile-image.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-progress-bar.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-psm-authors-input.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-psm-tags-input.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-psm-template-select.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-psm-visibility-input.js Renamed post visiblity dropdown values for posts 2019-10-04 12:57:58 +02:00
gh-publishmenu-draft.js Updated email role restrictions 2019-11-26 13:20:49 +01:00
gh-publishmenu-published.js Display email sent info on published state of publish menu 2019-11-04 16:59:46 +07:00
gh-publishmenu-scheduled.js Fixed lint 2019-11-27 13:21:16 +05:30
gh-publishmenu.js Enabled manual typing of post publish dates (#1431) 2020-01-10 14:25:59 +00:00
gh-scroll-trigger.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-search-input-trigger.js 🎨 Updated admin area design and usability (#1232) 2019-06-18 11:47:20 +01:00
gh-search-input.js Cleaned up and re-organised tag and new tag routes/controllers 2019-12-09 17:44:16 +00:00
gh-simplemde.js 🐛 Fixed editor crashing when leaving a markdown card's edit mode 2019-05-23 13:43:01 +01:00
gh-site-iframe.js Added reset-to-homepage behaviour when clicking "view site" link 2019-03-21 17:55:58 +00:00
gh-skip-link.js Migrate to latest ember, ember-mocha and modern ember testing (#1044) 2019-01-02 09:58:55 +00:00
gh-tag-settings-form.js Cleaned up more unused code in <GhTagSettingsForm> 2020-01-10 14:56:43 +00:00
gh-tags-list-item.js 🎨 Updated tags screen design and usability (#1283) 2019-08-27 19:21:31 +05:30
gh-task-button.js Migrated to <AngleBracketSyntax /> (#1460) 2020-01-16 15:14:03 +00:00
gh-text-input.js Remove ember-one-way-controls (#959) 2018-02-28 11:44:03 +00:00
gh-textarea.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-theme-error-li.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
gh-theme-table.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-timezone-select.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-token-input.js Upgraded ember-power-* addons (#1459) 2020-01-15 13:53:51 +00:00
gh-tour-item.js Migrated to <AngleBracketSyntax /> (#1460) 2020-01-16 15:14:03 +00:00
gh-trim-focus-input.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-unsplash-photo.js Updated Unsplash image selector to insert larger images 2019-08-29 09:41:43 +01:00
gh-unsplash.js Updated Unsplash image selector to insert larger images 2019-08-29 09:41:43 +01:00
gh-uploader.js Fixed ".set called on destroyed object" error thrown in <GhUploader> 2019-07-31 17:45:19 +01:00
gh-url-preview.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-user-active.js Add {{background-image-style}} helper 2018-05-14 13:04:53 +01:00
gh-user-invited.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-user-list-item.js Upgrade to Ember 2.15.0 2017-09-02 16:18:10 -04:00
gh-validation-status-container.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
gh-view-title.js Match service/controller import to ember-modules-codemod style for consistency 2017-10-30 09:38:01 +00:00
gh-whats-new.js Added "What's new" indicator and modal to highlight recent updates (#1292) 2019-08-23 10:01:27 +01:00
infinity-loader.js Migrate to latest ember, ember-mocha and modern ember testing (#1044) 2019-01-02 09:58:55 +00:00
modal-base.js 🎨 Updated admin area design and usability (#1232) 2019-06-18 11:47:20 +01:00
modal-confirm-email-send.js Removed link to settings for admins in email error copy 2019-11-26 13:38:43 +01:00
modal-delete-all.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-delete-integration.js Added ability to delete integrations (#1057) 2018-10-19 17:37:27 +01:00
modal-delete-member.js Fixed member count after deleting a member 2019-12-13 11:38:37 +00:00
modal-delete-post.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-delete-tag.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-delete-theme.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-delete-user.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-delete-webhook.js Added edit webhook modal (#1056) 2018-10-19 17:34:53 +01:00
modal-import-members.js Added csv import/export for members 2019-10-04 15:14:20 +05:30
modal-invite-new-user.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-leave-editor.js 🐛 Fixed sticky "Unsaved changes" modal when leaving editor 2019-01-21 09:18:51 +00:00
modal-leave-settings.js Migrate to latest ember, ember-mocha and modern ember testing (#1044) 2019-01-02 09:58:55 +00:00
modal-markdown-help.js Flatten nested components (#854) 2017-09-11 14:41:17 +07:00
modal-new-integration.js Added initial custom integrations UI (#1051) 2018-10-18 00:18:29 +01:00
modal-post-email-preview.js Allowed pointer-events on prerview modal 2019-11-15 11:37:04 +05:30
modal-re-authenticate.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-search.js 🎨 Updated admin area design and usability (#1232) 2019-06-18 11:47:20 +01:00
modal-suspend-user.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-theme-warnings.js ESLint: Consistent ember property/method ordering 2018-01-12 12:17:56 +00:00
modal-transfer-owner.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-unsuspend-user.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
modal-upgrade-host-limit.js Added upgrade modal for host member limits (#1428) 2019-12-17 19:27:42 +05:30
modal-upload-image.js Removed deprecated usage of this.$() in components 2020-01-10 15:12:39 +00:00
modal-upload-theme.js 🐛 Fixed missing errors and confusing button text in theme upload modal 2019-04-15 22:43:29 +01:00
modal-webhook-form.js Fixed linting 2018-11-13 09:56:59 +00:00
modal-whats-new.js Added "What's new" indicator and modal to highlight recent updates (#1292) 2019-08-23 10:01:27 +01:00
power-select-vertical-collection-options.js 🚀 supercharge tags performance 2017-07-07 17:53:08 +01:00