-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Generalize UI Asset build in Plugins #53577
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
Generalize UI Asset build in Plugins #53577
Conversation
936cdcf to
9f947ca
Compare
9f947ca to
6ab467b
Compare
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.
Pull Request Overview
This PR generalizes the FAB provider asset compilation script to support multiple providers as preparation for reducing complexity in a future PR. The changes refactor hardcoded FAB-specific paths into a configurable dictionary structure and update the compilation function to accept a provider parameter.
- Replaces hardcoded FAB paths with a configurable
PROVIDERS_PATHSdictionary - Updates
compile_assets()function to accept a provider name parameter instead of a direct path - Modifies the pre-commit hook to pass "fab" as an argument to the generalized script
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| scripts/ci/pre_commit/compile_provider_assets.py | Generalizes asset compilation from FAB-specific to multi-provider support with configurable paths |
| .pre-commit-config.yaml | Updates pre-commit hook entry point to use generalized script with "fab" parameter |
* Generalize UI Asset build in Plugins * Review feedback * Copilot feedback (cherry picked from commit 68b6c36) Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
* Generalize UI Asset build in Plugins * Review feedback * Copilot feedback
* Generalize UI Asset build in Plugins * Review feedback * Copilot feedback
* Generalize UI Asset build in Plugins * Review feedback * Copilot feedback
As a preparation to reduce complexity in PR #53563 and as "soon" also Edge will build Provider specific assets...
This PR makes a generalization of the pre-commit hook to check an build provider assets. Edge configuration will be added separately