Commit Graph

65 Commits

Author SHA1 Message Date
Copilot
0ab084b198 Fix NavMenu selection on right-click (#819)
* Initial plan

* Fix NavMenu right-click behavior - prevent selection on right-click

Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>
2025-11-12 15:33:18 +08:00
Copilot
441f123de2 Add keyboard navigation and focus styles to TreeComboBox and MultiComboBox (#808)
* Initial plan

* Add keyboard navigation and focus styles to TreeComboBox

Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>

* Fix keyboard handler - add parentheses for clarity and handle Tab key properly

Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>

* Add keyboard navigation to MultiComboBox

Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>
2025-11-11 23:07:26 +08:00
Dong Bin
3c29764af4 test: enhance accessibility tests for form controls 2025-11-07 23:18:19 +08:00
Dong Bin
dcaef1c8ed [New Control] Descriptions (#791)
* feat: add ColumnWrapPanel.

* feat: add Descriptions and DescriptionsItem controls

* WIP: extract a LabeledContentControl for this particular need.

* wip.

* feat: setup demo. fix various initial status issue.

* fix: fix a layout issue.

* feat: improve demo.

* feat: update demo.

* fix: remove a redundant calculation.

* feat: update per copilot feedback.

* feat: add tests, fix a calculation issue.

* feat: refactor to change the default label and value binding assignment logic.

* feat: introduce orientation.

* misc: format codes.

* feat: clarify LabelPosition property.

* feat: extract Font resources.

* revert AvatarDemo.

* feat: assign specific value to Font resources for testing.

* misc: resolve copilot comment.

---------

Co-authored-by: Zhang Dian <54255897+zdpcdt@users.noreply.github.com>
2025-10-22 20:49:02 +08:00
Dong Bin
89c749c624 Merge pull request #775 from irihitech/clean
clean up controls XAML files
2025-09-19 16:45:50 +08:00
Zhang Dian
83e3334c71 misc: simplify Shared namespace reference. 2025-09-16 20:23:41 +08:00
rabbitism
13008225c0 test: add basic unit test, fix a search text issue. 2025-09-15 15:59:25 +08:00
Dong Bin
8147a05b5c feat: add TrailingWrapWidth. 2025-09-03 21:18:56 +08:00
Dong Bin
9ee89b7ce5 test: fix measure test. 2025-09-03 21:12:20 +08:00
Dong Bin
a778882c33 feat: update namespace for WrapPanelWithTrailingItem and its tests 2025-09-03 21:08:37 +08:00
Dong Bin
bce6e08561 feat: add tests. 2025-09-03 18:17:56 +08:00
Copilot
2e812357d7 Add comprehensive headless tests for 10 controls with enhanced ItemsSource and method testing (#18)
* Initial plan

* Add comprehensive tests for 5 controls: Avatar, Clock, ClockTicks, AspectRatioLayout, AspectRatioLayoutItem

Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>

* Complete comprehensive headless tests for all 10 controls - added 72 more tests

Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>

* Add requested test cases for MultiComboBox and TreeComboBox - ItemsSource, Remove, Clear, hierarchical data

Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>

* test: open dropdown to trigger materialization.

* test: set CurrentCulture to en-US for calendar view tests

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>
Co-authored-by: rabbitism <dongbin@irihi.tech>
2025-08-02 17:12:06 +08:00
Dong Bin
2a0ee06bf1 Add comprehensive test coverage for many controls (#737)
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2025-07-30 16:25:13 +08:00
Dong Bin
b7d6e70684 feat: add test for LineCount. 2025-07-17 18:48:07 +08:00
Zhang Dian
1184796604 Merge pull request #701 from irihitech/navmenu
NavMenu: SelectionChanging Event
2025-07-11 14:48:33 +08:00
rabbitism
cbf88a1aea test: add headless test for canselect handling. 2025-07-11 11:26:05 +08:00
Dong Bin
d470488c76 test: mvvm tests. 2025-07-10 11:39:45 +08:00
Dong Bin
d360ca9ef0 feat: rename AnchorId to Id and add TopOffset property. Add headless tests. 2025-07-10 11:21:47 +08:00
Dong Bin
fd27a7d429 feat: ensure initial state is respected in EnumSelector 2025-05-14 23:02:30 +08:00
Dong Bin
3dd15f57e3 fix: fix testing. 2025-02-27 18:47:59 +08:00
Dong Bin
2b344188eb fix: fix nullable annotations in headless test project. 2025-02-27 17:15:40 +08:00
Dong Bin
50ac16ff23 fix: fix various nullable warning issues in test project. 2025-02-27 16:40:15 +08:00
Dong Bin
55031c58c7 Merge pull request #566 from irihitech/page
Fix pagination initialization issue.
2025-02-27 14:10:50 +08:00
Dong Bin
021225dc1c test: add tests for command and event. 2025-02-21 02:11:42 +08:00
Dong Bin
6808f6d61d test: add pagination tests. 2025-02-21 01:41:50 +08:00
Dong Bin
fa86d34e2b fix: fix a ut after behavior change. 2025-02-19 22:28:26 +08:00
Dong Bin
27375f722e fix: completely fix timepicker racing issue. 2025-02-18 18:02:37 +08:00
Dong Bin
e062efead0 test: add datepicker test, make DatePicker focusable, change many behaviors. 2025-02-18 01:33:04 +08:00
Dong Bin
8cd3d1e031 test: WIP datepicker test. 2025-02-17 22:52:10 +08:00
Dong Bin
cadccfd268 feat: timepickerpresenter selection tests. 2025-02-17 19:35:14 +08:00
Dong Bin
c97476e1e8 test: WIP fix testing in ubuntu. 2025-02-17 14:55:05 +08:00
Dong Bin
afd5449f5b test: WIP, fix an issue when passing year event. 2025-02-17 03:03:27 +08:00
Dong Bin
051482de57 test:WIP add tests. Change decade context end date. 2025-02-17 01:39:39 +08:00
Dong Bin
4893e6efb4 fix: fix drawer measure 2025-02-08 02:11:21 +08:00
Dong Bin
8dbdc95a9a test: add fail test. 2025-02-08 02:08:02 +08:00
Dong Bin
2ab46bd77e Merge pull request #544 from irihitech/avatar
Enhance Avatar & Badge
2025-01-17 16:10:12 +08:00
Zhang Dian
33bfd67833 feat: remove Template when Dot=True, add Badge Tests, format Badge class. 2025-01-16 18:31:03 +08:00
望尘空忧
87060da654 Add:OverlayFeedbackElement.ClosedEvent fixed HeadlessTest. 2025-01-16 01:28:36 +08:00
望尘空忧
93fe82c100 Fixed: The propagation issue of OverlayFeedbackElement.ClosedEvent. 2025-01-16 01:10:33 +08:00
Dong Bin
4f5573830c Merge pull request #535 from irihitech/534-form
Fix Form A11y for dynamic generated FormItems.
2025-01-13 21:30:54 +08:00
Dong Bin
2132fd5762 Merge branch 'main' into tests 2025-01-10 22:10:28 +08:00
Dong Bin
796fe4983f test: fix test case 2 2025-01-10 21:58:19 +08:00
Dong Bin
b707a2ebda fix: fix accessibility for dynamic generated form. 2025-01-10 21:49:56 +08:00
Dong Bin
47b39b9e74 test: dynamic form a11y failure. 2025-01-10 21:27:30 +08:00
Dong Bin
d7572721a4 test: add static a11y test. 2025-01-10 21:13:37 +08:00
Zhang Dian
5a038552e5 fix: fix ContextFlyout invalid issue & Simplify Button groups in MessageBox. 2025-01-09 23:14:29 +08:00
Dong Bin
c61d37e9e8 test: add banner test. 2025-01-03 20:04:13 +08:00
Dong Bin
d09431a9f5 test: AutoCompleteBox tests. 2024-12-31 18:49:07 +08:00
rabbitism
052adb5856 feat: add fail test. 2024-12-05 21:17:39 +08:00
rabbitism
0acc9c9f4d fix: fix various nullable issue. 2024-11-29 21:40:50 +08:00