Increase VectorEngine timeouts and add image UI
Add VectorEngine image generation config and raise request timeouts (env + scripts) from 180000 to 1000000ms. Introduce a reusable CreativeImageInputPanel component with tests and wire up mobile keyboard-focus helpers; update generation views and related tests (CustomWorldGenerationView, BarkBattle editor, Match3D, Puzzle flows). Improve API error handling / VectorEngine request guidance (packages/shared http.ts and docs), and apply multiple backend/frontend fixes for puzzle/match3d/prompt handling. Also include extensive docs and decision-log updates describing UI/UX decisions and verification steps.
This commit is contained in:
@@ -348,6 +348,7 @@ interface PuzzleAnchorPack {
|
||||
7. 历史拼图素材库读取 `asset_kind = puzzle_cover_image` 的资产记录,只用于选择参考图,不直接替换正式图。
|
||||
8. 从历史素材库选择素材后,前端把该素材的 `imageSrc` 作为 `referenceImageSrc` 传入下一次生成请求。
|
||||
9. 本地上传参考图与历史素材参考图互斥;后选择者覆盖先选择者。
|
||||
10. 历史素材列表的图片名称必须从 `imageSrc` 的路径末尾推导,不能把 `ownerLabel` 账号归属文案当成图片名称;生成时间必须兼容 SpacetimeDB 秒级时间字符串。
|
||||
|
||||
前端 UI 规则:
|
||||
|
||||
|
||||
@@ -80,6 +80,7 @@
|
||||
- `PlatformHomeView` 继续作为“我的”Tab 首屏承载层
|
||||
- 优先采用现有面板、抽屉、弹窗,不新建独立大系统
|
||||
- 页面只展示后端返回的状态,不自行计算结论型业务状态
|
||||
- 会员中心与充值入口只保留在顶部身份卡右侧按钮,不在“常用功能”区重复展示
|
||||
- 每日任务入口放在“常用功能”,点击后弹出独立任务面板
|
||||
|
||||
### 4.2 后端边界
|
||||
|
||||
@@ -75,6 +75,8 @@
|
||||
3. 中部显示权益卡片
|
||||
4. 底部显示套餐与购买按钮
|
||||
|
||||
2026-05-14 补充:充值入口只保留在“我的”页顶部身份卡右侧按钮,常用功能区不再重复展示充值卡片,避免同屏出现两个相同业务入口。
|
||||
|
||||
## 4.2 页面内容
|
||||
|
||||
页面展示模块:
|
||||
|
||||
Reference in New Issue
Block a user