Commit Graph

1588 Commits

Author SHA1 Message Date
Zhang Dian
47ae3ab018 Merge pull request #809 from irihitech/upgrade_11.3.7
Update Avalonia version to 11.3.7 across project files
2025-11-11 14:10:04 +08:00
Dong Bin
3c29764af4 test: enhance accessibility tests for form controls 2025-11-07 23:18:19 +08:00
Copilot
6941cef2a7 Add Int64Displayer control for long type support (#811) 2025-11-07 21:35:52 +08:00
Dong Bin
e46a6edbeb chore: update Avalonia version to 11.3.7 across project files 2025-11-05 01:33:20 +08:00
Zhang Dian
d495c98967 feat: implement JumpTo command in ApplicationViewModel and update navigation handling. (#803) 2025-10-23 14:58:22 +08:00
Copilot
7c7701aade Add Chinese README with cross-language navigation links (#801)
* Initial plan

* Add Chinese README with cross-links

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

* chore: update Chinese README for clarity and accuracy

---------

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: Dong Bin <popmessiah@hotmail.com>
2025-10-22 21:05:57 +08:00
Copilot
9c014f37be Improve Introduction page with condensed layout and 20+ diverse controls (#790)
* Initial plan

* Improve Introduction page with diverse simple controls

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

* Make layout more condensed and add requested controls

- Reduced spacing and padding throughout (20->12 margin, 16->10 padding, 8->6 spacing)
- Reduced section title size (16->14)
- Changed from 2-column to 3-column grid layout for better space utilization
- Added all requested controls: IPv4Box, MultiComboBox, MultiAutoCompleteBox, NumericUpDown, RangeSlider, TagInput, TreeComboBox, DateRangePicker, DateTimePicker, TimeRangePicker, ToolBar, Marquee
- Updated ViewModel with properties for new controls
- Made controls smaller (using Small classes where available)

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-10-22 21:01:30 +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
Juster Zhu
c6ac019a4e fix: PathPicker's File Filtering Function malfunctions (#786)
* fix: PathPicker's File Filtering Function malfunctions

Regular expression validation for adding parameters; the sample reference content is as follows:

[Name,Pattern] → True
[123,.exe,.pdb] → True
[All] → True
[ImageAll] → True
[11,*.txt] → True
*.123 → False
*.txt → False
.png → False
[*.txt] → False
[.txt] → False
[a] → True
[a,b] → True
[a,b,c] → True
[a,*] → True
[a,.] → True
[*] → False
[.] → False
[a,] → False
[,a] → False
[] → False
[a,b,] → False
[a,,b] → False
[a*b] → False
[a.b] → False

* Add PathPicker regex validation and headless tests

Introduces regex-based validation for the PathPicker FileFilter property, supporting both NETSTANDARD2_0 and NET8_0 with conditional compilation. Adds headless UI tests and supporting test views to verify correct and incorrect filter patterns.

* Refactor PathPicker tests and update accessibility

Moved PathPicker unit tests from HeadlessTest.Ursa to Test.Ursa, removing UI-dependent test files and replacing them with direct unit tests for ParseFileTypes. Updated PathPicker.cs to make ParseFileTypes internal for improved testability and adjusted regex method accessibility. Updated project file to remove references to deleted test files.

* Update HeadlessTest.Ursa.csproj

* Update src/Ursa/Controls/PathPicker/PathPicker.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-21 23:03:11 +08:00
Reidea
923e502288 Add Russian local to the resources. (#796) 2025-10-18 01:22:23 +08:00
Copilot
cd920d8b45 Replace Avalonia.ReactiveUI with ReactiveUI.Avalonia to use newer ReactiveUI version (#795)
* Initial plan

* Replace Avalonia.ReactiveUI with ReactiveUI.Avalonia to use newer ReactiveUI version

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

* Update ReactiveUI.Avalonia version to 11.3.0 as requested

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-10-14 11:29:06 +08:00
Dong Bin
b523329339 Merge pull request #793 from irihitech/copilot/update-coverlet-collector
Update coverlet.collector to 6.0.4
2025-10-12 23:37:56 +08:00
copilot-swe-agent[bot]
4d5ff8f8c4 Update coverlet.collector to 6.0.4
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>
2025-10-12 14:24:21 +00:00
copilot-swe-agent[bot]
a85f994d60 Initial plan 2025-10-12 14:19:43 +00:00
Dong Bin
a5e1d6efa4 Merge pull request #785 from irihitech/fix-784
Fix UrsaWindow memory leakage.
2025-09-28 12:35:16 +08:00
Dong Bin
fca5c5d0fd fix: refactor window state handling and improve visibility updates 2025-09-27 23:41:02 +08:00
Zhang Dian
669fca2457 Merge pull request #778 from irihitech/copilot/fix-769
Replace AutoCompleteBox demo data with shared ControlData model
2025-09-25 21:17:23 +08:00
Zhang Dian
82532a29b1 Merge pull request #780 from irihitech/copilot/fix-779
Add comprehensive GitHub Copilot instructions for Ursa.Avalonia development
2025-09-25 21:07:31 +08:00
Dong Bin
381ea0849f misc: bump version. 2025-09-21 23:24:12 +08:00
copilot-swe-agent[bot]
c51cbc4bd0 Create comprehensive .github/copilot-instructions.md with validated commands
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>
2025-09-19 11:05:27 +00:00
copilot-swe-agent[bot]
94dba264f1 Initial plan 2025-09-19 10:54:32 +00:00
copilot-swe-agent[bot]
75d5e86877 Replace AutoCompleteBox demo data with ControlData
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>
2025-09-19 10:23:11 +00:00
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