Commit Graph
28 Commits
Author SHA1 Message Date
chinboy fd93dcb43f perf(Switch): reduce loading and transition lifecycle overhead
ToggleSwitchShowCase materializes 13 Switch controls in the measured Gallery shape. Navigation/materialization runs when the user opens the Switch showcase; loading animation/render paths can run repeatedly while a Switch is loading.

Avoid duplicate transition lifecycle overrides, keep the loading cursor override scoped to loading state, cache the loading indicator pen, and skip wave playback when wave effects are disabled.

Verification: dotnet build tools/performances/AtomUI.Performance/AtomUI.Performance.csproj -c Debug --framework net10.0; dotnet run --project tools/performances/AtomUI.Performance/AtomUI.Performance.csproj -c Debug --framework net10.0 --no-build -- --verify-switch-states.
2026-05-23 11:37:26 +08:00
chinboy 4e94dd92fa chore(ToggleSwitch): enable theme and fix code style 2026-05-02 21:58:29 +08:00
chinboy 6325eaedc2 refactor(Switch): migrate Switch module to Avalonia 12 2026-04-29 15:45:17 +08:00
CHINBOY 5cf6893e08 The AtomUI kernel has completed basic adaptation for Avalonia V12. 2026-04-28 18:25:30 +08:00
chinboy 27f9e5b6b8 fix: replace direct transition enabling with UI thread posting for improved responsiveness 2026-04-23 15:33:04 +08:00
chinboy cb129f5d4f fix(Switch): migrate SwitchKnob transitions to XAML and fix animation on pointer release
- Move SwitchKnob transitions from C# code to XAML theme using style selector
- Remove ConfigureTransitions, OnLoaded/OnUnloaded lifecycle management
- Fix Switch animation not smoothly transitioning back to circle on pointer release by deferring KnobSize update
- Move PixelPointTransition and RectTransition to Animations/Transitions directory
- Update TransitionsRefactoringPlan.md progress tracking
2026-04-19 22:15:45 +08:00
chinboy 768c8f494c Refactor(Bindings): Refactor Switch bindings 2026-04-05 15:33:58 +08:00
chinboy aca036cd04 Refactor(TokenSystem): Add GetTokenKindType method 2026-04-03 22:29:44 +08:00
chinboy 26d0545811 Refactor Token resource binding 2026-04-03 15:50:33 +08:00
chinboy d648447fb4 Refactor(CheckBox): Refactor checkbox -> AtomUI.Controls 2026-04-01 15:37:35 +08:00
chinboy 7697d6a298 Refactor(ControlTokenResourceScopeHost): Add ControlTokenResourceScopeHost 2026-04-01 12:06:48 +08:00
chinboy 3e56c9b233 Feature(Transfer): Add Transfer Token 2026-03-10 13:12:02 +08:00
chinboy 9ba7fa59c8 Feature(Form): Add IFormItem support for Slider 2026-03-09 17:56:24 +08:00
chinboy c6cd27b61c Feature(Form): Add disabled style for Form 2026-03-03 16:32:07 +08:00
chinboy e332012fab bugfix(Animation): Fix Infinity animation runasync bug 2026-01-12 11:08:46 +08:00
chinboy 2ae4cc0bdc Fix OnApplyTemplated event handler binding bug 2025-12-24 17:03:18 +08:00
chinboy 057f61de55 Refactor IMotionAwareControl 2025-12-18 10:58:47 +08:00
chinboy 469dfcadb9 Fix Window TitleBar double click bug 2025-12-09 21:22:17 +08:00
chinboy 5e4d32ae44 Refactor Property Changed name 2025-12-05 19:17:50 +08:00
chinboy e31ce5c452 Refactor IconPresenter 2025-11-28 10:18:31 +08:00
chinboy c3acbaea4f Refactor Icon
remove NormalFilledBrushProperty ActiveFilledBrushProperty SelectedFilledBrushProperty DisabledFilledBrushProperty
2025-11-26 16:27:51 +08:00
chinboy c8d8ec05f4 Refactor Switch icon 2025-11-25 15:52:33 +08:00
chinboy 8a8d4b88fa Refactor Dialog Icon 2025-11-25 15:08:30 +08:00
chinboy 68462ce6e0 Add Description DesignToken 2025-11-22 16:35:33 +08:00
chinboy 60463204f5 Refactor Icon Generator 2025-11-18 15:53:06 +08:00
chinboy edbc9b07b0 Refactor AtomUI.Controls -> AtomUI.Desktop.Controls 2025-11-18 09:44:31 +08:00
chinboy 07e824cdf7 Merge AtomUI.Theme into AtomUI.Core 2025-11-17 23:37:31 +08:00
chinboy 198aa57bcb Refactor AtomUI nuget package name 2025-11-17 18:12:48 +08:00