Skip to content

Dependency updates, and one small features #125

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

Merged
merged 2 commits into from
Jun 25, 2025
Merged

Conversation

cricketthomas
Copy link
Member

@cricketthomas cricketthomas commented Jun 9, 2025

  • Change dialog title in KeyVaultTreeList.axaml.cs from "Open Key Vault By URI" to "Open Key Vault".
  • Update package versions and modify dialog title
  • update context flyout to support copying the url to the key vault in azure

image

*Changed dialog title in `KeyVaultTreeList.axaml.cs` from "Open Key Vault By URI" to "Open Key Vault".
@cricketthomas cricketthomas marked this pull request as ready for review June 11, 2025 11:07
…Explorer.csproj`

add new menu item for copying the portal URL
@cricketthomas cricketthomas requested review from Copilot and GSerjo June 25, 2025 11:35
@cricketthomas cricketthomas changed the title Dependency updates Dependency updates, and one small features Jun 25, 2025
Copy link

@Copilot 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 updates dependency package versions and adjusts UI elements to improve user interaction. Key changes include:

  • Changing the dialog title in KeyVaultTreeList.axaml.cs from "Open Key Vault By URI" to "Open Key Vault".
  • Adding a new "Copy Portal URL" menu item in KeyVaultTreeList.axaml and implementing the corresponding RelayCommand in KeyVaultTreeListViewModel.
  • Upgrading various package versions across project files to the latest supported releases.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
KeyVaultExplorer/Views/CustomControls/KeyVaultTreeList.axaml.cs Updated dialog title for clarity.
KeyVaultExplorer/Views/CustomControls/KeyVaultTreeList.axaml Added new menu item for copying the portal URL.
KeyVaultExplorer/ViewModels/KeyVaultTreeListViewModel.cs Introduced ClipboardService dependency and implemented the CopyPortalURL command.
KeyVaultExplorer/KeyVaultExplorer.csproj Updated package references to newer versions.
Desktop/Desktop.csproj Updated Avalonia.Desktop and caching memory package versions.
Comments suppressed due to low confidence (1)

KeyVaultExplorer/Views/CustomControls/KeyVaultTreeList.axaml:47

  • [nitpick] Verify that the CopyPortalURLCommand binding correctly connects with its implementation in the view model and that the 'Copy' icon source is available in the UI assets.
                Command="{Binding CopyPortalURLCommand}"

@@ -324,6 +319,14 @@ private void OpenInAzure(KeyVaultResource model)
Process.Start(new ProcessStartInfo(uri) { UseShellExecute = true, Verb = "open" });
}

[RelayCommand]
private async Task CopyPortalURL(KeyVaultResource model)
Copy link
Preview

Copilot AI Jun 25, 2025

Choose a reason for hiding this comment

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

Consider adding error handling around the _clipboardService.SetTextAsync call within the CopyPortalURL command to provide user feedback if the copy operation fails.

Copilot uses AI. Check for mistakes.

@GSerjo
Copy link
Collaborator

GSerjo commented Jun 25, 2025

This's awesome 😎

@cricketthomas cricketthomas merged commit a689bcf into master Jun 25, 2025
1 of 2 checks passed
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