feat(msgbox): 重构消息弹窗服务#3267
Draft
whitecat346 wants to merge 3 commits into
Draft
Conversation
Contributor
审阅者指南引入了一个事件驱动、支持 MVVM 的消息框基础设施,由基于通道的服务和 UI 端 actor 提供支持,并更新了配置保存错误处理逻辑,使其使用新的请求模型和原始字符串字面量。 文件级更改
技巧与命令与 Sourcery 交互
自定义你的体验访问你的 控制面板 以:
获取帮助Original review guide in EnglishReviewer's GuideIntroduces an event-driven, MVVM-ready message box infrastructure backed by a channel-based service and a UI-side actor, and updates config save error handling to use the new request model and raw string literals. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
还在编写阶段,等待其他人把迁移和MVVM部分写完
这个PR提供了一个新的事件驱动的消息弹窗系统,并重构了之前的消息弹窗为MVVM模式。
Summary by Sourcery
引入基于事件驱动、服务化的消息框系统,并将其集成到现有的配置错误处理流程中。
新功能:
MsgBoxService,提供异步和同步 API,通过基于通道的请求/响应模型显示消息框。MsgBoxActor,在 WPF UI 线程上渲染和管理消息框控件,并支持取消和超时。改进:
Original summary in English
Summary by Sourcery
Introduce an event-driven, service-based message box system and integrate it with existing configuration error handling.
New Features:
Enhancements: