Repository navigation
fix: 修复专辑搜索取消与账号切换空目录 - #283
Closed
Aschenbath wants to merge 1 commit into
Closed
Aschenbath wants to merge 1 commit into
Aschenbath wants to merge 1 commit into
Conversation
Owner
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.
专辑内搜索未完成就返回时,旧请求仍会读取剩余分页;首次载入目录时切换账号,又会丢弃旧结果却不加载新目录,留下空页面。现在退出页面或切换账号会取消目录请求,账号切换后清除旧搜索和选择并重新载入,旧任务结束也不会覆盖新目录的加载状态。
搜索固定使用提交时的关键词,等待期间编辑输入框不会改变本次搜索结果。
验证:8 个临时组件场景通过,使用真实客户端配合模拟 HTTP,覆盖请求取消、账号切换、完整搜索、关键词修改、范围下载与排序期间切换账号;
dart analyze lib、格式及git diff --check通过。与 PR #282 的合并检查无冲突。Android CI 已通过,包含三个架构的原生工具及 APK 编译。