IOS-INFO-009 P0 | 阅读位置采集适配器 【审计: 部分存在,需统一payload】 #74
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
审查
updatePosition 已有 2s 防抖。需改造成标准 ReadingPositionPayload。
支持: Markdown→blockId+scrollProgress, Text→lineNumber+scrollProgress, PDF→pageNumber+pageProgress+overallProgress, Image→zoom+offset, EPUB→chapterId+progress。camelCase。clamp 0~1。退出前强制提交。
IOS-INFO-008 P0 | 阅读位置采集适配器to IOS-INFO-009 P0 | 阅读位置采集适配器 【审计: 部分存在,需统一payload】完成报告
交付
Features/MaterialReader/ReadingPositionAdapter.swift— 统一位置采集适配器:支持的 variant:
Clamp 0~1 —
clamp()处理 NaN→0, <0→0, >1→1MaterialReaderView 已切换 —
reportScrollPosition使用ReadingPositionAdapter.fromBlockScroll()