perf: 讓站牌淡入動畫配合 ETA 載入 - #97
Closed
steventeng2022 wants to merge 2 commits into
Closed
steventeng2022 wants to merge 2 commits into
steventeng2022 wants to merge 2 commits into
Conversation
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.
站牌拓撲先回來時先保留清單但不立即觸發淡入動畫,改在即時 ETA 完成後才開始淡入,避免使用者先看到整排「載入中」而感覺 ETA 很慢。為避免慢速或失敗請求造成空白,仍保留 500ms 最大等待上限。新增回歸測試驗證 ETA 前透明度維持 0、ETA 到達後開始淡入,以及 500ms 上限。另已確認 main 的 6f550fa 與 smart_route_service_test 已實作並驗證末班駛離路線不會進入智慧推薦。驗證:route detail loading 與 smart route service 合計 26 項測試通過;修改檔案 dart analyze 無問題;git diff --check 通過。