feat(user): 添加玩家聊天框静音与解除静音 - #129
Open
yourmoln wants to merge 1 commit into
Open
Conversation
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.
功能说明
实现假设清单
muteChat与unmuteChat表示成对的玩家聊天框覆盖项,切换时应先移除目标已有的成对覆盖项,再创建唯一的目标覆盖项。muteChat覆盖项。created时间中最新一项为当前状态;时间不可解析时保持服务端响应顺序并取最后一项。代码逻辑图
flowchart TD A[打开他人资料操作面板] --> B[按目标用户与当前会话读取覆盖项] B --> C{读取结果} C -->|失败| D[显示重试入口] C -->|成功| E[解析成对覆盖项的最新状态] E --> F[用户切换状态] F --> G[锁定重复操作] G --> H[移除目标已有成对覆盖项] H --> I[创建唯一目标覆盖项] I --> J{写入与上下文校验} J -->|成功且上下文有效| K[更新状态并显示成功提示] J -->|失败或上下文变化| L[重新读取远端权威状态] D --> B L --> B验证
:composeApp:desktopTest定向运行 API 契约、控制器状态转换与本地化测试:通过。:composeApp:compileKotlinDesktop:通过。:composeApp:desktopTest完整套件:功能分支 813 项中 1 项既有 Meetup 协程清理测试失败;干净upstream/newui对照运行在同一用例以相同异常失败。git diff --check:通过。