You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Fix] issue with selecting Environment URL after enabling Power Platform API (#636)
* Initial plan
* Fix: Replace window.confirm() with inline overlay for PP API consent to prevent Electron modal focus loss
Co-authored-by: Power-Maverick <36135520+Power-Maverick@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Power-Maverick <36135520+Power-Maverick@users.noreply.github.com>
Copy file name to clipboardExpand all lines: src/renderer/modals/addConnection/controller.ts
+22-5Lines changed: 22 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -255,9 +255,26 @@ export function getAddConnectionModalControllerScript(channels: AddConnectionMod
255
255
};
256
256
257
257
const confirmPowerPlatformApiConsent = () => {
258
-
return window.confirm(
259
-
"Power Platform API access requires admin-approved privileges and a properly configured Client ID.\\n\\nIf required privileges are missing, tools may not work as expected.\\n\\nSelect OK to Agree and continue.\\nSelect Cancel to keep this option disabled.",
Copy file name to clipboardExpand all lines: src/renderer/modals/editConnection/controller.ts
+22-5Lines changed: 22 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -263,9 +263,26 @@ export function getEditConnectionModalControllerScript(channels: EditConnectionM
263
263
};
264
264
265
265
const confirmPowerPlatformApiConsent = () => {
266
-
return window.confirm(
267
-
"Power Platform API access requires admin-approved privileges and a properly configured Client ID.\\n\\nIf required privileges are missing, tools may not work as expected.\\n\\nSelect OK to Agree and continue.\\nSelect Cancel to keep this option disabled.",
0 commit comments