-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: use glimmer component for search-input #205
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for guidemaker-ember-template ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
571bf94
to
9a4efb1
Compare
9a4efb1
to
126835b
Compare
Try searching the | ||
<a | ||
href={{this.deprecationsGuideURL}} | ||
target="_deprecations" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mansona is target="_deprecations"
a special guidemaker target?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no this isn't something I'm aware of 😂 We can probably remove it 🤷
|
||
set(this, '_focused', false); | ||
}), | ||
closeMenu = task({ restartable: true }, async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks like you might have put the restartable on the closeMenu task instead of the search task 🤔
test-app/package.json
Outdated
@@ -47,6 +47,7 @@ | |||
"ember-cli-inject-live-reload": "^2.1.0", | |||
"ember-cli-sri": "^2.1.1", | |||
"ember-cli-terser": "^4.0.2", | |||
"ember-concurrency": "^4.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this necessary? is it not a a dependency of the actual addon already? 🤔
autocomplete="off" | ||
data-test-search-input | ||
{{on "focus" this.onfocus}} | ||
{{on "blur" (perform this.closeMenu)}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is using 'perform' the standard in this project? To explicitly indicate the action?
In the line above it's commenly written.
the same procedure as last time. The first commit is formatting the files and the second is the refactoring.