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

Add standalone form state for advanced transform modals #456

Merged
merged 4 commits into from
Oct 31, 2024

Conversation

ohltyler
Copy link
Member

@ohltyler ohltyler commented Oct 30, 2024

Description

Continuation of #446. Adds interim form state for the advanced transform modals InputTransformModal and OutputTransformModal. Changes made within these modals only update the parent form when users explicitly click "Create" and the form is valid. Implementation-wise, follows the same patterns as the previous related PRs. Also cleans up a few unused props passed around between the transform modals and its parent/child components.

TODO:

  • check for all scenarios on input transform (check one_to_one works correctly)
  • implement same for output transform, including full_response_path field
  • check of all scenarios on output transform (full_response_path works correctly)

Demo video, showing all form states for input and output transforms for ingest, search req, and search resp:

screen-capture.12.webm

Issues Resolved

Makes progress on #446

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 changed the title [WIP] Add standalone form state for advanced transform modals Add standalone form state for advanced transform modals Oct 31, 2024
@ohltyler ohltyler marked this pull request as ready for review October 31, 2024 17:21
Copy link
Collaborator

@saimedhi saimedhi 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 @ohltyler

@ohltyler ohltyler merged commit 500e671 into opensearch-project:main Oct 31, 2024
6 of 7 checks passed
@ohltyler ohltyler deleted the input-transform-update branch October 31, 2024 22:07
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 31, 2024
Signed-off-by: Tyler Ohlsen <[email protected]>
(cherry picked from commit 500e671)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ohltyler pushed a commit that referenced this pull request Oct 31, 2024
(cherry picked from commit 500e671)

Signed-off-by: Tyler Ohlsen <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

2 participants