Repository navigation
Conversation
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 38193Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 38193" |
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
|
Hey there @@LogishaSelvarajSF4525! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
|
/azp run maui-pr-uitests |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
|
/azp run maui-pr-uitests |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
This comment has been minimized.
This comment has been minimized.
|
Note 🔍
|
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
This comment has been minimized.
This comment has been minimized.
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Some option combinations are not implemented consistently, and the below-threshold test validates the opposite behavior.
Review effort: Balanced
Findings: 3
Open (3)
What changed in this PR
Expands the SwipeView feature matrix with configurable swipe items, event tracking, and broader UI test coverage.
Changes:
- Adds multiple, disabled, hidden, and command-bound swipe-item options.
- Tracks programmatic open/close and swipe-changing events.
- Adds and orders SwipeView UI scenarios.
| File | Description |
|---|---|
SwipeViewFeatureTests.cs |
Adds SwipeView UI scenarios and assertions. |
SwipeViewViewModel.cs |
Adds option state, commands, counters, and reset logic. |
SwipeViewOptionsPage.xaml.cs |
Formatting-only change. |
SwipeViewOptionsPage.xaml |
Adds new configuration controls and compacts layout. |
SwipeViewControlPage.cs |
Creates configurable items and tracks events. |
| var topSwipeItems = CreateSwipeItems(swipeItemType, "Top_"); | ||
| var bottomSwipeItems = CreateSwipeItems(swipeItemType, "Bottom_"); |
| var buttonView = new SwipeItemView { Content = button, IsVisible = !_viewModel.HideSwipeItem }; | ||
| swipeItems.Add(buttonView); |
| var ended = App.WaitForElement("SwipeEndedLabel").GetText(); | ||
| Assert.That(ended, Does.Contain("IsOpen: Open"), | ||
| $"When swipe distance is below Threshold, SwipeEnded.IsOpen must be true. Was: '{ended}'"); |
This comment has been minimized.
This comment has been minimized.
|
Note 🔍
|
AI Review Summary
🗂️ Review Sessions — click to expand🚦 Gate — Test Before & After FixGate Result: ❌ FAILEDThe trusted test-verification gate reported a failure. Its detailed display artifact was Inspect the trusted Gate task logs for the failing build or test evidence. This run is not 📋 Pre-Flight — Context & ValidationThe Copilot expert-review task ended before this phase was persisted, usually because the review-stage time budget expired or the CI agent encountered a transient authentication/runtime problem. Earlier completed sections remain valid, but this review is incomplete without this phase. Next step: re-comment 🔬 Code Review — Deep AnalysisThe Copilot expert-review task ended before this phase was persisted, usually because the review-stage time budget expired or the CI agent encountered a transient authentication/runtime problem. Earlier completed sections remain valid, but this review is incomplete without this phase. Next step: re-comment 🛠️ Try-Fix — Analysis & ComparisonThe Copilot expert-review task ended before this phase was persisted, usually because the review-stage time budget expired or the CI agent encountered a transient authentication/runtime problem. Earlier completed sections remain valid, but this review is incomplete without this phase. Next step: re-comment 🏁 Report — Final RecommendationThe Copilot expert-review task ended before this phase was persisted, usually because the review-stage time budget expired or the CI agent encountered a transient authentication/runtime problem. Earlier completed sections remain valid, but this review is incomplete without this phase. Next step: re-comment 📱 UI Tests — SwipeViewDetected UI test categories: ❌ Deep UI tests — 88 passed, 1 failed across 1 category on platform-pool agent (replaces in-process counts above). 🧪 UI Test Execution Results (deep, platform pool)
❌
|
…ol (#38193) This pull request significantly enhances the SwipeView control test page and its ViewModel, adding new test options and improving flexibility for swipe item scenarios. The main improvements include support for multiple swipe items per side, new options for disabling, hiding, and command-binding swipe items, and the addition of new event tracking and display. UI adjustments and code refactoring improve maintainability and test coverage. **Feature enhancements:** * Added support for multiple swipe items per side, including new options in both the UI (`SwipeViewOptionsPage.xaml`) and ViewModel (`SwipeViewViewModel`) to enable/disable this feature. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L143-R141) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[5]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) * Introduced options to disable, hide, and use command binding on individual swipe items, with corresponding checkboxes in the options page and logic in the ViewModel and swipe item creation. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) [[5]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768R83-R102) * Added ViewModel properties and UI labels to track and display `OpenRequested`, `CloseRequested`, and the count of `SwipeChanging` events. Hooked up these events in the code-behind and updated the ViewModel accordingly. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR24-R32) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR155-R172) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L97-R92) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2R329-R341) **Code refactoring and consistency:** * Replaced repetitive ViewModel property assignments with a new `Reset()` method for easier state management and invoked it from the options command. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L34-R34) * Updated swipe item creation logic to use side-specific automation IDs and support the new options, improving testability and clarity. [[1]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) **UI/UX improvements:** * Adjusted layout spacings and label alignments in the options page for a more compact and visually consistent UI. [[1]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L13-R13) [[2]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L22-R23) [[3]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L54-R73) **Issue Identified:** - #39166
…ol (#38193) This pull request significantly enhances the SwipeView control test page and its ViewModel, adding new test options and improving flexibility for swipe item scenarios. The main improvements include support for multiple swipe items per side, new options for disabling, hiding, and command-binding swipe items, and the addition of new event tracking and display. UI adjustments and code refactoring improve maintainability and test coverage. **Feature enhancements:** * Added support for multiple swipe items per side, including new options in both the UI (`SwipeViewOptionsPage.xaml`) and ViewModel (`SwipeViewViewModel`) to enable/disable this feature. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L143-R141) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[5]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) * Introduced options to disable, hide, and use command binding on individual swipe items, with corresponding checkboxes in the options page and logic in the ViewModel and swipe item creation. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) [[5]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768R83-R102) * Added ViewModel properties and UI labels to track and display `OpenRequested`, `CloseRequested`, and the count of `SwipeChanging` events. Hooked up these events in the code-behind and updated the ViewModel accordingly. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR24-R32) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR155-R172) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L97-R92) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2R329-R341) **Code refactoring and consistency:** * Replaced repetitive ViewModel property assignments with a new `Reset()` method for easier state management and invoked it from the options command. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L34-R34) * Updated swipe item creation logic to use side-specific automation IDs and support the new options, improving testability and clarity. [[1]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) **UI/UX improvements:** * Adjusted layout spacings and label alignments in the options page for a more compact and visually consistent UI. [[1]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L13-R13) [[2]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L22-R23) [[3]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L54-R73) **Issue Identified:** - #39166
…ol (#38193) This pull request significantly enhances the SwipeView control test page and its ViewModel, adding new test options and improving flexibility for swipe item scenarios. The main improvements include support for multiple swipe items per side, new options for disabling, hiding, and command-binding swipe items, and the addition of new event tracking and display. UI adjustments and code refactoring improve maintainability and test coverage. **Feature enhancements:** * Added support for multiple swipe items per side, including new options in both the UI (`SwipeViewOptionsPage.xaml`) and ViewModel (`SwipeViewViewModel`) to enable/disable this feature. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L143-R141) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[5]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) * Introduced options to disable, hide, and use command binding on individual swipe items, with corresponding checkboxes in the options page and logic in the ViewModel and swipe item creation. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) [[5]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768R83-R102) * Added ViewModel properties and UI labels to track and display `OpenRequested`, `CloseRequested`, and the count of `SwipeChanging` events. Hooked up these events in the code-behind and updated the ViewModel accordingly. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR24-R32) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR155-R172) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L97-R92) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2R329-R341) **Code refactoring and consistency:** * Replaced repetitive ViewModel property assignments with a new `Reset()` method for easier state management and invoked it from the options command. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L34-R34) * Updated swipe item creation logic to use side-specific automation IDs and support the new options, improving testability and clarity. [[1]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) **UI/UX improvements:** * Adjusted layout spacings and label alignments in the options page for a more compact and visually consistent UI. [[1]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L13-R13) [[2]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L22-R23) [[3]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L54-R73) **Issue Identified:** - #39166
…ol (#38193) This pull request significantly enhances the SwipeView control test page and its ViewModel, adding new test options and improving flexibility for swipe item scenarios. The main improvements include support for multiple swipe items per side, new options for disabling, hiding, and command-binding swipe items, and the addition of new event tracking and display. UI adjustments and code refactoring improve maintainability and test coverage. **Feature enhancements:** * Added support for multiple swipe items per side, including new options in both the UI (`SwipeViewOptionsPage.xaml`) and ViewModel (`SwipeViewViewModel`) to enable/disable this feature. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L143-R141) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[5]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) * Introduced options to disable, hide, and use command binding on individual swipe items, with corresponding checkboxes in the options page and logic in the ViewModel and swipe item creation. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) [[5]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768R83-R102) * Added ViewModel properties and UI labels to track and display `OpenRequested`, `CloseRequested`, and the count of `SwipeChanging` events. Hooked up these events in the code-behind and updated the ViewModel accordingly. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR24-R32) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR155-R172) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L97-R92) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2R329-R341) **Code refactoring and consistency:** * Replaced repetitive ViewModel property assignments with a new `Reset()` method for easier state management and invoked it from the options command. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L34-R34) * Updated swipe item creation logic to use side-specific automation IDs and support the new options, improving testability and clarity. [[1]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) **UI/UX improvements:** * Adjusted layout spacings and label alignments in the options page for a more compact and visually consistent UI. [[1]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L13-R13) [[2]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L22-R23) [[3]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L54-R73) **Issue Identified:** - #39166
…ol (#38193) This pull request significantly enhances the SwipeView control test page and its ViewModel, adding new test options and improving flexibility for swipe item scenarios. The main improvements include support for multiple swipe items per side, new options for disabling, hiding, and command-binding swipe items, and the addition of new event tracking and display. UI adjustments and code refactoring improve maintainability and test coverage. **Feature enhancements:** * Added support for multiple swipe items per side, including new options in both the UI (`SwipeViewOptionsPage.xaml`) and ViewModel (`SwipeViewViewModel`) to enable/disable this feature. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L143-R141) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[5]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) * Introduced options to disable, hide, and use command binding on individual swipe items, with corresponding checkboxes in the options page and logic in the ViewModel and swipe item creation. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) [[5]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768R83-R102) * Added ViewModel properties and UI labels to track and display `OpenRequested`, `CloseRequested`, and the count of `SwipeChanging` events. Hooked up these events in the code-behind and updated the ViewModel accordingly. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR24-R32) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR155-R172) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L97-R92) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2R329-R341) **Code refactoring and consistency:** * Replaced repetitive ViewModel property assignments with a new `Reset()` method for easier state management and invoked it from the options command. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L34-R34) * Updated swipe item creation logic to use side-specific automation IDs and support the new options, improving testability and clarity. [[1]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) **UI/UX improvements:** * Adjusted layout spacings and label alignments in the options page for a more compact and visually consistent UI. [[1]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L13-R13) [[2]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L22-R23) [[3]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L54-R73) **Issue Identified:** - #39166
…ol (#38193) This pull request significantly enhances the SwipeView control test page and its ViewModel, adding new test options and improving flexibility for swipe item scenarios. The main improvements include support for multiple swipe items per side, new options for disabling, hiding, and command-binding swipe items, and the addition of new event tracking and display. UI adjustments and code refactoring improve maintainability and test coverage. **Feature enhancements:** * Added support for multiple swipe items per side, including new options in both the UI (`SwipeViewOptionsPage.xaml`) and ViewModel (`SwipeViewViewModel`) to enable/disable this feature. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L143-R141) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[5]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) * Introduced options to disable, hide, and use command binding on individual swipe items, with corresponding checkboxes in the options page and logic in the ViewModel and swipe item creation. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) [[5]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768R83-R102) * Added ViewModel properties and UI labels to track and display `OpenRequested`, `CloseRequested`, and the count of `SwipeChanging` events. Hooked up these events in the code-behind and updated the ViewModel accordingly. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR24-R32) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR155-R172) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L97-R92) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2R329-R341) **Code refactoring and consistency:** * Replaced repetitive ViewModel property assignments with a new `Reset()` method for easier state management and invoked it from the options command. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L34-R34) * Updated swipe item creation logic to use side-specific automation IDs and support the new options, improving testability and clarity. [[1]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) **UI/UX improvements:** * Adjusted layout spacings and label alignments in the options page for a more compact and visually consistent UI. [[1]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L13-R13) [[2]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L22-R23) [[3]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L54-R73) **Issue Identified:** - #39166
…ol (#38193) This pull request significantly enhances the SwipeView control test page and its ViewModel, adding new test options and improving flexibility for swipe item scenarios. The main improvements include support for multiple swipe items per side, new options for disabling, hiding, and command-binding swipe items, and the addition of new event tracking and display. UI adjustments and code refactoring improve maintainability and test coverage. **Feature enhancements:** * Added support for multiple swipe items per side, including new options in both the UI (`SwipeViewOptionsPage.xaml`) and ViewModel (`SwipeViewViewModel`) to enable/disable this feature. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L143-R141) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[5]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) * Introduced options to disable, hide, and use command binding on individual swipe items, with corresponding checkboxes in the options page and logic in the ViewModel and swipe item creation. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) [[5]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768R83-R102) * Added ViewModel properties and UI labels to track and display `OpenRequested`, `CloseRequested`, and the count of `SwipeChanging` events. Hooked up these events in the code-behind and updated the ViewModel accordingly. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR24-R32) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR155-R172) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L97-R92) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2R329-R341) **Code refactoring and consistency:** * Replaced repetitive ViewModel property assignments with a new `Reset()` method for easier state management and invoked it from the options command. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L34-R34) * Updated swipe item creation logic to use side-specific automation IDs and support the new options, improving testability and clarity. [[1]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) **UI/UX improvements:** * Adjusted layout spacings and label alignments in the options page for a more compact and visually consistent UI. [[1]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L13-R13) [[2]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L22-R23) [[3]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L54-R73) **Issue Identified:** - #39166
…ol (#38193) This pull request significantly enhances the SwipeView control test page and its ViewModel, adding new test options and improving flexibility for swipe item scenarios. The main improvements include support for multiple swipe items per side, new options for disabling, hiding, and command-binding swipe items, and the addition of new event tracking and display. UI adjustments and code refactoring improve maintainability and test coverage. **Feature enhancements:** * Added support for multiple swipe items per side, including new options in both the UI (`SwipeViewOptionsPage.xaml`) and ViewModel (`SwipeViewViewModel`) to enable/disable this feature. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L143-R141) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[5]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) * Introduced options to disable, hide, and use command binding on individual swipe items, with corresponding checkboxes in the options page and logic in the ViewModel and swipe item creation. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) [[5]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768R83-R102) * Added ViewModel properties and UI labels to track and display `OpenRequested`, `CloseRequested`, and the count of `SwipeChanging` events. Hooked up these events in the code-behind and updated the ViewModel accordingly. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR24-R32) [[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR155-R172) [[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L97-R92) [[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2R329-R341) **Code refactoring and consistency:** * Replaced repetitive ViewModel property assignments with a new `Reset()` method for easier state management and invoked it from the options command. [[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293) [[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L34-R34) * Updated swipe item creation logic to use side-specific automation IDs and support the new options, improving testability and clarity. [[1]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288) [[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300) **UI/UX improvements:** * Adjusted layout spacings and label alignments in the options page for a more compact and visually consistent UI. [[1]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L13-R13) [[2]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L22-R23) [[3]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L54-R73) **Issue Identified:** - #39166

This pull request significantly enhances the SwipeView control test page and its ViewModel, adding new test options and improving flexibility for swipe item scenarios. The main improvements include support for multiple swipe items per side, new options for disabling, hiding, and command-binding swipe items, and the addition of new event tracking and display. UI adjustments and code refactoring improve maintainability and test coverage.
Feature enhancements:
SwipeViewOptionsPage.xaml) and ViewModel (SwipeViewViewModel) to enable/disable this feature. [1] [2] [3] [4] [5]OpenRequested,CloseRequested, and the count ofSwipeChangingevents. Hooked up these events in the code-behind and updated the ViewModel accordingly. [1] [2] [3] [4]Code refactoring and consistency:
Reset()method for easier state management and invoked it from the options command. [1] [2]UI/UX improvements:
Issue Identified: