Repository navigation
fix: 整体排查修复一批缺陷(v1.27.1) - #1
Merged
Merged
Conversation
…body 侧 data-gi 按实例下发配置,renderList 同步全部列表、点击委托与联动音轨按所属实例取对应;第二/之后的列表不再停留占位文本),开场白区块全部停用或缺失时不再注入运行时脚本/注册酒馆按钮/3 秒轮询;按钮模式输入序号恰好等于开场白数时误放行致 swipe_id undefined 切换失败(有效域改 0..N-1);更新日志行内容补 tx 宏双轨(预览不再恒显字面宏);主题主/强调/文字三色与 fontName 同信任面清洗(工程 JSON 分享路径的 </style> 逃逸不可达,克隆上清洗不污染工程数据);删除 BGM 无任何消费方的「酒馆命令集成」复选框(data-cmds 全仓无读取)。工具 UI:全局搜索替换补齐 7 个漏扫字段(eyebrow/leaveText/logo/hint/cover/cards/excludedTags)并新增开场白项封面音轨分支,「替换当前」补 pages/entries 分支(此前漫画页匹配静默失效、与替换全部行为不一致);组件库选择器改 closest 命中(点组件名加粗子元素此前无响应);统一模态每次弹出重挂 body 末尾置顶(搜索替换/写卡弹层同为 max z-index 且先入 DOM 时确认框被盖住);组件库/搜索替换/新建工程/写卡四个自绘弹层统一挂 .opg-ov,Ctrl+Z/Esc 守卫收编(undo 后弹层闭包写进已回退旧对象的数据丢失假象不可达,扩展环境 Esc 不再误关宿主 overlay);角色简介/图库/漫画 afterAdd 补预览与导出刷新;剪贴板 writeText 被拒回落 execCommand;漫画导入「应用到区块」快照改在写入后拍(先拍与栈顶相同被去重吞掉、写入态永久不可撤销恢复)。工具链:nh-lib applyPageFilter 位置/页码两套语义混用是根因,重写为缺口感知的 pickGalleryPages(CLI 与工具页页码语义对齐;带空格范围 1 - 20 不再被拆分器截成端点、页码缺口画廊全本导出不再丢尾页、--pages 解析为空显式报错而非静默全本);build.js watch 加进行中互斥 + dirty 补跑(并发 build 旧输出覆盖新输出);smoke-browser 异常中断回放补中断前页面报错。新增 11 项回归(493→504)。lint 通过、504 测试全过、构建与双冒烟通过、重建 dist/index.html;版本 bump 1.27.1
Deploying opening-page-generator with
|
| Latest commit: |
bf69d13
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f1942243.opening-page-generator.pages.dev |
| Branch Preview URL: | https://fix-v1-27-1-batch.opening-page-generator.pages.dev |
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.
概述
4 路并行审查扫全库(gen 生成引擎 / ui 核心 / 页面与工具模块 / 构建工具链),14 个候选逐一经代码路径核实,12 个真 bug 全部修复。基线 lint + 493 测试全绿起点,收尾全量闭环。
产物生成(gen)
body侧data-gi按实例下发配置,renderList同步全部列表、点击委托与联动音轨按所属实例取对应——第二/之后的列表不再停留占位文本、不再借用第一个实例的点击行为/封面/音轨script()返回空串,不再留下按钮注册与 3 秒轮询swipe_id: undefined切换失败,有效域改0..N-1tx宏双轨:预览不再恒显{{user}}字面宏fontName/bg 同信任面(工程 JSON 可分享),克隆上剔除<>"\,</style>逃逸不可达data-cmds全仓无读取)工具 UI
eyebrow/leaveText/logo/hint/cover/cards/excludedTags)+ 开场白项封面音轨分支;「替换当前」补pages/entries分支(此前漫画页匹配静默失效,与「替换全部」行为不一致)closest('[data-ci]')命中:点组件名(<b>子元素)此前无响应.opg-ov,Ctrl+Z/Esc 守卫收编——undo 后弹层闭包写进已回退旧对象的数据丢失假象不可达,扩展环境 Esc 不再误关宿主 overlayafterAdd补预览与导出刷新;剪贴板writeText被拒回落execCommand工具链
nh-lib的applyPageFilter位置/页码两套语义混用是根因,重写为缺口感知的pickGalleryPages:带空格范围1 - 20不再被拆分器截成端点、页码缺口画廊全本导出不再丢尾页、--pages解析为空显式报错而非静默全本(CLI 与工具页页码语义对齐)build.jswatch 加进行中互斥 + dirty 补跑(并发 build 旧输出覆盖新输出)smoke-browser异常中断回放补中断前页面报错验证
package.jsonbump 1.27.1,重建dist/index.htmlLimitations
/setinput、/send拼开场白原文的 STscript 转义问题未改(TAVERN_API.md 已注明推荐createChatMessages路径);同楼双标记双实例撞 id 依赖 AI 行为,工具侧 maxDepth 已缓解——两项均未在真机复现,维持现状