feat(quick-start): redesign character creation entry - #303
Conversation
The account panel owned a reusable line transition inside the feature. Move the existing renderer and styles into shared UI and keep account timing intact. Other product surfaces can now consume the same line-level motion boundary.
The extracted transition needs direct coverage outside the account panel. Assert both lines, phase classes, accessibility state, and timing indexes. The shared animation contract can now change without silent markup drift.
The previous entry mixed decorative copy with a tall form and unclear role examples. Introduce a bottom composer, style starters, rotating role ideas, and layered character motion. Creation services, routes, export behavior, and error handling remain unchanged.
The new entry layout and motion states need focused regression coverage. Cover timing, prompt replacement, card dissolution, composer layout, and submission paths. The tests protect the UI behavior without expanding into generation internals.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
The Quick Start pull request needs a concrete visual reference for reviewers. Add the approved desktop entry state captured from the local feature branch. Reviewers can inspect the layout without repeating the visual acceptance pass.
|
@fennoai -claude 定位 CI 未过的问题,并执行最小化修复,并重跑 CI |
CI 已修复并全绿
失败原因与修复1. 3 个文件不符合格式化规则: 2.
在 3. 本 PR 按设计删除了入口标题「开始一条可追踪的制作流程」,但 验证本地按 CI 相同顺序全量执行:
CI 在
说明
|
修复 Frontend CI 的三处失败: - `oxfmt --check`:按格式化器规则重排 quick-start 页面、其测试与 `kinetic-copy-cycle` 的换行,无逻辑改动。 - `app-color-system`:composer 聚焦阴影改用新增的 `--shadow-app-composer-focus` 语义令牌,移除页面内联色值。 - `app.test.tsx`:入口标题断言跟随本 PR 的新文案「想做一个什么角色」。
重构 Quick Start 的角色创建入口:收紧为单行底部输入器,用风格提示替代角色样例卡,并增加只描述角色外形与身份的轮换灵感和逐字镜像动效。生成服务、路由、导出与异常处理均保持原样。
Why
原入口包含冗余说明、无意义像素装饰和过高输入框,视觉重心分散;角色示例与真实生成能力也容易产生误导。
Changes
Implementation
KineticCopyCycle:支持消息替换、循环起点、可选前缀与逐字镜像进退场。service.start、startWithUploadedTemplate、导航、错误处理、ExportButton和运行态逻辑。Verification
npm test --prefix frontend -- src/shared/ui/kinetic-copy.test.tsx src/pages/quick-start/index.test.tsx src/features/account-panel/index.test.tsx --configLoader runner:3 files / 47 tests passednpm run typecheck --prefix frontend:passedgit diff --check:passedScreenshots
Desktop
Scope
Related Issues
Refs #274
Refs #301