feat(quick-start): redesign character creation entry - #303
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
@fennoai -claude 定位 CI 未过的问题,并执行最小化修复,并重跑 CI |
CI 已修复并全绿
失败原因与修复1. 3 个文件不符合格式化规则: 2.
在 3. 本 PR 按设计删除了入口标题「开始一条可追踪的制作流程」,但 验证本地按 CI 相同顺序全量执行:
CI 在
说明
|
|
@huyanxius 先处理下冲突? |
|
@fennoai 基于 mainrebase 一下,解决 conflict |
冲突已解决
验证
说明:为避免改写共享分支历史,本次使用 merge 整合 |
The entry paired the style cards with two named role pills, which read as ready-made characters rather than prompt seeds. Remove the shortcut list and its pill row so the entry offers style direction only. The entry now asks for a description instead of implying a catalog of existing assets.
The entry composer had grown into a two-row textarea, standing taller than the single-line composer the conversation view hands off to. Restore the single-line input and move the focused state onto a dedicated shadow token instead of leaving focus as a border-only cue. Both composers now share one height, and focusing the entry reads as a change in elevation.
The entry assertions still described the two-row textarea and the retired role-example shortcuts. Retarget the input assertions and add cases for the single-line composer and for the shortcuts staying absent. A silent return to either shape now fails the suite instead of drifting unnoticed.
8c0d6c0 to
245c7ef
Compare
|
|
重构 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