Commit Graph

10 Commits

Author SHA1 Message Date
31d2b6094b Implement orders tab aligned with Android, including scan verify flows.
Add role-based order/deposit lists, AVFoundation QR scanning, verify dialogs, and ViewModel tests so photographers, scenic admins, and store admins match Android behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 16:59:53 +08:00
6492f80ef0 Implement statistics tab aligned with Android and fix summary decode.
Add role-based analyse APIs, summary/daily UI with date range sheet, and flexible parsing for string refund amounts from the backend.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 16:32:14 +08:00
39a9038a3b Switch default actor isolation to nonisolated and document concurrency conventions.
Align app and test targets on nonisolated defaults so ViewModels stay off MainActor by default, and capture the resulting patterns in AGENTS.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 16:18:20 +08:00
005cac3f78 Implement profile tab with Android-aligned flows and OSS upload.
Add personal info page, account switch, real-name auth, withdrawal settings, session cache extensions, AlibabaCloudOSS SPM, and unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 16:01:05 +08:00
02a80764ea Fix login form card layout to hug content and align with Android.
Use content-driven card height with safe area insets so the form no longer stretches to the screen bottom.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 15:41:02 +08:00
699f1ba7c4 Add networking layer and wire up v9 login flow with unit tests.
Introduce APIClient/AuthAPI, complete login with multi-account selection, and polish the login card UI with shadow and keyboard dismiss.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 15:33:34 +08:00
b7d74905b7 Add login flow, session routing, and MainTab shell aligned with reference UI.
Implement token-based root routing, Android-matched login screen, five-slot MainTabBar with scan action, and placeholder tab pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 15:12:34 +08:00
e290656322 Add base infrastructure and SPM dependencies for iOS development.
Integrate SnapKit and Kingfisher, add BaseViewController and NotificationName, and streamline AGENTS.md with Android-aligned conventions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 14:59:55 +08:00
6cc2336e7b Expand AGENTS.md with migration and development conventions.
Document SwiftUI-to-UIKit migration approach, third-party libraries, list patterns, unit testing requirements, and imperative UIKit style.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 14:50:14 +08:00
b20e613fec Initial commit: Swift UIKit iOS project with MVVM guidelines.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 14:44:51 +08:00