feat(sprint-6): 原型中文化 + 登录页 + 四大场景工作流#20
Merged
Conversation
按用户反馈,原型扩展 3 件事: ## 1. 现有原型英文 → 中文 - 03 设置: General/Provider/Shortcuts/Experimental → 通用/供应商/快捷键/实验性 - 02 向导: Setup → 初始化向导 ## 2. 加用户身份体系(预留企业接入) - 新增 11-login.html 登录页 - 企业 SSO (主入口,OIDC/SAML 预留) - 企业微信/钉钉/飞书扫码登录 - 账号密码 (本地 fallback) - 附"关于用户体系"说明:Phase 2 简化本地,Phase 3 接企业 - 新增 wireframes/11-login.md 含分阶段落地计划 + 用户字段定义 - 01 主视图顶栏加用户菜单(头像 + 菜单项:我的资料/切换角色/使用统计/退出) ## 3. 四大场景工作流(Prompt as Feature 核心创新) 新增 4 个页面:12 业务 · 13 开发 · 14 测试 · 15 运维 每页三栏: - 左:方法论时序(6-7 步,含"已完成/进行中/待做") - 中:当前步骤详情(Checklist + 产出物 + 下一步按钮) - 右:✨ 智能操作(Prompt 卡片) 关键创新: skills/ 下 29 个 prompt 模板不再是"复制粘贴", 变成按场景分类的"一键操作卡片": - 业务场景 6 张卡 (skills/business/) - 开发场景 7 张卡 (skills/development/) - 测试场景 8 张卡 (skills/testing/) - 运维场景 8 张卡 (skills/operations/) 卡片交互:点击 → 参数表单 (输入来源/补充说明/实时 Prompt 预览) → 执行 → 自动组合 prompt 发送到当前会话 → AI 回复 → Artifact 入库 ## 4. 文档同步 - wireframes/12-15-workflow-scenes.md 详述工作流布局 + Prompt 元数据规范 - prototype-modules-map.md 加 5 条映射(11-15) - index.html 新增"身份与登录" + "四大场景工作流"分组 - README.md 的 wireframe 清单扩展到 15 张 ## 5. 样式扩展 styles.css 加 ~300 行: - .user-chip / .user-menu / .user-avatar - .workflow-page 三栏布局 - .timeline-step 带步骤号圆圈 + 连线 - .prompt-action-card + .prompt-modal - .login-card / .sso-btn ## Sprint 7 对接 Swift 要新增的文件(prototype-modules-map.md 第 11-15 行): - LoginView.swift / AuthManager.swift / RoleContext.swift - WorkflowView.swift (数据驱动,4 场景共用) - PromptRegistry.swift (扫描 skills/**/*.md frontmatter 建表) - PromptRunner.swift (表单参数 → 组合 prompt → 发送)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
按用户反馈扩展:
HTML 预览: https://raw.githack.com/epcode-ai/ep-code-ai/feat/sprint-6-workflows-login/docs/design/ui/prototype/index.html