-
Notifications
You must be signed in to change notification settings - Fork 154
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
Update ui_extension to support Unified config #2349
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
ee7fb52
New ui extension union schema
isaacroldan 137c32b
Extract settings schema
isaacroldan f5fa23f
Improve transform
isaacroldan 4731b47
Remove handle
isaacroldan c8871a8
Update schema to override global configs
isaacroldan 884bc52
Update schema
isaacroldan 9671be2
Merge branch 'main' into new-ui-extension-schema
isaacroldan 25548b6
Merge branch 'main' into new-ui-extension-schema
isaacroldan f236c79
Simplify types in ui_extension
isaacroldan c9ac3ec
Remove targeting from BaseSchema
isaacroldan 51e46e1
Simplified ui_extension schema
isaacroldan e7d59af
Updated ui_extension template
isaacroldan 3b86b0f
Merge branch 'main' into new-ui-extension-schema
isaacroldan f62639d
Fix handle in template
isaacroldan a82f4b2
Clean up
isaacroldan 3cf2679
Add test for targeting schema
isaacroldan 6f05a27
Add new test to validate targeting presence
isaacroldan 032c62b
Rever unnecessary changes
isaacroldan e0133a1
remvoe required from template
isaacroldan a32e7ef
Move handle to extension config
isaacroldan 64e52d8
Merge branch 'main' into new-ui-extension-schema
isaacroldan 5dd591b
Make handle mandatory for ui_extensions
isaacroldan c862b4b
Unified schema only parses specific fields
isaacroldan 06f4510
Simplify unifiedSchema
isaacroldan ccc028e
Make handle optional for legacy ui_extensions
isaacroldan 5f1acc9
Use BaseSchema for ui_extensions
isaacroldan 85358ca
Merge branch 'main' into new-ui-extension-schema
isaacroldan abe8994
Merge branch 'main' into new-ui-extension-schema
isaacroldan 8eaf31d
Show error if type is missing
isaacroldan 917a941
Fix id-matching tests
isaacroldan cadea7a
Update tests with the new localIdentifier
isaacroldan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
Can we make sure that this stripped out of the payload when deploying/dev? We don't actually support this config at the extension level in the backend or front end. It's only supported in the TOML for convenience
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.
It's not included in the deployConfig for sure, not sure about how we build the
dev
payload, but I didn't change that 🤔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.
Ok, I will take care of that on the PR I'm working on to update the
dev
payload to get rid oflabel
on extension points