gcx/frontend
hailin 7c8b79161a feat(upload): parse=upload+save+metadata, register=JSON only — no double upload
Previously the flow uploaded the 53MB file twice:
  1. POST /parse  → parse metadata (file discarded)
  2. POST /upload → parse again + save (file sent again)

New flow — file sent exactly once:
  1. POST /parse  → upload file, save to disk, parse metadata
                    returns {versionName, versionCode, minSdkVersion, storageKey, fileSize, fileSha256}
  2. POST /register → JSON only (no file), creates DB record using storageKey

Frontend:
- handleFileChange: async, immediately uploads to /parse with progress bar (0-100%)
- handleSubmit: calls /register with storageKey + form metadata (instant)
- Upload modal: real-time progress bar, "confirm" button disabled until parse complete
- Console logs at every step for debugging

Backend:
- POST /parse: saves file after parsing, returns storageKey in response
- POST /register: new endpoint, accepts JSON + storageKey, creates version record

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 07:19:28 -08:00
..
admin-app fix(mobile): fix version check API and platform detection in both apps 2026-03-07 00:50:42 -08:00
admin-web feat(upload): parse=upload+save+metadata, register=JSON only — no double upload 2026-03-07 07:19:28 -08:00
genex-mobile fix(mobile): remove back button on MarketPage and fix transfer row overflow 2026-03-07 03:07:50 -08:00
miniapp/src fix(ui): 修复登录页中英混用 + 搜索栏溢出,更新品牌口号并支持后台配置 2026-03-03 20:41:37 -08:00
mobile fix(branding): 统一Logo色调与App主色调 #6C5CE7 2026-02-23 18:12:35 -08:00
portal fix(ui): 修复登录页中英混用 + 搜索栏溢出,更新品牌口号并支持后台配置 2026-03-03 20:41:37 -08:00
.gitignore feat: Add Flutter build configuration for admin-app and mobile 2026-02-11 06:22:13 -08:00
build.bat feat: Add Flutter build configuration for admin-app and mobile 2026-02-11 06:22:13 -08:00
build.sh feat: Add Flutter build configuration for admin-app and mobile 2026-02-11 06:22:13 -08:00