Repository navigation
feat: 会战准备面板 + 日程通知巡检/弹窗/高度修复 - #23
Merged
Merged
Conversation
- 开启通知: 不 await Notification.requestPermission——浏览器权限气泡期间 await 挂着、勾选框不动,用户没注意到气泡时像卡死(关闭不弹权限所以秒回)。 勾选立即回显,权限结果由通知触发时再查 - 类别清单 13→12 并重排: 深渊讨伐战/新斗技场/公会战/活动/扭蛋/庆典/ 免费十连/赛马/季卡/驾车游/特别地下城/次元断层 - 女神祭并入季卡(原从活动拆出的前端口径改向);季卡/驾车游恢复为独立类别 - loadSchedulePrefs 迁移旧存档: 女神祭→季卡、季卡驾车游→季卡+驾车游, 已勾选项不静默失效
面板从工具栏按钮下方展开,起点偏下时固定 70vh 上限会超出窗口底 (70vh 只看视口比例不看面板起点)。打开时量按钮底到窗口底的剩余 空间,与 70vh 取小;超出部分照旧走面板内滚动条
onClick 测量有两个天生缺陷:开面板首帧仍用旧值、窗口/滚动变化不重测。 zag popper 本就在 positioner 上实时维护 --available-height,自定义属性 随子元素继承,Content 直接 min(70vh, var(--available-height, 70vh)), 任意窗口尺寸/滚动位置下都不会超出视口
- 会战准备抽屉面板(账号页右侧手柄进入):本期会战作业对照名单(按刀型筛选聚合、 可排序)、一键拉5星/最高练度/穿会战EX装(可勾选自动) - 推荐刀:后端全量数据常驻展示,阶段/BOSS/刀型/排序/组数/支援开关全部即时筛选; 每组3刀、组内角色不重复实时分组;行勾选+组内一键复制文本(含作业视频链接) - 会战开放日联动日程通知:到达设定提醒时刻自动拉取作业数据并按顺序执行勾选任务 (每天至多1次,距手动拉取2小时内让路) - 日程通知巡检改为每天提醒时刻一次,未成功弹出才重试 - 其余:类型补全(ModuleResultStatus 六态)、结果详情改走 do_single 返回的 url
sakurairsora
force-pushed
the
clan-prep
branch
from
October 5, 2026 16:27
43e0c60 to
82d489a
Compare
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.
新增:会战准备面板
——该功能为以前的issues就提过的会战接口。
cc004/autopcr#311
也算是自己动手满足当时的愿望,特别是给角色自动穿会战装备的部分。
其他
依赖