Repository navigation
chore(winui-sync): Onboard PipsPager at WinUI 2.6.5 - #26511
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
|
Claude finished @MartinZikmund's task in 29s —— View job PR Review: Onboard PipsPager at WinUI 2.6.5Verdict: ship, with two minor follow-ups. This was a review by inspection of the diff. I did not build the code or run any tests.
Summary
|
|
This pull request is merged. |
db82eb7 to
d2d4a29
Compare
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
|
Claude finished @MartinZikmund's task in 12s —— View job PR Review: Onboard PipsPager at WinUI 2.6.5Verdict: ship. No new blocking findings. This is a review by inspection of
Summary
Cross-cutting notes
|
d2d4a29 to
8bf8666
Compare
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
|
Claude finished @MartinZikmund's task in 17s —— View job Review of PR #26511: Onboard PipsPager at WinUI 2.6.5Verdict: ship. This was a review by inspection of the last four commits (
Summary
Still open from the earlier reviews (all minor and non-blocking)
Cross-cutting
|
|
The build 247248 found UI Test snapshots differences: Details
|
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
|
Claude finished @MartinZikmund's task in 12s —— View job Review of PR #26511: Onboard PipsPager at WinUI 2.6.5Verdict: ship. This is a review by inspection of the
Summary
Still open from earlier reviews (minor, non-blocking)
Cross-cutting
|
71995a6 to
01b333a
Compare
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
|
Claude finished @MartinZikmund's task in 14s —— View job Review of PR #26511: Onboard PipsPager at WinUI 2.6.5Verdict: ship. This is a review by inspection of the
Summary
Still open from earlier reviews (minor, non-blocking)
Cross-cutting
|
Carries the port from its 1.4.2 starting point to 2.6.5 and fixes the gaps found reviewing it line by line against 2.6.5: - WrapModeProperty had no change callback, so changing WrapMode never updated the navigation buttons or the layout virtualization. - UpdatePipsItems removed items by value instead of from the end, so shrinking NumberOfPages from 5 to 3 left [1, 2, 5]. - Pip click handlers piled up on recycled pips; they are now kept in a per-pip revoker like upstream's PipButtonHandlers property. - The ItemsRepeater layout callback was not revoked on re-template. - The cached StackLayout is weakly held, the peer reads its owner, and member names follow upstream. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu2R9fwduJRZhPjKARZ
- Drop the WinUI 2 era `#if !HAS_UNO_WINUI` usings, which only duplicated the usings above them. - Drop [RequiresFullWindow] from the ported API tests: added in 2022 for native-renderer lifecycle differences, the tests now pass without it on Skia desktop (5 iterations, retries off). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu2R9fwduJRZhPjKARZ
- Cover the WrapMode callback and NumberOfPages trimming fixes. - Port the WrapMode interaction tests, the One-page option (which realigns the index-based page-count selection with the sample) and the 24px navigation button size. - List the interaction tests that cannot be ported, and add MUX Reference headers to the interaction test files. - Drop the WinUI 2 era conditional Spacing namespace from the sample. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu2R9fwduJRZhPjKARZ
Records PipsPager at winui3/release/2.6.5 (c29edd64ae). The port was caught up from 1.4.2 and reviewed against 2.6.5 in the preceding commits. The theme XAML is a verbatim copy of upstream, so it is mirrored rather than ported. Headers now name only their upstream files; the manifest holds the version. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNu2R9fwduJRZhPjKARZ
…tualization DisableVirtualization is Uno-only, so the test failed to compile on WinAppSDK. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNtzpwqXiaSHwvb2y5UA
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNtzpwqXiaSHwvb2y5UA
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNtzpwqXiaSHwvb2y5UA
01b333a to
71a9c25
Compare
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
|
Claude finished @MartinZikmund's task in 12s —— View job Review of PR #26511: Onboard PipsPager at WinUI 2.6.5Verdict: ship. This is a review by inspection of the latest two commits. I did not build the code or run any tests.
Summary
Still open (minor, non-blocking)
Cross-cutting
|
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
The build 247309 found UI Test snapshots differences: Details
|
IsVirtualizationEnabled is a MUX_PREVIEW API, absent from WinAppSDK. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNtxk5r27bbRMZMESSWh
|
Claude finished @MartinZikmund's task in 17s —— View job Review of PR #26511: Onboard PipsPager at WinUI 2.6.5Verdict: ship. I reviewed the
Summary
Cross-cutting
|
GitHub Issue: closes #26510
PR Type:
What changed? 🚀
Onboards
PipsPagerto theWinUI Port Sync, recorded at WinUI 2.6.5 (c29edd64ae). Before adding the area, I caught the port up from its 1.4.2 starting point to the latest stable release, reviewed it line by line against that release, and audited its Uno workarounds.Gaps fixed (
fix(pipspager))WrapModePropertyhad no change callback, so changingWrapModenever updated the navigation buttons or the layout virtualizationOnWrapModePropertyChanged→OnPropertyChangedUpdatePipsItemsremoved by value (Remove(Count - 1)), so shrinkingNumberOfPagesfrom 5 to 3 left[1, 2, 5]RemoveAtEnd()PipButtonHandlers)ItemsRepeaterlayout callback not revoked on re-templateStackLayoutstrongly held, peer not reading its owner, member names divergedWorkaround audit (
refactor(pipspager))#if !HAS_UNO_WINUIusings[RequiresFullWindow]on the ported API testsTests (
test(pipspager))Given_PipsPager:When_WrapMode_Changes_Virtualization_Follows,When_WrapMode_Changes_On_First_Page_Previous_Button_Shows,When_NumberOfPages_Decreases_Items_Are_Removed_From_End. They failed before the fix (actual5at index 2, Opacity 0,DisableVirtualizationfalse) and pass after it.PipsPagerWrapModeNavigation,PipsPagerWrapModeNavigationInfinitePagesandPipsPagerWrapModeNavigationButtonsHiddenInOnePageScenario. Also ported the sample's One-page option and the 24px navigation button size. The tests that can't be ported are listed in the file:VerifyAxeScanPasses(no Axe),FirstFocusedPageTest/KeyboardPageSelectTest(no keyboard helpers),PipsPagerRTLDoesNotCrash(noSetInnerFrameFlowDirection).Spacingnamespace.Tracking (
chore(winui-sync))PipsPager.xaml,PipsPager_themeresources.xaml) is byte-identical to upstream, so it is mapped as mirrors (fix(winui-sync): Leave mirrored files out of the code diff #26484) instead of ported.Stringsare mapped, so.reswfiles are replaced from upstream on sync.areas.jsonholds the version.Validation
Given_PipsPagertests failed before the fix and pass after it. The API tests pass without[RequiresFullWindow].detect.ps1 -AreaFilter pipspagerreports up to date.areas.json(InfoBadge was appended there in chore(winui-sync): Onboard InfoBadge at WinUI 2.6.5 #26493). I kept both entries, so no code changed in the rebase.PR Checklist ✅
Screenshots Compare Test Runresults.🤖 Generated with Claude Code
https://claude.ai/code/session_01TXMNu1XJUwVC1zr62oVX4i