fix(subscribeassistantenhanced): 统一配置页滚动条并恢复移动端修改计数 - #364
Merged
InfinityPacer merged 1 commit intoAug 2, 2026
Merged
Conversation
InfinityPacer
enabled auto-merge (squash)
August 2, 2026 17:40
InfinityPacer
deleted the
codex/fix/subscribeassistant-config-scrollbar-dirty-count
branch
August 2, 2026 17:42
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.
问题与背景
订阅助手配置页此前自行监听滚动事件并切换滚动条显隐样式,导致其视觉行为与主程序统一后的原生滚动条规则不一致。移动端配置项发生修改后,底部保存栏也只显示保存按钮,缺少待保存项数量,用户无法直接确认本次修改规模。
原因分析
scroll监听、空闲定时器和 WebKit/标准滚动条覆盖,覆盖了宿主提供的滚动条主题与浏览器原生行为。changedCount控制显示,但没有渲染该计数对应的状态文案。解决方案
IntersectionObserver保持不变。0.6.12,并在插件入口、package.v2.json和 README 中保持一致的发布说明。影响与风险
验证
.githooks/pre-pushscripts/plugin_coverage.py --base-ref origin/main:A 档覆盖率门禁通过,订阅助手增强版1342 passed,行覆盖率93.47%,方法覆盖率98.27%tests/run.py -q:v133 passed,v22207 passedyarn format:checkyarn lintyarn typecheckyarn test:coverage:37 passed,总覆盖率99.67%yarn buildpython -m json.tool package.v2.jsonpython -m compileall -q plugins.v2/subscribeassistantenhancedgit diff --check交付路径
本 PR 为
SubscribeAssistantEnhanced v0.6.12发版 PR。合并后由Plugin Releaseworkflow 创建 tag、GitHub Release 和 ZIP 资产。