Skip to content

fix: 防止乘車通知顯示目前站 ETA - #98

Merged
itousouta15 merged 1 commit into
YetAnotherBusDeveloper:mainfrom
steventeng2022:codex/background-destination-notification
Sep 25, 2026
Merged

itousouta15 merged 1 commit into
YetAnotherBusDeveloper:mainfrom
steventeng2022:codex/background-destination-notification

Conversation

@steventeng2022

Copy link
Copy Markdown
Contributor

摘要

  • 上車且已設定下車站後,通知主內容只顯示下車站剩餘站數與下車站 ETA。
  • 最近站牌僅作定位進度提示,不再顯示目前定位站牌的 ETA,避免與下車提醒混淆。
  • 新增原生單元測試,鎖定上車通知副文字不得夾帶目前站 ETA。

常用下車站

最新 main 已包含目的地下車站寫入路線紀錄與自動學習:7 天內同一路線、方向及上車站累積選擇 3 次後,會自動套用常用下車站;使用者手動清除時不會強制恢復。

驗證

  • git diff --check 通過。
  • 已檢查 destination_choice_controller_test.dart 與 route_detail_screen_loading_test.dart 的既有覆蓋。
  • 本機 Flutter 啟動程序無輸出而逾時,Android 專案亦未提交 Gradle wrapper,因此原生測試交由 PR CI 編譯驗證。

@itousouta15
itousouta15 merged commit bd3771f into YetAnotherBusDeveloper:main Sep 25, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants