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
{{ message }}
Repository navigation
Make the Agent Skills settings page scroll and match other settings pages - #5847
Not scrollable. Every other settings page has a ScrollViewer at its root, because the settings shell does not scroll pages for them. AgentSkillsSettingsControl had a bare StackPanel, so below the fold was unreachable at small window sizes and the smooth-scroll handler had no scroll host to drive. Its tests missed it because AgentSkillsSettingsTestWindow wraps every control in a ScrollViewer that the real shell never provides.
Cards double-inset. The root StackPanel's Margin="40,0" stacked on Border.settings-card's own 40 DIP margin, so cards sat 80 DIP in while section headings sat at 44.
Controls unlike the rest of the settings UI. Plain Border boxes, default text boxes, On/Off toggles and three Expanders, none of which other settings pages use.
Fix
The page is a ScrollViewer → section headings → SettingsCard rows, like XcodeSettings and Backup: Enabled/Disabled toggle labels (as CheckboxCard), search-field-standalone inputs, secondary-action buttons, 200 DIP combo boxes, and joined corners for the two Notion cards. Card descriptions use the same spacing throughout.
The expanders are gone. "How discovery works" folds into the skills.sh card's description; the Notion section and its version policy are two always-visible cards. The view model's IsNotionExpanded / IsAdvancedExpanded, their auto-expand logic, and VersionSummary (which only fed the Advanced header) are removed, as are the Edit version button and the focus code only it could reach.
The sources box gets the bordered, accent-barred list of the package-manager SourceManagerCard. This control is also shown on the Sources tab of the main Agent Skills page.
Settings search lands on SkillsShDiscoveryCard, TargetModeCard and NotionCard, so the highlight wraps the whole card instead of the switch inside it.
The installation targets card gets the header "Install for these agents" (existing string), so it is no longer an unnamed group for screen readers.
Also fixed: Xcode directory cards (macOS)
Content written directly inside <settings:SettingsCard> sets the base ContentControl.Content and replaces the card's whole layout; it has to go through <settings:SettingsCard.Content>. The Xcode Installation directory and Archive directory cards had this mistake and rendered as a bare text box without header, description or frame. XcodeSettingsTests reproduces it (built with -p:EnableXcodeExtension=true, failing before the fix) and now passes; it compiles only where the Xcode extension is enabled, like the other Xcode tests. Not checked visually on a Mac.
…ages
The page could not scroll, so at small window sizes everything below the
fold was unreachable and the smooth-scroll handler had nothing to drive.
Every other settings page has a ScrollViewer at its root because the
settings shell does not scroll pages for them; this one had a bare
StackPanel. Its own tests did not catch it because their test window
wraps each control in a ScrollViewer the real shell never provides.
The page also looked unlike the rest of the settings UI. Its root
StackPanel's 40px margin stacked on Border.settings-card's own 40px, so
cards sat 80px in while headings sat at 44px. It used plain Borders,
default text boxes, On/Off toggles and three Expanders, which no other
settings page uses. It now follows the other pages: section headings
followed by SettingsCard rows, Enabled/Disabled toggle labels,
search-field-standalone inputs, secondary-action buttons, and joined
corners for the two Notion cards. The sources box gets the bordered,
accent-barred list of the package-manager sources card.
With the Notion and Advanced options sections always visible, the view
model's expansion state, its auto-expand logic and the version summary
that only fed the Advanced header are removed, as are the Edit version
button and the focus code only it could reach. Settings search now
lands on the cards instead of the controls inside them.
Content written directly inside <settings:SettingsCard> sets the base
ContentControl.Content and replaces the card's whole layout; it has to
go through <settings:SettingsCard.Content>. The Xcode Installation and
Archive directory cards had the same mistake and lost their header,
description and frame on macOS; they are fixed too.
Fixes#5837
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Moving NotionSummary into the string header removes polite live announcements for successful connection checks, sign-ins, and sign-outs, while the current handler announces only errors.
Addresses #5837 by making Agent Skills settings scroll independently and follow UniGetUI’s shared settings layout. Also restores the full layout of Xcode directory cards.
Changes:
Adds a page scroll host, consistent card and source-list styling, and whole-card search anchors.
Makes Notion options always visible and removes obsolete expansion and focus logic.
Fixes Xcode editor content routing and updates regression coverage.
The Notion status line used to be a TextBlock with a polite live setting,
so screen readers heard connection checks, sign-ins and sign-outs. Making
it the card's string header dropped that: SettingsCard builds a plain
TextBlock for a string header and rebuilds it on every change, so a live
setting on it would not fire either, and a bound TextBlock header would
leave the card's accessible name stale because SettingsCard only syncs it
when Header itself changes.
The page now announces NotionSummary changes politely through
AccessibilityAnnouncementService, beside its assertive error
announcements, and only while attached.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Both switches lose explicit accessible state text when their content is cleared and replacement labels are hidden, potentially preventing VoiceOver from announcing the current setting.
Clearing OnContent/OffContent while hiding the replacement labels removes the explicit state text from both switches' accessibility trees. VoiceOver can then lose the current setting where the native toggle role does not expose IsChecked. Initialize and update ItemStatus and a state-suffixed accessible name for both switches, following SettingsCard.cs:363–375 and CheckboxCard.cs:175–176.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #5837
Root cause
ScrollViewerat its root, because the settings shell does not scroll pages for them.AgentSkillsSettingsControlhad a bareStackPanel, so below the fold was unreachable at small window sizes and the smooth-scroll handler had no scroll host to drive. Its tests missed it becauseAgentSkillsSettingsTestWindowwraps every control in aScrollViewerthat the real shell never provides.StackPanel'sMargin="40,0"stacked onBorder.settings-card's own 40 DIP margin, so cards sat 80 DIP in while section headings sat at 44.Borderboxes, default text boxes, On/Off toggles and threeExpanders, none of which other settings pages use.Fix
ScrollViewer→ section headings →SettingsCardrows, likeXcodeSettingsandBackup: Enabled/Disabled toggle labels (asCheckboxCard),search-field-standaloneinputs,secondary-actionbuttons, 200 DIP combo boxes, and joined corners for the two Notion cards. Card descriptions use the same spacing throughout.IsNotionExpanded/IsAdvancedExpanded, their auto-expand logic, andVersionSummary(which only fed the Advanced header) are removed, as are the Edit version button and the focus code only it could reach.SourceManagerCard. This control is also shown on the Sources tab of the main Agent Skills page.SkillsShDiscoveryCard,TargetModeCardandNotionCard, so the highlight wraps the whole card instead of the switch inside it.Also fixed: Xcode directory cards (macOS)
Content written directly inside
<settings:SettingsCard>sets the baseContentControl.Contentand replaces the card's whole layout; it has to go through<settings:SettingsCard.Content>. The Xcode Installation directory and Archive directory cards had this mistake and rendered as a bare text box without header, description or frame.XcodeSettingsTestsreproduces it (built with-p:EnableXcodeExtension=true, failing before the fix) and now passes; it compiles only where the Xcode extension is enabled, like the other Xcode tests. Not checked visually on a Mac.