Conversation
对照参考视频实现字素级淡入、上弹回落与左挤位移,胶囊先向左拓宽再右移居中,延迟随离插入点距离传播。录音过程中保留取消/确认,且不再被音量帧清空 partial 文本。
This was referenced Sep 25, 2026
Collaborator
6 tasks
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.
摘要
Fixes #1093.
在录音胶囊中连续展示可配置的流式原文,让文字插入、分组左移、胶囊扩展与延迟回中并发衔接。例如连续收到“你”“你好”“您好”时,展示应保留全文并接受识别修正,避免只留下最新后缀。
修复 / 新增 / 改进
offset: 0契约发送全文快照,保留跨句前缀与识别修正。Qwen/StepFun 根据 item_id 忽略已完成句段的迟到 partial 和重复 completed。HistorySource::QuickNote反序列化兼容,修复旧历史导致整份列表读取、追加保存失败的问题;新增不改写原记录的兼容测试。TaskSpawner调度,稳定模式仍在结束后启动;修复跨平台严格检查暴露的问题并补充回归测试。兼容
DictationEngine::start_transcription_with_progress增加宿主任务调度参数,仓库内调用点同步更新。测试计划
以下结果来自 PR 头提交
7552be1e399d349ef67f8d0229f683779c1077ee:cargo test --locked -p openless-core --lib:838 通过,0 失败,1 忽略。cargo clippy --locked -p openless-core --all-targets -- -D warnings:通过。node node_modules/tsx/dist/cli.mjs src/lib/backendEvent.test.ts:通过。npm run build:通过。node scripts/insert-text-motion-h5.mjs:通过;覆盖三种胶囊样式、显示开关、20px 字号和长文本边界。回滚:按逆序回退本 PR 的 4 个提交。未更改用户历史文件。