Commit Graph

1566 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
130c4f7f14 Initial plan 2025-09-19 10:17:16 +00:00
Dong Bin
9611bf46ba Merge pull request #771 from yangjieshao/DialogControlClosed
增强 OverlayDialog 和 NumPad 的功能与交互体验
2025-09-19 18:15:35 +08:00
Dong Bin
baefa8c6eb fix: fix naming. 2025-09-19 18:12:42 +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
a0beef3d9a misc: remove assembly from XAML. 2025-09-19 14:52:35 +08:00
Dong Bin
b9cefe818f Merge pull request #773 from yangjieshao/fix_issues_590
修复 IPv4Box PinCode TimeBox  对 Delete 键的支持
2025-09-19 14:45:59 +08:00
Zhang Dian
5b804a9767 misc: refactor converters to inherit from MarkupValueConverter and update namespaces. 2025-09-19 14:44:19 +08:00
Zhang Dian
25d5e43781 misc: update converter namespaces and clean up code formatting. 2025-09-19 14:32:52 +08:00
Dong Bin
069d0bd54e Merge pull request #777 from yangjieshao/修复-Ursa.PrismDialogDemo
修复 PrismDialogDemo
2025-09-18 15:03:16 +08:00
Zhang Dian
700e512b8b Merge pull request #768 from irihitech/multi-auto
New Control: MultiAutoCompleteBox
2025-09-17 20:09:22 +08:00
杨劼
2625247f5a 修复 PrismDialogDemo
在 Ursa.PrismDialogDemo.csproj 中:
- 将 Semi.Avalonia 包版本从 11.1.0-rc2.1 升级到 11.2.1.9。
2025-09-17 14:36:43 +08:00
杨劼
9236b9f8c8 PinCode 去除 OnPreviewKeyDown 里无意义的 TextBox 创建 2025-09-17 14:09:19 +08:00
Dong Bin
5bb9fd735e Merge pull request #774 from yangjieshao/fix_issues_680
修复 ImageViewer.Source 设置为null会报错的问题
2025-09-17 12:08:09 +08:00
rabbitism
fe9cc21a65 Merge remote-tracking branch 'origin/multi-auto' into multi-auto
# Conflicts:
#	demo/Ursa.Demo/Pages/MultiAutoCompleteBoxDemo.axaml
#	demo/Ursa.Demo/ViewModels/MultiAutoCompleteBoxDemoViewModel.cs
#	src/Ursa.Themes.Semi/Controls/MultiAutoCompleteBox.axaml
2025-09-17 01:02:36 +08:00
Zhang Dian
0a84c79a15 misc: formatted codes of controls XAML. 2025-09-16 21:13:15 +08:00
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
rabbitism
f4cad108f4 fix: fix an empty selection handling. 2025-09-16 20:28:08 +08:00
Zhang Dian
83e3334c71 misc: simplify Shared namespace reference. 2025-09-16 20:23:41 +08:00
rabbitism
051710affe feat: throws when collection is not initialized. 2025-09-16 20:18:28 +08:00
rabbitism
d40c2c5c90 feat: improve accessibility. 2025-09-16 20:06:03 +08:00
rabbitism
0173ee7c9c feat: implement inner content interface. 2025-09-16 19:20:02 +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
Zhang Dian
68cdd4609f fix: remove MinHeight & fix TagInput Foreground. 2025-09-16 19:03:58 +08:00
rabbitism
7603206b3d feat: avoid adding new item when there is not selection in ListBox. 2025-09-16 18:35:21 +08:00
杨劼
be08931b47 修复 ImageViewer.Source 设置为null会报错的问题
修复 https://github.com/irihitech/Ursa.Avalonia/issues/680
2025-09-16 18:02:37 +08:00
杨劼
26f0a3a98d 修复 IPv4Box PinCode TimeBox 对 Delete 键的支持
#https://github.com/irihitech/Ursa.Avalonia/issues/590
2025-09-16 17:22:56 +08:00
杨劼
7145201077 增强 OverlayDialog 和 NumPad 的功能与交互体验
新增 OverlayDialogOptions.OnDialogControlClosed 委托属性,
支持自定义对话框关闭事件处理逻辑,并在 OverlayDialog 中
添加了相关事件绑定与解绑逻辑。

调整 NumPad 的显示与交互逻辑,确保在数字键盘关闭后,
目标输入控件能够重新获取焦点,优化用户体验。
2025-09-16 14:04:34 +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
13008225c0 test: add basic unit test, fix a search text issue. 2025-09-15 15:59:25 +08:00
rabbitism
1a9f2e9945 feat: cleanup code. add missing template parts. 2025-09-15 10:05:16 +08:00
rabbitism
214f86bb82 misc: format code. 2025-09-15 09:38:10 +08:00
rabbitism
ab8927d261 feat: add key down handling to MultiAutoCompleteBox for item removal on empty text 2025-09-14 22:09:48 +08:00
rabbitism
609607f68a feat: replace ItemsControl with MultiComboBoxSelectedItemList and add Remove command for selected items 2025-09-14 21:47:31 +08:00
rabbitism
298cc5db8b feat: add CornerRadius property to MultiAutoCompleteBox and improve focus handling logic 2025-09-14 19:20:16 +08:00
rabbitism
3b4ad2bccc feat: implement MultiAutoCompleteSelectionAdapter for enhanced selection handling 2025-09-14 18:43:21 +08:00
rabbitism
4f93801e77 feat: working on selection. add a demo to AutoCompleteBoxDemo to show the keyboard navigation actually changed selection. 2025-09-14 10:57:37 +08:00
rabbitism
8ec815c885 feat: improve demo. make textbox interactive. 2025-09-14 10:39:05 +08:00
rabbitism
9f71b5f382 feat: add demo page. 2025-09-14 10:00:23 +08:00
rabbitism
452e118644 WIP: start to implement template. 2025-09-12 16:28:15 +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
fa7891297b feat: implement SelectedItems property in MultiAutoCompleteBox and remove SelectedItem property 2025-09-05 00:01:12 +08:00
Dong Bin
9cee8d9341 feat: bring code from Avalonia to Ursa. 2025-09-03 22:50:32 +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