Commit Graph

22 Commits

Author SHA1 Message Date
浅念 07761b1b26 fix(app): camera preview distortion — swap sensor W/H for portrait
previewSize 报横向(W>H),竖屏直用会把画面拉扁。交换宽高转纵向比例再
FittedBox cover 铺满(裁切不变形)。397/397 全绿。

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-24 16:07:44 +08:00
浅念 222c44c1f7 fix(deploy): disable gzip on /v1/ API paths — Flutter release AOT gzip decompression failure
服务端 200+数据正常、debug/JIT 正常;release/AOT 的 Dart HttpClient 对
Content-Encoding: gzip 解压异常 → JSON 解析失败 → 显示 INTERNAL_ERROR。
nginx /v1/ 路径 gzip off(静态资源 gzip 不受影响);proguard keep 规则
一并保留(dio/flutter_secure_storage/全项目模型)。

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 18:36:11 +08:00
浅念 65581b7920 fix(android): usesCleartextTraffic=true — release APK blocked HTTP APIs (Android 9+ default)
release 构建默认禁明文 HTTP(debug 由 Flutter 自动放行)——服务暂时不可用
即此因。当前测试服务器 API/观众页均为 http://,需显式允许;上 https 后移除。

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 18:10:46 +08:00
浅念 b6daa6fa0e docs(embed): live title+modal verification — '2026届-广交会' overlay, coordinate click opens in-host detail modal with deep link, closes via button
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 16:47:27 +08:00
浅念 a5dcfffd37 docs(embed): refreshed evidence artifacts (modal screenshot, screenshots/recordings regenerated)
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 16:37:17 +08:00
浅念 985829fee8 fix(app): poster title truly left-aligned — Column crossAxisAlignment start (QR re-centered)
Text 的 textAlign 被 Column 默认 center 吞掉(文本行收缩包裹时对齐不生效);
文字区 Column 改 CrossAxisAlignment.start,二维码+扫码说明显式 Center 回居中。

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 16:30:14 +08:00
浅念 8834b1bbb9 feat(embed): album title overlay + in-host photo detail modal (replaces new-tab open)
- viewer: EmbedStream shows album title overlay top-left (ellipsis, avoids collapse zone); photo click posts open-photo {url} to host instead of window.open (direct-open still new tab)
- loader v2: open-photo message (origin+source whitelisted, URL must match widget origin) opens host overlay modal with embedded viewer deep-link iframe, close button/Esc/scrim dismiss, single instance, cleaned on destroy
- tests: click case asserts modal iframe deep link + no popup + close button dismiss; viewer 244 + loader 36 green

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 16:20:10 +08:00
浅念 5a207b395e feat(app,viewer): WeChat card share + 'Share to...' label + site og tags
- 按钮文字「分享到微信/其他应用」→「分享到...」(用户需求)
- 微信卡片分享(fluwx 6):WECHAT_APPID 经 --dart-define 注入;已配置且
  装微信 → WXWebpage 卡片(标题=相册名、描述=日期·地点、缩略图=封面压缩
  240px PNG ≤32KB、点击进观众链接);未配置/未装 → 回退系统分享面板
- viewer index.html 加站点级 og 标签(微信/QQ 抓取链接预览用;每相册动态
  og 需服务端注入,登记后续增强)
- 397/397 全绿、analyze 0

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 16:05:53 +08:00
浅念 77b1519209 docs(viewer): like-hidden live verification — feed badges/sort tabs gone, lightbox bar is share+download only
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 14:31:21 +08:00
浅念 d7ac9420be docs(viewer): lightbox close button restored on server (transparent bg, white X, 44px circle)
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 13:51:59 +08:00
浅念 aa366c4268 docs(embed): ambient hearts restored on server (7 on screen) after parallel-session image rollback
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 13:35:23 +08:00
浅念 7adc1b0858 docs(embed): denser/lower ambient hearts verification (6 on screen, origin band 140-244px)
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 11:41:11 +08:00
浅念 c8a9727993 docs(embed): ambient hearts live verification — bubbles float with zero likes (steady ~3 on screen)
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 11:33:25 +08:00
浅念 8768a04a75 docs(embed): collapsed handle right-dock verification on server (right=16px, x=1324 @ 1440 viewport)
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 11:26:56 +08:00
浅念 257643934a docs(viewer): share sheet live verification — album header & photo lightbox entries, QR 188px, on-button copy feedback, Esc close
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 11:15:55 +08:00
浅念 c2143e1f94 feat(app): album banner picker in edit form — show current banner, pick & upload on save
- api_client:uploadAlbumAssetFromFile 泛化(cover 为薄壳)+ fetchAlbumAssetUrl
  (GET /albums/{id}/assets → 指定 kind 全局行 URL)
- 编辑页 Details:封面下方新增「宣传图」3:1 选择器——编辑模式异步加载现有
  banner 预览(失败静默);保存成功后上传(同封面:失败不阻塞表单结果)
- 未保存变更判断纳入 banner;l10n zh/en
- 测试适配:编辑用例 pumpForm 后清空 banner 现状预检请求(397/397 全绿)

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 11:07:54 +08:00
浅念 2618ad3163 feat(assets): album asset status — show current banner/cover/logo in admin branding tab
- 契约 listAlbumAssetStatus(GET /albums/{albumId}/assets):每 (kind,locale)
  最新 effective 行 + 现签 URL;权限同详情(可见即读);deleted → 404
- 服务端 AssetsService.status(createdAt,id DESC 组内取首;presignGet 现签)
- Admin 品牌资产页签改造:进入即加载现状——三种 kind 卡片(预览图/未设置
  空态/设置时间),banner 分全局/zh/en 槽位;上传成功自动刷新(替换语义)
- API 56/56、admin 87/87 + build 全绿

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 10:51:53 +08:00
浅念 3cd9dafd1b docs(viewer): server verification — topbar locale-only (settings menu removed)
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 10:40:28 +08:00
浅念 2b2ae7a083 docs: banner/cover fallback live verification — cover-only album renders banner atop viewer (server 8e674a9 images, migration applied)
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 10:19:36 +08:00
浅念 9cb960c27a docs(viewer): banner live verification — uploaded via admin asset API, renders atop album page
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 09:41:51 +08:00
浅念 c481aeeeb7 docs(viewer): server verification screenshot — tap-more hint removed on live lightbox
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-23 09:35:25 +08:00
浅念 fe2428e290 docs(ui04): test-server deployment and live verification — both stacks on 1cf12be images, 5/5 real-environment checks incl. WS-via-OpenResty hearts
- server image 1cf12be-20260922 + web ui04-1cf12be-20260922 (server-side builds, entrypoint/syntax adaptations), cn+ov rolled, webs restarted
- v2 slot created via real admin API (vertical-stream/16px/s/reactions), bound to album with real photos (live-album OSS)
- live e2e 5/5: entries, 195x280 + real OSS rendering + auto scroll, collapse/expand, deep-link popup, real like -> WS through 32006 proxy -> heart
- screenshots + reusable server-verify spec archived; acceptance record section added

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-22 19:44:18 +08:00