-
Notifications
You must be signed in to change notification settings - Fork 9
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
Improve input/output transformation configuration #504
Conversation
* Set up the config -> form -> schema -> template transformations for input_map Signed-off-by: Tyler Ohlsen <[email protected]> * Handle empty casse Signed-off-by: Tyler Ohlsen <[email protected]> * Add new input type selector Signed-off-by: Tyler Ohlsen <[email protected]> * Fix bug of model interface not autopopulating in map Signed-off-by: Tyler Ohlsen <[email protected]> * Support preset templates Signed-off-by: Tyler Ohlsen <[email protected]> * Dynamically render forms; edge case handling of empty docs Signed-off-by: Tyler Ohlsen <[email protected]> * Add bucketing logic and add to model config if applicable Signed-off-by: Tyler Ohlsen <[email protected]> * Set up new configure_template_modal; add config button when template type selected Signed-off-by: Tyler Ohlsen <[email protected]> * Add nested form state in new template modal Signed-off-by: Tyler Ohlsen <[email protected]> * Update layout Signed-off-by: Tyler Ohlsen <[email protected]> * Update template val form config to support subvars Signed-off-by: Tyler Ohlsen <[email protected]> * Add multi input var component & form integration Signed-off-by: Tyler Ohlsen <[email protected]> * Add var copying into input var list Signed-off-by: Tyler Ohlsen <[email protected]> * Update spacing Signed-off-by: Tyler Ohlsen <[email protected]> * Add fetching source data functionality Signed-off-by: Tyler Ohlsen <[email protected]> * Fix some spacing; add output jsonfield Signed-off-by: Tyler Ohlsen <[email protected]> * committing but broken Signed-off-by: Tyler Ohlsen <[email protected]> * Show transformed prompt Signed-off-by: Tyler Ohlsen <[email protected]> * add spacer Signed-off-by: Tyler Ohlsen <[email protected]> * Add nested template vars to input map Signed-off-by: Tyler Ohlsen <[email protected]> * Set up base expression modal Signed-off-by: Tyler Ohlsen <[email protected]> * Get expression modal working Signed-off-by: Tyler Ohlsen <[email protected]> * Add dynamic rendering if template or expression is populated Signed-off-by: Tyler Ohlsen <[email protected]> --------- Signed-off-by: Tyler Ohlsen <[email protected]>
Signed-off-by: Tyler Ohlsen <[email protected]>
Signed-off-by: Tyler Ohlsen <[email protected]>
I will update the tutorial in a later PR. |
There will also be minor tuning to the preview display values for the different input/output transforms, and some helper text, helper examples of JSONPath, etc. to be added in later PRs. This is all being finalized from UX. |
The feature branch has been tested and is working fine without breaking any existing functionality. I'm ok to merge it into the main branch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Tyler Ohlsen <[email protected]> (cherry picked from commit a148ea5) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit a148ea5) 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>
Description
This PR merges the
feature/new-transform
feature branch tomain
. The primary changes are:This changes how the configs for input/output transforms are persisted. Hence, old workflows created with the UI will fail.
Testing
Tested several use cases and verified the modals work as expected, including the presets, using connector / model configs based off of the tutorial
Issues resolved
Closes #491
Check List
--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.