Docs: short looping clips of key workflows, recorded from the demo workspace
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- playwright, typescript
调研方向
Start with scripts/docs-demo/README.md, then the seed and capture scripts behind pnpm docs:seed, pnpm docs:session and pnpm docs:shots, to see how Playwright captures run against the demo workspace. Read components/docs/screenshot.tsx to learn how a media component is registered and reads generated data at build time. Done means clips for the two named flows are regenerated by one command and committed under 1 MB each, a DemoClip component respects reduced motion and loads video only near the viewport, and pnpm test and pnpm build pass.
由索引模型根据 Issue 内容生成。
描述
Copied from DeadantCo/answerLoops#113 · originally opened by sethr07 on 2026-11-20
Copied from https://github.com/answerLoops/answerLoops/issues/484 — originally opened by
@NathanTarberton 2026-10-26
Problem
The docs have real screenshots, but a screenshot can't show a flow: approving a draft in the review queue, connecting a Discord server, or a question moving from a channel to a ticket. Short looping clips would show those in a few seconds, and are something no competitor's docs page lets a visitor skim.
Where
scripts/docs-demo/is the capture pipeline: a fictional demo workspace, a seeded database and Playwright captures (pnpm docs:seed,pnpm docs:session,pnpm docs:shots). Read itsREADME.mdfirst.components/docs/screenshot.tsxshows how a media component is registered and how it reads generated data at build time.
Suggested approach
- Extend the capture script to record short clips of scripted flows against the demo workspace (Playwright can record video), then convert them to small looping WebM or MP4 files.
- Add a
DemoClipcomponent that plays a clip muted, looped and inline, shows a still frame until it scrolls into view, and doesn't autoplay for readers who prefer reduced motion (show the still with a play button instead). - Start with two clips: approving a draft in the review queue, and connecting a channel.
Everything shown must come from the demo workspace, with no real customer data, names or credentials.
Acceptance criteria
- Clips are regenerated with one command and are deterministic enough to commit.
- Each clip is under 1 MB, and the page loads no video until it is near the viewport.
- Reduced-motion readers get a still image, and every clip has a text description.
- The scripts refuse to run against a non-local database, like the rest of the pipeline.
-
pnpm testandpnpm buildpass.
Start here: new to the project? Read CONTRIBUTING.md first. It covers the ground rules, running answerLoops locally, and how to open a pull request.
- 主要语言
- TypeScript
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DeadantCo/answerLoopsdev 的其他 Issue
-
Widget: match the chat bubble color to the rest of the widget可能已有人在做 @sethr07 今天认领。 未关闭enhancement frontend help wanted
难度 2/5 半天 新手友好度 75/100
DeadantCo/answerLoopsdev#68 · 3 条评论 ·
-
Widget: make the chat window fit on small phones可能已有人在做 @sethr07 今天认领。 未关闭enhancement frontend good first issue help wanted
难度 2/5 1-3 小时 新手友好度 70/100
DeadantCo/answerLoopsdev#67 · 9 条评论 ·
-
Add 'select all' option to Slack channel picker in Settings可能已有人在做 @sethr07 今天认领。 未关闭frontend good first issue
难度 2/5 1-3 小时 新手友好度 68/100
DeadantCo/answerLoopsdev#22 · 5 条评论 ·
-
enhancement frontend help wanted
难度 4/5 3-5 天 新手友好度 45/100
DeadantCo/answerLoopsdev#141 ·
-
backend enhancement frontend help wanted
难度 4/5 3-5 天 新手友好度 45/100
DeadantCo/answerLoopsdev#140 ·
查看 DeadantCo/answerLoopsdev 的全部 Issue
相似的 Issue
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
难度 1/5 1 小时以内 新手友好度 92/100
lingdojo/kana-dojo#34545 · 1 条评论 · 5 个 reaction ·
维护者通常 1 天内回复
-
blocklist addition
难度 1/5 1 小时以内 新手友好度 82/100
MetaMask/eth-phishing-detect#315455 ·
维护者通常 1 天内回复
-
area: telegram bug
难度 2/5 1-3 小时 新手友好度 76/100
griffinwork40/agent-afk#5275 ·
维护者通常 1 天内回复
-
macOS: the Save Diagnostics panel goes behind the editor after an app switch and can't be reached未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
getopenscreen/openscreen#1667 ·
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 68/100
erkamyaman/rust-anything#371 ·
维护者通常 1 天内回复