fix(android): 云笔记提交失败时保留口述内容 - #1148
Draft
cursor[bot] wants to merge 1 commit into
Draft
cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
Core 在 webhook 返回前就删除云笔记的历史和录音。地址未配置、网络失败或 HTTP 错误时,识别文本只存在于完成事件里,原来的错误提示会把它丢掉。失败时改写入键盘剪贴板,成功提交仍不留本地副本。 Co-authored-by: lubaiqing9 <lubaiqing9@gmail.com>
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 #。
右划云笔记听写结束后,如果 webhook 没配置、网络失败或返回非 2xx,口述文本会被丢掉。Core 在完成事件到达输入法之前已经删除历史和录音,界面只显示错误,不再保留这段文字。
修复 / 新增 / 改进
兼容
测试计划
node openless-all/app/scripts/android-cloud-note-delivery-contract.test.mjsCloudNoteDeliveryTest会随 Android 构建复制进测试源集。