Skip to content

Refine release highlights and map rendering performance - #547

Merged
whes1015 merged 14 commits into
mainfrom
fix-android-initialization
Aug 21, 2026
Merged

Refine release highlights and map rendering performance#547
whes1015 merged 14 commits into
mainfrom
fix-android-initialization

Conversation

@whes1015

@whes1015 whes1015 commented Aug 20, 2026

Copy link
Copy Markdown
Member

這個 PR 做了什麼

  • 重構 26.1 更新重點頁面與 normal/advanced 內容,建立清楚的資訊層級,並只保留能由目前實作驗證的項目。
  • 降低首頁天氣動畫、圖表與重複繪製的閒置運算,固定的地理與渲染結果改為重用。
  • 重整地圖 raster 時序與快取流程:
    • 地圖移動或縮放期間清除風場粒子,結束後依最終視野重新產生。
    • 雷達與衛星只在目標影格的顯示層級 tiles 完整後切換,避免閃爍與時間混合。
    • 高速拖動時間軸時不載入略過的影格,放手後才處理最終位置。
    • 預熱優先填入顯示解析度與鄰近影格,並回收離開工作集的 L1 tiles。
  • 修正清除診斷紀錄與同步寫入同時發生時,新紀錄可能被較早清除作業刪除的競態。

相關 issue

怎麼驗

  • GitHub Actions 目前 6/6 checks 通過,包含 Android、iOS 與完整 CI。
  • tool/check.sh 通過;format、analyze、layering、l10n、storage、codegen 與完整測試套件皆無失敗。
  • iPhone 17 Pro 模擬器驗證雷達時間軸快速拖動、完整影格切換,以及移動/縮放後風場粒子重建。
  • release highlights 的 normal/advanced repository 與窄螢幕 widget tests 通過。
  • Android CI build 通過;本輪沒有連接 Android 實機,因此未宣稱硬體驗證。

PR 遠端目前仍以 106bd64e 為頂端。本機的連續高速拖動防卡死修正 727c4769 尚未 push,不包含在目前 7 commits 與遠端 checks 內。

檢查清單

  • tool/check/commits.sh origin/main..HEAD 通過
  • 每則 commit 各自只處理一件事
  • tool/check.sh 通過
  • 新的使用者可見字串均由既有本地化內容提供
  • release highlights 使用設計 token,窄螢幕測試無 overflow

Optimization(zh-Hant): 更新重點更容易快速閱讀,並只保留可確認的改動
Optimization(en-US): release highlights are easier to scan and only describe verified changes
Fix(zh-Hant): 清除紀錄後立即產生的新診斷不再被較早的清除作業刪除

Fix(en-US): diagnostics written immediately after clearing logs are no longer erased by the earlier clear
Optimization(zh-Hant): 首頁天氣動畫與圖表只在可見且資料就緒時更新,滑動更順暢並減少耗電

Optimization(en-US): home weather animations and charts update only when visible and ready for smoother scrolling and lower power use
Optimization(zh-Hant): 重複繪製與地理運算會重用固定結果,降低動畫與列表更新時的處理負擔

Optimization(en-US): repeated rendering and geographic calculations now reuse stable results to reduce animation and list-update overhead
Fix(zh-Hant): 地圖移動或縮放時會清除風場粒子,操作結束後再依最終位置重新產生

Fix(en-US): wind particles now clear while the map moves or zooms and regenerate at the final position when interaction ends
Fix(zh-Hant): 雷達與衛星時間軸只在目標圖磚完整後切換,避免閃爍與不同時間影格混合
Fix(en-US): radar and satellite timelines switch only after target tiles are complete, preventing flashes and mixed timestamps
Optimization(zh-Hant): 地圖預熱會優先填入顯示解析度與鄰近影格,提升重複滑動時的記憶體快取命中率
Optimization(en-US): map warming prioritizes the displayed resolution and nearby frames to improve memory-cache hits during repeated scrubbing
Fix(zh-Hant): 高速拖動雷達與衛星時間軸時不再載入略過的影格,放手後才載入最終位置
Fix(en-US): fast radar and satellite timeline scrubs no longer load skipped frames and load the final position only after release
Fix(zh-Hant): 連續高速拖動地圖時間軸時不再因重複載入影格而卡死
Fix(en-US): rapidly scrubbing the map timeline no longer stalls on repeated frame loads
@whes1015 whes1015 changed the title Fix android initialization Refine release highlights and map rendering performance Aug 20, 2026
Fix(zh-Hant): 拖動雷達、衛星與預報時間軸時會即時預覽已快取影格,不再讓地圖畫面停住
Fix(en-US): dragging radar, satellite, and forecast timelines now previews cached frames live instead of freezing the map
Optimization(zh-Hant): 雷達、衛星與預報時間軸停止後會預載更多前後影格,拖動預覽更連續

Optimization(en-US): radar, satellite, and forecast timelines preload more surrounding frames after settling for smoother scrubbing
Optimization(zh-Hant): 雷達、衛星與預報時間軸停止後會同時預載三個前後影格,等待時間更短

Optimization(en-US): Radar, satellite, and forecast timelines preload three surrounding frames at once after settling
New(zh-Hant): 高速拖動使時間軸暫停時會顯示提示,放慢速度後自動恢復

New(en-US): A warning now appears when rapid timeline scrubbing pauses and clears after slowing down
Fix(zh-Hant): 修正離開地圖後返回時可能卡住的問題
Fix(en-US): fix a freeze that could occur when returning to the map
Fix(zh-Hant): 修正重返地圖時卡住或顯示黑色雷達瓦片
Fix(en-US): fix the map freezing or showing black radar tiles after returning
Optimization(zh-Hant): 雷達時間軸預載更多相鄰影格,拖曳播放更連續
Optimization(en-US): the radar timeline preloads more nearby frames for smoother scrubbing
Fix(zh-Hant): 高速拖曳只在持續超載時暫停,放慢後自動恢復
Fix(en-US): rapid scrubbing pauses only under sustained load and resumes after slowing down
@whes1015
whes1015 enabled auto-merge (rebase) August 21, 2026 09:41
@whes1015
whes1015 disabled auto-merge August 21, 2026 09:48
@whes1015
whes1015 merged commit 6e7e4c4 into main Aug 21, 2026
6 checks passed
@whes1015
whes1015 deleted the fix-android-initialization branch August 21, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants