mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-04-03 14:06:27 +00:00
Add bubble hint to guide users to review the selected changes after clicking Default Mode button (#519)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user