Add bubble hint to guide users to review the selected changes after clicking Default Mode button (#519)

This commit is contained in:
Jeffrey
2026-03-15 20:16:53 +01:00
committed by GitHub
parent 06f8f9eb6a
commit d187679cd0
7 changed files with 171 additions and 4 deletions

View File

@@ -1208,6 +1208,7 @@ function Show-MainWindow {
}
$previousBtn.Add_Click({
Hide-Bubble -Immediate
if ($tabControl.SelectedIndex -gt 0) {
$tabControl.SelectedIndex--
UpdateNavigationButtons
@@ -1249,11 +1250,17 @@ function Show-MainWindow {
# Navigate directly to the Deployment Settings tab
$tabControl.SelectedIndex = 3
UpdateNavigationButtons
# Show contextual hint bubble for the Review Changes link
$window.Dispatcher.BeginInvoke([System.Windows.Threading.DispatcherPriority]::Loaded, [action]{
Show-Bubble -TargetControl $reviewChangesBtn -Message 'View the selected changes here'
}) | Out-Null
})
# Handle Review Changes link button
$reviewChangesBtn = $window.FindName('ReviewChangesBtn')
$reviewChangesBtn.Add_Click({
Hide-Bubble
ShowChangesOverview
})
@@ -1265,6 +1272,8 @@ function Show-MainWindow {
return
}
Hide-Bubble -Immediate
# App Removal - collect selected apps from integrated UI
$selectedApps = @()
foreach ($child in $appsPanel.Children) {