Improve/render vars in ingestr#752
Merged
Merged
Conversation
- Added a function to parse parameters from ingestr asset YAML files. - Enhanced the BruinRender class to handle rendering of ingestr parameters. - Updated the parseAssetCommand to re-render ingestr assets after patching. - Modified webview components to display rendered ingestr parameters. - Introduced new messaging for rendering success in the webview.
…g in webview - Simplified the YAML parameter extraction logic in `bruinRender.ts` for better readability and efficiency. - Updated the `App.vue` component to clear metadata only when the file path changes, preventing unnecessary resets. - Improved the `IngestrAssetDisplay.vue` component to always show parameters with a fallback mechanism for rendering. - Added new props in `SqlEditor.vue` for dynamic tab visibility and customizable preview label.
- Updated the edit button functionality to toggle between 'Edit' and 'Done' states in the IngestrAssetDisplay.vue component. - Simplified the button structure by removing separate buttons for editing and confirming changes, enhancing user experience.
|
- Renamed and refactored the function to extract the SQL query from rendered ingestr asset content in `bruinRender.ts`. - Updated the rendering logic to send only the extracted query to the webview. - Enhanced UI tests to include entering and exiting edit mode for better test coverage and consistency in the Ingestr asset display component.
…setDisplay component
…ents - Eliminated references to rendered parameters in `App.vue`, `AssetDetails.vue`, and `AssetGeneral.vue` components to streamline the code and improve clarity. - Updated the `IngestrAssetDisplay` component to no longer require rendered parameters, enhancing its simplicity and focus on essential props.
batikankarakan
approved these changes
Apr 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Overview