Repository navigation
fix(eew): adapt map legends to active warnings - #656
Merged
Merged
Conversation
Platform: all Fix(zh-Hant): 即時地震監視器在地震速報期間改用震度階圖例 Fix(en-US): the live earthquake monitor uses the intensity scale during early warnings Optimization(zh-Hant): 即時與重播的地震速報圖例只顯示到最高預估震度 Optimization(en-US): live and replay early-warning legends stop at the maximum expected intensity
Codecov Report❌ Patch coverage is
☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
whes1015
approved these changes
Nov 4, 2026
whes1015
left a comment
Member
There was a problem hiding this comment.
即時監視器只在 feed 為 live、且還有未取消速報時改用震度階,並停在目前最高預估震度;結束後回到地震儀連續色階。過期或離線不會畫成速報圖例。重播用的是該次未取消警報的最高震度。info.max 為 0 時圖例會被抬到 1 級,不擋合併。CI 全過,跟 main 齊平。可以合。
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.
這個 PR 做了什麼
修正即時地震監視器在真實 EEW 發布期間仍顯示地震儀連續色階的問題,並精簡即時監視器與地震報告重播的 EEW 圖例,避免圖例占用過多地圖空間。
相關 issue
EEW圖例問題
EEW時圖例優化
怎麼驗
檢查清單
tool/check/commits.sh origin/main..HEAD通過—— commit 訊息就是更新日誌,格式見 commit.md
mise exec -- flutter analyze與mise exec -- flutter test通過AppLocalizations,沒有寫死gh pr checks:每一項都是 pass 或 skipped)—— 沒過不能合併,見 pr.md
AppSpacing/AppRadius/AppMotion,深色模式看過,文字對比度可接受