Repository navigation
docs(plan): gap-analysis-plan 勾選稽核——B2/B3 早就不需要 Google Maps key - #51
Merged
Merged
Conversation
本文件是三個 repo 編號(A/B/C/D/E)的來源,但自 2026-07-08 後就沒再回填。 逐條對照三 repo 現行程式碼補勾,每項附證據。 最會害人的一條:B2/B3 原本寫「待填 Google Maps API key」——App 早在 2026-07-16 就改用 flutter_map + OpenStreetMap,**完全不需要任何 key**(pubspec 已無 google_maps_flutter,全 repo 搜不到 GOOGLE_MAPS_API_KEY)。照舊文件走的人 會去申請甚至付費開通一把根本用不到的金鑰。 補勾為 [x](皆附查證): - B2/B3 地圖叫車與即時追蹤(免 key,2026-07-16 模擬器實跑) - C4 前端測試+bundle 拆分(26 檔/134 tests;App.tsx 全路由 lazy + Suspense) - C5 視覺驗證(docs/screenshots/c5-2026-07-08) - D2 司機停用/啟用(PATCH /admin/drivers/:id/status;GoOnline 對 Disabled 回 ErrDriverDisabled,派單只收 Idle → 停用者不進派單池,不是假功能) - D3 派單參數設定(GET/PUT /admin/settings/dispatch + admin SettingsPage) 改 [~] 並寫清楚做完哪一半:A5(階段 1–4+7 完成,剩實機與推播)、 B5(評分三端上線,付款卡金流)、D1 生產驗收(後端真 FCM 已上線,App 卡 Firebase)、 D7(C1 計費✅/C2 評分✅/C3 金流❌/C4 metrics❌——grep 確認無 metrics 路由與相依)。 仍是 [ ] 的四項是真的沒做,不是沒回填:A1 真機驗收、A2 推播、E3 生產部署、E4 監控。 另把「0. 現況快照」標為歷史快照——它還寫著「乘客端 App 0%」「admin 全部唯讀」。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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
三個 repo 的 TODO 都引用
docs/2026-07-07-gap-analysis-plan.md的編號(A/B/C/D/E),但這份編號來源自 2026-07-08 之後就沒再回填。逐條對照三個 repo 的現行程式碼後補勾,每項都附查證。最會害人的一條
B2/B3 原本寫「待填 Google Maps API key」——但 App 早在 2026-07-16 就改用 flutter_map + OpenStreetMap,完全不需要任何 key:
pubspec.yaml只有flutter_map+latlong2,google_maps_flutter已移除GOOGLE_MAPS_API_KEY照舊文件走的人會去申請、甚至付費開通一把根本用不到的金鑰。
補勾為
[x](皆附查證)dropoff_point一致driver.location移動、ETA 即時更新src/App.tsx全路由lazy()+Suspenseline-fleet-admin/docs/screenshots/c5-2026-07-08/PATCH /api/admin/drivers/:id/status;不是假功能——GoOnline對Disabled回ErrDriverDisabled,派單只收Idle→ 停用者自然不進派單池GET(read)/PUT(ops)/api/admin/settings/dispatch+ adminSettingsPage改
[~]並寫清楚做完哪一半internal/notify/fcm.go的FCMPusher,非 stub),App 半邊卡 Firebase 專案/metrics❌(grep 確認cmd/server/main.go無 metrics 路由、go.mod無相依)仍是
[ ]的四項是真的沒做A1 真機驗收、A2 推播(當日實查
google-services.json不存在)、E3 生產部署、E4 監控。另把「0. 現況快照」標為歷史快照——它還寫著「乘客端 App 0%」「admin 全部 GET 唯讀」。
範圍
只動一份文件,沒有程式碼改動(
go build ./...仍過)。🤖 Generated with Claude Code