Repository navigation
fix: replace error dialogs with OKToast and align image upload timeouts - #208
Merged
Merged
Conversation
5 tasks done
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.
变更说明 / Description
背景与动机 / Context and motivation
包管理导入失败仍弹出截图中的“请求失败”模态窗口;同类错误提示还分散在其他页面。MiniMax、Nanobanana 的参考图上传也没有传入宿主超时,仍使用默认读 20 秒、写 15 秒。
改动范围 / Changes
OKToast.error,不新增requestError调用;Compose 入口发出提示后消费一次错误状态。ErrorDialog.kt、其全部引用及旧的 dismissErrorDialog 命名。兼容性与风险 / Compatibility and risks
提示改为非模态,需要随新版 APK 生效。保留确认、编辑、下载进度和用户主动打开的错误详情界面。脚本沿用既有 API 地址、表单及响应解析,只延长此前受宿主短超时限制的上传请求;运行参数和数据格式保持兼容。
关联 Issue / Related issue
N/A:维护者要求统一截图同类错误提示,并排查同源生图脚本的上传超时。
验证方式 / Verification
证据 / Evidence
修改计数和完整脚本审计见本 PR 附带的审计文档。Android 界面验证以远端 CI 和后续设备验证为准,不将静态审计当作设备实测。
检查清单 / Checklist