Skip to content

docs: casual UX PRD — pervasive inline explanations + help FAB - #9

Merged
hades217 merged 1 commit into
mainfrom
docs/casual-ux-prd
May 16, 2026
Merged

docs: casual UX PRD — pervasive inline explanations + help FAB#9
hades217 merged 1 commit into
mainfrom
docs/casual-ux-prd

Conversation

@hades217

Copy link
Copy Markdown

Summary

继 onboarding PRD (PR #7) 之后的姊妹 PRD:casual UX PRD

两个 PRD 的分工:

  • onboarding-prd.md → 注册 流程(哪些步骤、按什么顺序)
  • casual-ux-prd.md → 配置 密度(每个字段旁边多少解释、哪些字段对 casual 用户彻底隐藏)

Workshop / 视频 vs 产品的分工

DeepRouter 团队用 workshop / 视频引导用户怎么用 = 运营 & 内容团队职责。

产品层目标:让用户在没看视频、没问朋友、没加群的情况下,光看屏幕就能猜对每个配置。

两者互补:视频帮愿意学的用户;inline 解释帮没耐心的用户。

核心交付(PR #9 落地)

1. `` 标准组件

两种渲染模式:

  • casual 默认:inline 浅色文字常驻字段下方
  • dev / team / admin 默认:label 边一个 `?`,hover/tap 展开 popover

2. Casual 模式下隐藏的高级字段

字段 Casual Dev Admin
/wallet CNY/USD/Tokens 切换
/wallet 自定义金额
/wallet 兑换码
/keys Advanced 模式入口
/playground 模型参数 折叠 折叠
/profile 通知 Tab

3. `` 全局求助浮窗

右下角浮窗,所有 _authenticated/* 页面都有:

  • 📺 视频教程(admin 配置 URL)
  • 💬 微信群(admin 配置二维码 + 群号)
  • 📷 图文教程跳 /onboarding
  • ✉️ 客服邮箱

Casual 用户首次访问带 NEW 红点。

4. 视频入口的 4 个植入点

  • 求助浮窗第一项
  • /welcome 顶部 banner
  • /onboarding 每个客户端教程页顶部
  • /keys 创建成功 dialog

所有视频 URL 从同一 admin 配置项读。

文案密度对照(示例)

Cherry Studio Base URL 配置

当前
```

Casual 看到
```
🌐 Base URL / API 地址:
https://deeprouter.ai/v1 [📋]
💡 粘到 Cherry Studio 的 "API 地址" 字段,
末尾不要加斜杠。
```

Dev 看到
```
Base URL: https://deeprouter.ai/v1 [📋] ?
```
(hover ? 才看到说明)

工时

子任务 工时
FieldHint 组件 0.5 d
useIsCasual + HideForCasual 0.5 d
HelpFab + admin 配置 1 d
/welcome wizard hint 0.5 d
/keys Simple 6 卡片 hint 0.5 d
/onboarding 6 客户端 hint 1 d
/wallet casual 隐藏 + 支付 hint 0.5 d
i18n(60-80 keys) 0.5 d
合计 ~5 d

不依赖 platform / 运营准备:视频 URL / 微信群从 admin 配置读,没填就 fallback placeholder。

文件

仅新增一个文档:`docs/tasks/casual-ux-prd.md`(约 600 行)

关联

🤖 Generated with Claude Code

Sister doc to onboarding-prd.md (PR #7). Where onboarding-prd covers
the registration FLOW (which steps run, in what order), this doc covers
the configuration DENSITY (how much explanation accompanies every field,
and which fields get hidden entirely for non-technical users).

Key decisions:
- New <FieldHint> component renders inline below labels for casual
  persona (always-visible 1-2 sentence plain-language hint) and as
  hover-popover for dev/team (low-density default for power users)
- Casual mode hides advanced configuration entirely: currency toggle,
  custom topup amounts, redemption codes, /keys Advanced mode entry,
  /playground model parameters, /profile notification settings tab
- New global <HelpFab> floating action button on all authenticated
  pages with workshop video URL / WeChat group / support email
  (admin-configurable, no hard-coded support contacts)
- Workshop / video content stays operations-owned: product reads URLs
  from admin config, never tries to be the source of educational
  content. Placeholder when URLs unset.

Implementation scope (PR #9):
- <FieldHint> + <HideForCasual> + useIsCasual hook (~1 day)
- <HelpFab> + admin config keys (~1 day)
- Apply hints to /welcome wizard, /keys Simple cards, /onboarding
  tutorials, /wallet (~3 days)
- ~5 days total, no platform/ops dependency

Out of scope:
- Workshop video production (ops)
- WeChat group establishment + QR (ops)
- Screenshot capture for tutorials (platform)
- AI help bot (deferred to Phase 2)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@hades217
hades217 merged commit f79eee3 into main May 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant