Docs: short looping clips of key workflows, recorded from the demo workspace

Đang mở
#123 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
playwright, typescript
Lĩnh vực
documentation, frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

documentation enhancement frontend help wanted

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 @NathanTarbert on 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 its README.md first.
  • components/docs/screenshot.tsx shows how a media component is registered and how it reads generated data at build time.

Suggested approach

  1. 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.
  2. Add a DemoClip component 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).
  3. 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 test and pnpm build pass.

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.

Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DeadantCo/answerLoopsdev

Tất cả issue của DeadantCo/answerLoopsdev

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.