Add PunchPoint and LocationReport modules with home routing.

Migrate check-in point management and location reporting from placeholders to full MVVM flows, including foreground location support and unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-24 11:08:41 +08:00
parent c772b25897
commit 0d4b63d273
22 changed files with 2698 additions and 12 deletions

View File

@ -241,8 +241,7 @@ struct HomeView: View {
Spacer()
Button {
secondsUntilReport = 7_200
showReportSuccess = true
openRoute(HomeMenuRouter.resolve(uri: "location_report", title: "位置上报"))
} label: {
Image(systemName: "hand.tap.fill")
.font(.system(size: 38, weight: .semibold))