Docs: step-by-step setup tour for the widget, Discord and Slack guides

Đang mở
#121 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
52/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ệ
react, typescript
Lĩnh vực
documentation, frontend

Hướng nghiên cứu

Start with content/docs/product/chat-widget.mdx, then read components/docs/screenshot.tsx and hotspots.tsx to see how numbered screenshots are handled, and check how the existing Steps component is used. Build a SetupTour component beside Steps that keeps the full text on the page for no-JavaScript readers. Done means the acceptance criteria pass, including a component test for Next, Back, first and last step, and the URL hash, plus pnpm test and pnpm build.

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#111 · originally opened by sethr07 on 2026-11-20

Copied from https://github.com/answerLoops/answerLoops/issues/482 — originally opened by @NathanTarbert on 2026-10-26

Problem

The docs explain setup in long pages. People following the Discord, Slack or widget guide have to keep their place themselves, switch between the docs and the product, and can't tell how far along they are. A guided, step-by-step view would make the first connection much less error-prone.

Where

  • content/docs/integrations/discord.mdx, content/docs/integrations/slack.mdx and content/docs/product/chat-widget.mdx are good first candidates.
  • Fumadocs' Steps component is what these pages use today. The new component should sit beside it, not replace it.
  • components/docs/screenshot.tsx and hotspots.tsx show how screenshots with numbered markers are done.

Suggested approach

Create a SetupTour component: one step at a time with Back and Next, a progress indicator, an optional screenshot per step, and the same text content the page already has. The page must stay fully readable without the tour (the full steps remain in the page for search, printing and people who prefer to scroll), so the tour is an enhancement over content that is already there.

Start with the widget guide, since it has the fewest moving parts, then apply it to Discord and Slack once the component settles.

Acceptance criteria

  • The tour works with the keyboard and announces step changes to screen readers.
  • Without JavaScript, the page shows the complete steps.
  • The current step is remembered in the URL hash so a step can be linked to.
  • Works at 375px without horizontal scroll.
  • A component test covers Next, Back, the first and last step, and the hash.
  • 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.