Skip to content

Add Refresh buttons, fix missing auth consent, remove custom title bar causing TitleBar crash on wasdk1.7, and fix MSAL Auth exception #157

Merged
cricketthomas merged 5 commits intomasterfrom
app-fixes
Mar 23, 2026
Merged

Add Refresh buttons, fix missing auth consent, remove custom title bar causing TitleBar crash on wasdk1.7, and fix MSAL Auth exception #157
cricketthomas merged 5 commits intomasterfrom
app-fixes

Conversation

@cricketthomas
Copy link
Copy Markdown
Owner

@cricketthomas cricketthomas commented Mar 21, 2026

  • Add with auth consent to ensure the right permissions are added to the tenant
  • Add refresh button to item details page, to make a deterministic selection of latest secret for secret details
  • Remove custom titlebar in favor of default one due to app crash issues since the fix is in 1.8 and uno is still on 1.7
  • Fix MSFT store crash
CLR_EXCEPTION_Microsoft.Identity.Client.MsalThrottledUiRequiredException_80131500_ArthurThomasIV.AzureKeyVaultExplorer-forAzure_KEYVAULTEXPLORERDESKTOP!unknown_function
Screen.Recording.2026-03-21.111509.mp4

Copy link
Copy Markdown

Copilot AI left a 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 enhances the AzureKeyVaultStudio Uno app UX and reliability by adding a deterministic “Refresh” path for item details, improving interactive auth consent behavior, and preserving DataGrid sorting across refreshes.

Changes:

  • Add a Refresh button/command to the item details page and update item-property selection to use the latest version by UpdatedOn.
  • Update interactive sign-in to force consent and request extra scopes to ensure required permissions are granted.
  • Persist DataGrid sort state and reapply sorting when vault contents refresh/reload.

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
src/uno/global.json Bumps Uno SDK version.
src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio/UserControls/ViewModels/ItemPropertiesViewModel.cs Adds Refresh command and selects “latest” item version for display; switches async commands to Task.
src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio/UserControls/SharedWindow.xaml.cs Adjusts Windows-only titlebar customization preprocessor scope.
src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio/UserControls/OverrideTitlebar.xaml.cs Exposes titlebar element for Windows and tweaks navigation indentation.
src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio/UserControls/ItemDetails.xaml Adds Refresh AppBarButton wired to the new command.
src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio/Strings/*/Resources.resw Adds localized label for the Refresh button.
src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio/Services/AuthService.cs Forces consent prompt and adds extra scopes to consent during interactive login.
src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio/Presentation/ViewModels/VaultViewModel.cs Changes OpenInAzure command handler from async void to Task.
src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio/Presentation/VaultTabContentPage.xaml.cs Tracks sort column/direction and reapplies sort on refresh; updates sort indicators.
src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio/Presentation/MainPage.xaml.cs Updates titlebar setup to use the exposed titlebar element.
src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio/Package.appxmanifest Increments package version.
src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio/Models/KeyVaultValuesAmalgamation.cs Ensures Type is populated when creating item models; adjusts collection expressions.
src/uno/AzureKeyVaultStudio/AzureKeyVaultStudio/App.xaml.cs Tweaks initial window size and corrects dark theme titlebar mapping.
src/uno/AzureKeyVaultStudio.slnx Updates solution project path entry.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Add AuthService consent to avoid admins from manually adding permissions
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cricketthomas cricketthomas changed the title Add Refresh buttons, fix missing auth consent, persist sorting on refresh Add Refresh buttons, fix missing auth consent, remove custom title bar causing TitleBar crash on wasdk1.7, and fix MSAL Auth exception Mar 23, 2026
@cricketthomas cricketthomas merged commit 4ff58ab into master Mar 23, 2026
8 checks passed
@cricketthomas cricketthomas deleted the app-fixes branch March 23, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants