Skip to content

神奇的东西#8

Merged
ShihaoShenDev merged 16 commits into
ShihaoDevLab:avaloniafrom
ShihaoShenDev:avalonia
May 16, 2026
Merged

神奇的东西#8
ShihaoShenDev merged 16 commits into
ShihaoDevLab:avaloniafrom
ShihaoShenDev:avalonia

Conversation

@ShihaoShenDev
Copy link
Copy Markdown
Collaborator

纯ai石锤了

ShihaoShenDev and others added 16 commits May 10, 2026 09:30
…d-multilingual-support

feat: add Chinese/English UI language support

Co-authored-by: ShihaoShen-Bot <bot@shihaoshen.qzz.io>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…d-workflow-for-auto-build-and-release

Add GitHub Actions workflow for automated build and release

Co-authored-by: ShihaoShen-Bot <bot@shihaoshen.qzz.io>
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
feat: 添加 Qoder AI 助手和自动代码审查工作流

Co-authored-by: ShihaoShen-Bot <bot@shihaoshen.qzz.io>
… functionality

- Updated project to target .NET 11.0.
- Improved `CanvasService` to handle bitmap saving more efficiently, including null checks and unique filename generation with a counter.
- Enhanced `MainWindowViewModel` to manage adaptive color application and prevent conflicts with manual color changes.
- Added a new `UiLanguageDisplayConverter` for better language display in the UI.
- Updated XAML for `MainWindow` to utilize the new converter in the language selection ComboBox.
- Refactored canvas clearing logic in `MainWindow.axaml.cs` to improve performance and reliability.

Co-authored-by: ShihaoShen-Bot <bot@shihaoshen.qzz.io>
- Update TargetFramework to net10.0 to match SDK.
- Fix tool switching logic in MainWindowViewModel to ensure state consistency.
- Use near-transparent brush for initial background to ensure hit-testing.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Key features implemented:
- Fixed potential race condition in CanvasService by making _fileCounter static to ensure unique filenames across instances
- Enhanced MainWindow.axaml.cs to safely access AvaloniaSkiaInkCanvas property and add proper null checks
- Improved error handling in canvas save functionality with better exception management and user notifications
- Added robust canvas clearing mechanism with multiple fallback strategies for different ink canvas states
- Updated view model binding to properly handle property change subscriptions and prevent memory leaks
Update from task cd8a7361-93b3-44e0-8f26-e313ebe467cc

Co-authored-by: ShihaoShen-Bot <bot@shihaoshen.qzz.io>
- Fix invalid .NET 11.0 target framework to .NET 8.0 (only .NET 8 SDK installed)
- Remove 6x BOM sequences in MainWindowViewModel.cs that cause compilation errors
- Downgrade FluentAvaloniaUI to 2.0.5 for .NET 8.0 compatibility
- Fix memory leak: previous ViewModel events were never unsubscribed due to incorrect null check ordering
- Fix async void anti-pattern in SaveCanvas() by converting to async Task with Func<Task>
- Clear old ViewModel action references on DataContext change to prevent dangling delegates

Co-Authored-By: Oz <oz-agent@warp.dev>
…915270342190

Fix build configuration and tool switching logic

Co-authored-by: ShihaoShen-Bot <bot@shihaoshen.qzz.io>
fix: resolve multiple critical bugs (target framework, memory leak, async void, BOM corruption)

Co-authored-by: ShihaoShen-Bot <bot@shihaoshen.qzz.io>
@ShihaoShenDev ShihaoShenDev merged commit c14b3b1 into ShihaoDevLab:avalonia May 16, 2026
1 check failed
ShihaoShenDev added a commit that referenced this pull request May 23, 2026
…27908

Setup Qoder AI Workflow

Co-authored-with: ShihaoShen-Bot <bot@shihaoshen.qzz.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants