AvaloniaUI / Avalonia

Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
https://avaloniaui.net
MIT License
25.39k stars 2.2k forks source link

Avalonia 12.0 cleanup list #12276

Open kekekeks opened 1 year ago

kekekeks commented 1 year ago

Tracking issue for API changes in the distant future, can be safely ignored until mid-2024

MrJul commented 1 year ago
robloo commented 11 months ago

This is a possibility

cc @workgroupengineering

maxkatz6 commented 9 months ago

Shape.StrokeDashArray should be of IList type, instead of AvaloniaList. This way we could reduce compositor subscriptions count by checking if stroke dash array implements INotifyCollectionChanged or not.

Right now, having AvaloniaList, code like `StrokeDashArray="10 5" will always require us to subscribe to the list changes.

workgroupengineering commented 9 months ago

Make DevToolsOptions a record and change the property setter in init.

maxkatz6 commented 4 months ago

Ideally, this https://github.com/AvaloniaUI/Avalonia/issues/4443 should be revisited as well. Even better if ContextMenu was removed from the main assembly.

robloo commented 1 week ago

protected virtual string? GetHelpTextCore(); should be protected abstract string? GetHelpTextCore();

See: https://github.com/AvaloniaUI/Avalonia/pull/17030#discussion_r1763462589