Skip to content
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

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

cameronperera
Copy link
Collaborator

βœ… 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

  • I have added before and after screenshots for UI changes
  • I have added JSON response output for API changes
  • I have added steps to reproduce and test for bug fixes in the description
  • I have commented on my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

@cameronperera cameronperera self-assigned this Nov 12, 2024
@cameronperera cameronperera requested a review from a team as a code owner November 12, 2024 17:42
Copy link

vercel bot commented Nov 12, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
boundary-ui βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Nov 12, 2024 5:44pm
boundary-ui-desktop βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Nov 12, 2024 5:44pm

Copy link
Collaborator

@lisbet-alvarez lisbet-alvarez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸ₯³

@cameronperera cameronperera merged commit 1e3f533 into main Nov 12, 2024
12 checks passed
@cameronperera cameronperera deleted the ICU-15742-move-existing-worker-filter-component branch November 12, 2024 20:10
@@ -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}} />`,
);
Copy link
Collaborator

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}}
    /> 

Copy link
Collaborator

@laurenolivia laurenolivia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✨ lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants