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 and organize public/utils #184

Merged
merged 7 commits into from
Jun 18, 2024

Conversation

ohltyler
Copy link
Member

@ohltyler ohltyler commented Jun 18, 2024

Description

Refactor PR to consolidate and organize all util and conversion fns under public/utils. The amount and complexity of conversion warranted splitting these up for easier tracking.

  • ports workflow_to_template_utils fns to standalone file under public/utils
  • splits up utility/conversion fns in utils.ts under standalone files for easier organization
  • one unrelated update to WorkflowDetailHeader to automatically update workflow name/state when parent workflow has been fetched

Confirmed existing functionality works, and all imports of exported fns are accounted for if the path changed.

Issues Resolved

N/A

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@ohltyler ohltyler merged commit 43b89da into opensearch-project:main Jun 18, 2024
9 checks passed
@ohltyler ohltyler deleted the updates branch June 18, 2024 16:00
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 18, 2024
Signed-off-by: Tyler Ohlsen <[email protected]>
(cherry picked from commit 43b89da)
ohltyler added a commit that referenced this pull request Jun 18, 2024
Signed-off-by: Tyler Ohlsen <[email protected]>
(cherry picked from commit 43b89da)

Co-authored-by: Tyler Ohlsen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x refactor Refactoring / renaming
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants