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

fix: extract parameter normalization logic to utility #1066

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

minghay
Copy link
Contributor

@minghay minghay commented Jun 14, 2024

Context

Parameters require a bit of data massaging to be used in the UI. With the new UI work, this logic should be extracted to a utility class to be shared across the different UI components.

Objective

Refactor shared code into a utility for use in the new UI. Also adds in missing tests around the existing logic.

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, thank you, Ming!

@adong adong merged commit 89fd1e9 into master Jun 14, 2024
2 checks passed
@adong adong deleted the extract-parameter-normalization branch June 14, 2024 23:59
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.

2 participants