Commit Graph

1529 Commits

Author SHA1 Message Date
Zhang Dian
f997bbc29b misc: fix the order of Resources. 2025-09-16 21:05:15 +08:00
Zhang Dian
0dfb9f2214 misc: remove ElasticWrapPanel theme file. 2025-09-16 20:50:26 +08:00
Zhang Dian
9820cf1d44 misc: clean up XAML namespaces. 2025-09-16 20:49:05 +08:00
Zhang Dian
83e3334c71 misc: simplify Shared namespace reference. 2025-09-16 20:23:41 +08:00
Zhang Dian
c45fb9d15e Merge pull request #766 from irihitech/fix-765
Improve DateRangePicker inner element corner radius.
2025-09-16 19:10:23 +08:00
Dong Bin
7f118d7b1c Merge pull request #770 from yangjieshao/main
一些零碎的代码整理
2025-09-16 13:56:05 +08:00
Dong Bin
88a295275c Update src/Ursa/Controls/ElasticWrapPanel.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-16 13:20:29 +08:00
杨劼
0d98aa899d 删除注释的代码 2025-09-16 11:29:56 +08:00
杨劼
5c501c67fe 把 简化 Null 检查 和 使用模式匹配 加入忽略的warn 2025-09-15 17:40:24 +08:00
杨劼
890ab9c2e8 修复一处 C29236 (编译时需要绑定 lambda 表达式至少 100 次。请考虑使用显式参数类型声明 lambda 表达式,如果包含的方法调用是泛型的,请考虑使用显式类型参数。)
去除了一处完全无意义的新建 WrapPanel
去除了一处完全无意义的 获取 HotkeyConfiguration
Package.props 增加了 NoWarn 去除一下不必关心的 warn
2025-09-15 17:13:04 +08:00
rabbitism
5470fe3e5f fix: update CornerRadius bindings in DateRangePicker for better template support 2025-09-12 08:20:39 +08:00
Dong Bin
e163d671ab Improve AutoCompleteBox focus behavior for 11.3.x (#761)
* feat: improve AutoCompleteBox focus behavior for 11.3.x

* fix: open dropdown on tab navigation regardless of navigation method

* feat: update per copilot comment.

* feat: add a flag to control focus.

* fix: fix naming.
2025-09-10 21:30:56 +08:00
Dong Bin
7e35b880bb Merge pull request #759 from irihitech/tag-panel
New Panel: Wrap panel with a trailing item
2025-09-03 21:37:18 +08:00
Dong Bin
b6b8453cc4 chore: remove pull_request_target from CI configuration 2025-09-03 21:22:34 +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
Dong Bin
37aa84edfb feat: initial implemention. 2025-09-03 18:17:56 +08:00
Dong Bin
891228cdb1 test: improve coverage report. (#751) 2025-09-03 18:15:59 +08:00
Dong Bin
c62015a70a Merge pull request #752 from yangjieshao/main
修复了NumPad对NumericUpDown和IPv4Box的支持
2025-08-29 17:07:03 +08:00
Dong Bin
8456148acf Merge pull request #756 from irihitech/fix-multicombobox-items-in-axaml
feat: simplify closable tag.
2025-08-29 01:37:10 +08:00
Dong Bin
18e9fbe8d5 Update src/Ursa/Controls/ComboBox/MultiComboBoxSelectedItemList.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-29 01:34:11 +08:00
Dong Bin
da93b01c14 Merge pull request #749 from Samuel-B-D/fix-multicombobox-items-in-axaml
Fix MultiComboBox to works with items added in axaml
2025-08-29 01:30:52 +08:00
杨劼
f9cbba5419 修复了 https://github.com/irihitech/Ursa.Avalonia/issues/753 当有多个外部 button绑定 不同类型的 NumericUpDown控件的时候,点击button会报错的问题
修正 IPv4Box.cs NumPad.cs NumPad.axaml 文件的编码格式为 utf-8

Semi.Avalonia.Demo.Desktop.Program 增加 SupportedOSPlatform
2025-08-28 11:34:24 +08:00
Dong Bin
24dda1ebaf feat: simplify closable tag. 2025-08-27 23:37:23 +08:00
Samuel Bergeron-Drouin
ca3e78c3a7 Fix runtime crash when adding controls (anything other than MultiComboBoxItem with text content) to a MultiComboBox in axaml 2025-08-25 10:30:56 -04:00
杨劼
f9fb8cb8ae NumPad 修复了 官方NumericUpDown对NumPad不响应的问题
NumPad 修复了 当Target不是TextBox的时候,NumPad上的Delete和Back不响应的问题
IPv4Box 修复了 由于失去焦点所以对 NumPad 不响应的问题
2025-08-20 12:19:03 +08:00
Dong Bin
eb8383f2ae Merge pull request #609 from WCKYWCKF/pr5
Add Animation to NavMenu
2025-08-20 01:27:47 +08:00
Dong Bin
d7794c4280 Merge pull request #750 from Soar360/pagination
更新 Pagination.cs 中 CurrentPage 属性注册
2025-08-19 12:28:58 +08:00
Soar360
37d359e73d 更新 Pagination.cs 中 CurrentPage 属性注册
修改 CurrentPage 属性的注册方式,新增 defaultBindingMode 参数以支持双向绑定。其他常量定义保持不变。
2025-08-19 11:24:37 +08:00
Samuel Bergeron-Drouin
65e94478b8 Fix the behavior when using ItemsSource 2025-08-18 15:43:53 -04:00
Samuel Bergeron-Drouin
ff3020223c cleaner demo 2025-08-18 15:14:56 -04:00
Samuel Bergeron-Drouin
976ddc4a5e Fix MultiComboBox to works with items added in axaml 2025-08-18 15:08:42 -04:00
望尘空忧
c631c9a871 feat:Add several predefined SizeAnimations. 2025-08-18 23:11:02 +08:00
望尘空忧
2345c8a9de fix:Fix the issue where SizeAnimationHelper.EnableAnimation is not properly loaded when used via the styling system. 2025-08-18 23:09:51 +08:00
望尘空忧
df23e6263c misc:Rename WHAnimationHelper to SizeAnimationHelper to make its purpose immediately clear and eliminate any ambiguity caused by the cryptic “WH.” 2025-08-18 22:06:47 +08:00
望尘空忧
b9e104a8b8 feat:Redesign the usage pattern of WHAnimationHelper once more to deliver a superior axaml editing and consumption experience. 2025-08-10 16:37:03 +08:00
望尘空忧
c801c4eec4 misc:Refactor the WHAnimationHelper class structure to clearly define its responsibilities. 2025-08-10 00:00:30 +08:00
望尘空忧
bb7873ef66 feat:Implements subtle animations for the NavMenu in a non-intrusive way. 2025-08-09 23:10:47 +08:00
Dong Bin
88318336a4 test: add publish result back. (#743) 2025-08-06 11:57:51 +08:00
Dong Bin
a9305cbc61 Merge pull request #739 from WCKYWCKF/pr6
Fix Ursa.ReactiveUIExtension dependency version and project target framework recognition
2025-08-06 11:27:18 +08:00
Dong Bin
7640c7d80c test: permission. (#741) 2025-08-06 11:26:04 +08:00
望尘空忧
4a4e36d50d fix:Resolve Ursa.ReactiveUIExtension dependency version conflict.
fix:Fix Ursa project target framework detection in specific dev environments.
2025-08-05 16:16:26 +08:00
Zhang Dian
e97241a5bd Merge pull request #738 from rabbitism/main
Add test report and test for 10 controls
2025-08-04 15:19:27 +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
Copilot
e80bfa35a3 Add comprehensive test coverage reporting to GitHub Actions workflow (#16)
* Initial plan

* Add test coverage reporting to GitHub Actions workflow

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-08-02 15:56:00 +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
a868357cec Merge pull request #735 from EjiHuang/fix/duplicate-items-in-multicombobox
fix: Prevent duplicate items in MultiComboBox SelectedItems by adding…
2025-07-25 11:38:55 +08:00
ejihuang
bb16500f08 fix: Prevent duplicate items in MultiComboBox SelectedItems by adding existence check 2025-07-21 10:03:38 +08:00