Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Unsilenced deprecations that are no longer triggered
Browse files Browse the repository at this point in the history
no issue

- cleaned up the `deprecation-workflow.js` file by removing deprecations that are no longer being triggered by our test suite or general app usage (if they are still triggered in untested areas it will be useful to see the logs)
- updated usages of `{{gh-text-field}}` to use it's `shouldFocus` attribute rather than directly overriding it's `autofocus` computed property
  • Loading branch information
kevinansfield committed Jan 9, 2020
1 parent 8f13756 commit 8046820
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion app/templates/components/gh-unsplash.hbs
Expand Up @@ -21,7 +21,7 @@
name="searchKeyword"
placeholder="Search free high-resolution photos"
tabindex="1"
autofocus="autofocus"
shouldFocus=true
autocorrect="off"
value=(readonly this.unsplash.searchTerm)
input=(action "search" value="target.value")
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/modal-invite-new-user.hbs
Expand Up @@ -16,7 +16,7 @@
type="email"
placeholder="Email Address"
name="email"
autofocus="autofocus"
shouldFocus=true
autocapitalize="off"
autocorrect="off"
value=(readonly email)
Expand Down
6 changes: 3 additions & 3 deletions app/templates/components/modal-webhook-form.hbs
Expand Up @@ -17,7 +17,7 @@
name="name"
class="gh-input mt1"
placeholder="Webhook name..."
autofocus="autofocus"
shouldFocus=true
autocapitalize="off"
autocorrect="off"
data-test-input="webhook-name"}}
Expand Down Expand Up @@ -57,7 +57,7 @@
name="targetUrl"
class="gh-input mt1"
placeholder="Webhook target URL..."
autofocus="autofocus"
shouldFocus=true
autocapitalize="off"
autocorrect="off"
data-test-input="webhook-targetUrl"}}
Expand All @@ -76,7 +76,7 @@
name="secret"
class="gh-input mt1"
placeholder="Webhook secret..."
autofocus="autofocus"
shouldFocus=true
autocapitalize="off"
autocorrect="off"
data-test-input="webhook-secret"}}
Expand Down
4 changes: 2 additions & 2 deletions app/templates/reset.hbs
Expand Up @@ -11,7 +11,7 @@
placeholder="Password"
class="password"
autocorrect="off"
autofocus="autofocus"
shouldFocus=true
value=(readonly this.newPassword)
input=(action (mut this.newPassword) value="target.value")}}
</span>
Expand All @@ -25,7 +25,7 @@
placeholder="Confirm Password"
class="password"
autocorrect="off"
autofocus="autofocus"
shouldFocus=true
value=(readonly this.ne2Password)
input=(action (mut this.ne2Password) value="target.value")}}
</span>
Expand Down
6 changes: 0 additions & 6 deletions config/deprecation-workflow.js
Expand Up @@ -2,12 +2,6 @@ self.deprecationWorkflow = self.deprecationWorkflow || {};
self.deprecationWorkflow.config = {
workflow: [
{handler: 'silence', matchId: 'ember-views.curly-components.jquery-element'},
{handler: 'silence', matchId: 'computed-property.override'},
{handler: 'silence', matchId: 'application-controller.router-properties'},
{handler: 'silence', matchId: 'events.remove-all-listeners'},
{handler: 'silence', matchId: 'ember-polyfills.deprecate-merge'},
{handler: 'silence', matchId: 'events.inherited-function-listeners'},
{handler: 'silence', matchId: 'ember-component.send-action'},
// revert once ember-infinity removes usage of `isVisible`
// https://github.com/ember-infinity/ember-infinity/pull/399
{handler: 'silence', matchId: 'ember-component.is-visible'}
Expand Down

0 comments on commit 8046820

Please sign in to comment.