First-run tour opens over /pay/[id] for clients who just want to pay

未关闭 适合新手
#8 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@nilhn9660 已经在做这个了。

开始于 2026年11月22日。

  • #52 来自 @nilhn9660 —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
领域
frontend

调研方向

从 web/components/OnboardingTour.tsx 开始,查看自动打开是如何触发的。然后找到引导在全局何处挂载(应用布局或 _app),并检查该路由在那里是否可用,因为 /pay/* 的检查需要 pathname。参考 InvoicePreview 中已有的 Escape 关闭模式并进行复制。完成标准是:首次访问 /pay/1 时不打开任何弹窗,/ 仍会打开,按 Escape 可以关闭,导航栏中的“?”重新播放功能仍然正常。

由索引模型根据 Issue 内容生成。

描述

difficulty: beginner good first issue help wanted Stellar Wave ux web

Difficulty: Beginner

Description

web/components/OnboardingTour.tsx is mounted globally and auto-opens on a first visit to any route. A client opening a payment link gets a freelancer-oriented walkthrough ("Create an invoice") over the page. It also does not close on Escape, unlike InvoicePreview.

Implementation suggestions

Skip the auto-open on /pay/*, and optionally show a one-line "Paying an invoice?" hint instead. Add Escape-to-close.

Acceptance criteria

  • A first visit to /pay/1 shows no modal.
  • A first visit to / still shows the tour.
  • Escape closes the tour.
  • Manual replay from the navbar "?" still works.

Dependencies / related

Overlaps with #18 (shared accessible Modal). Land this first; #18 will fold the tour into the shared component.

主要语言
TypeScript
星标
0
派生
4
平均合并
54 分钟
30 天内合并 PR
6

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Yormee-103/PayLoop 的其他 Issue

查看 Yormee-103/PayLoop 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。