修复放学/课前时段无法获取课表及悬浮窗相关问题 - #282
Draft
CreeperAWA wants to merge 5 commits into
Draft
CreeperAWA wants to merge 5 commits into
CreeperAWA wants to merge 5 commits into
Conversation
调整了课表可用性校验逻辑,当处于上课或休息状态时,不再强制校验IsLessonConfirmed状态,解决放学和课前准备时段无法生成有效课表快照的问题。
CreeperAWA
marked this pull request as draft
September 17, 2026 15:34
当悬浮窗口不可见时先调用Show()显示窗口,再执行激活操作,避免激活隐藏窗口导致的异常或行为异常
CreeperAWA
marked this pull request as ready for review
September 17, 2026 15:45
CreeperAWA
marked this pull request as draft
September 17, 2026 15:48
将设置窗口展示逻辑拆分为独立的核心方法,提取授权失败后的预览显示逻辑,同时修复了联动隐藏后悬浮窗的显示判断问题,统一了异常提示信息
1. 删除了不再使用的 ClassIslandTimeUnconfirmed 错误码及其多语言资源 2. 简化了 ClassIsland 状态判断逻辑,移除基于未确认课程状态的错误返回 3. 添加课后时间跟踪逻辑以替代原有的时间未确认检查
1. 移除ISecurityVerificationPrompt接口中多余的TopLevel参数 2. 重构安全验证弹窗逻辑,使用专用宿主窗口替代全局临时窗口 3. 简化安全服务的接口调用,统一移除顶层窗口依赖 4. 调整测试用例以适配新的接口签名 5. 修复部分代码中的冗余逻辑和重复方法
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.
调整了课表可用性校验逻辑,当处于上课或休息状态时,不再强制校验IsLessonConfirmed状态,解决放学和课前准备时段无法生成有效课表快照的问题。
fix #278