-
Notifications
You must be signed in to change notification settings - Fork 28
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: π‘ move WorkerFilter component to more generic folder #2558
refactor: π‘ move WorkerFilter component to more generic folder #2558
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
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.
π₯³
@@ -19,7 +19,7 @@ module('Integration | Component | form/target/worker-filter', function (hooks) { | |||
this.cancel = () => {}; | |||
this.model = { egress_worker_filter: 'egress filter' }; | |||
await render( | |||
hbs`<Form::Target::WorkerFilter @name='egress_worker_filter' @model={{this.model}} @onInput={{this.onInput}} @submit={{this.submit}} @cancel={{this.cancel}} />`, | |||
hbs`<WorkerFilter @name='egress_worker_filter' @model={{this.model}} @onInput={{this.onInput}} @submit={{this.submit}} @cancel={{this.cancel}} />`, | |||
); |
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 OnInput
used? I don't see it being passed to the component
@name='ingress_worker_filter'
@model={{@model}}
@submit={{fn this.targets.saveWorkerFilter @model}}
@cancel={{fn this.targets.cancelWorkerFilter @model}}
/>
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.
β¨ lgtm
β Closes: https://hashicorp.atlassian.net/browse/ICU-15742
Description
refactor: π‘ move WorkerFilter component to more generic folder
This is in preparation for Worker Filter Improvement work. This component will be used for multiple resource types so we wanted to move it out to a more generic component level.
Screenshots (if appropriate)
Screen.Recording.2024-11-12.at.11.39.10.AM.mov
How to Test
Checklist