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

feat: new power select component for parameters #1065

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

minghay
Copy link
Contributor

@minghay minghay commented Jun 14, 2024

Context

Parameters that are an array of values use the Ember Power Select component for rendering. The parameter can be manually overridden to a value not specified in the supplied array. This new component is a light wrapper around the Ember Power Select component and provides hooks so that actions and values can be passed up to a parent component.

Objective

Create a glimmer component for array parameters. This component allows us to build out a full set of job/pipeline parameters in a more composable fashion while making the handlebars template more legible.

References

screwdriver-cd/screwdriver#3200

License

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Copy link
Contributor

@adong adong left a comment

Choose a reason for hiding this comment

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

Looks good to me, please attach a screenshot.

@minghay
Copy link
Contributor Author

minghay commented Jun 17, 2024

Looks good to me, please attach a screenshot.

There's no styling, it's just the standard power select component.

@minghay minghay merged commit 66154e5 into master Jun 17, 2024
2 checks passed
@minghay minghay deleted the new-pipeline-parameter-select-component branch June 17, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants