Open jelhan opened 5 months ago
In the addon itself
I have only found these in example code in JSDocs comments. Definitely not what we want, but not nearly as bad as in our own code... or did I miss some places?
In the addon itself
I have only found these in example code in JSDocs comments. Definitely not what we want, but not nearly as bad as in our own code... or did I miss some places?
You are right. I only looked which files includes {{action
. But not on the actual context within the file. It seems to affect API docs only.
The
(action)
template helper and{{action}}
modifier has been deprecated. See RFC 1006 for details.We are still relying on both at many places. In the addon itself, in the test app, and in the documentation app. We should refactor away from it especially in the addon code shipped to consumers as soon as possible.
These are the files where the action helper is still used:
test-app/tests/integration/components/bs-accordion/item-test.js
#2150test-app/tests/integration/components/bs-alert-test.js
#2150test-app/tests/integration/components/bs-dropdown-test.js
#2146test-app/tests/integration/components/bs-dropdown/toggle-test.js
#2146test-app/tests/integration/components/bs-form-test.js
#2148test-app/tests/integration/components/bs-form/element-test.js
#2148test-app/tests/integration/components/bs-modal-simple-test.js
#2147test-app/tests/integration/components/bs-modal-test.js
#2147test-app/tests/integration/components/bs-nav/item-test.js
#2149test-app/tests/integration/components/bs-navbar-test.js
#2149test-app/tests/integration/components/bs-popover-test.js
#2150test-app/tests/integration/components/bs-tab-test.js
#2150test-app/tests/integration/components/bs-tooltip-test.js
#2150The JSDoc comments also still use the action helper the following places:
ember-bootstrap\addon\components\bs-tooltip.js
#2152ember-bootstrap\addon\components\bs-tab.js
#2152ember-bootstrap\addon\components\bs-popover.js
#2152ember-bootstrap\addon\components\bs-navbar.js
#2152ember-bootstrap\addon\components\bs-modal.js
#2152ember-bootstrap\addon\components\bs-form.js
#2152ember-bootstrap\addon\components\bs-dropdown.js
#2152ember-bootstrap\addon\components\bs-form\element.js
#2152ember-bootstrap\addon\components\bs-button-group.js
#2152After that, the configuration should be updated to re-enable the warning:
test-app/.templatelintrc.js
#2151