Modernize pacx wr setEnvImage to use CustomThemeDefinition (env/app scope) with local theme support#196
Draft
Copilot wants to merge 4 commits into
Draft
Modernize pacx wr setEnvImage to use CustomThemeDefinition (env/app scope) with local theme support#196Copilot wants to merge 4 commits into
pacx wr setEnvImage to use CustomThemeDefinition (env/app scope) with local theme support#196Copilot wants to merge 4 commits into
Conversation
Agent-Logs-Url: https://github.com/neronotte/Greg.Xrm.Command/sessions/b78050ef-00c7-4bf1-a8ab-310535b39ccb Co-authored-by: neronotte <1436173+neronotte@users.noreply.github.com>
…fix handling Agent-Logs-Url: https://github.com/neronotte/Greg.Xrm.Command/sessions/b78050ef-00c7-4bf1-a8ab-310535b39ccb Co-authored-by: neronotte <1436173+neronotte@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update pacx wr setEnvImage command for new method
Modernize May 19, 2026
pacx wr setEnvImage to use CustomThemeDefinition (env/app scope) with local theme support
- va testato meglio - c'è già un problema: se non viene settato il tema "completamente", l'immagine non si vede. Suggerisco di: - mantenere questo comando come era prima, ma settarlo deprecato - fare un nuovo comando pacx wr setTheme che consenta di settare il tema passando tutti i parametri.
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.
pacx wr setEnvImagewas still using legacy theme mechanics and did not support per-app modern theme overrides. This updates the command to manage logo changes throughCustomThemeDefinition, including app-scoped usage and localtheme.xmlworkflows.Command surface update
--appId/--appNameto target app-level setting values.--localThemeFileto update and reuse a localtheme.xml.--appId.Modern theme setting flow (
CustomThemeDefinition)--appIdor--appNameis provided)CustomThemeDefinitionsetting value fromorganizationsettingorappsetting.--localThemeFile: updates local theme XML, pushes it as webresource, updates setting value--localThemeFile: createstheme.xmlunderpublisherprefix_/themes/, optionally saves locally in.wr.pacxcontext, pushes it, updates setting valueDataverse integration consistency
prefix__paths.Focused test coverage
CustomThemeDefinitionwebresource update pathWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
learn.microsoft.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)www.tompivny.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either: