The three help walkthroughs each have their own copy of shot()
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 72/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- playwright, typescript
調査の方向性
Read the three specs under tests/e2e/help/, especially close-or-reopen-a-signup.spec.ts, and the template in .claude/skills/help-pages/scripts/new-article.mjs. Extract the shared clip behavior into tests/e2e/helpers/help-shots.ts, preserve the two screenshot styles, then update the skill's SKILL.md. Run the screenshot command and confirm public/help/ stays byte-identical; the issue lists the lint, typecheck, knip, and test commands as completion checks.
索引モデルが issue の本文から書いたものです。
説明
What happens
Each walkthrough under tests/e2e/help/ has its own shot() for taking the article's pictures when HELP_SCREENSHOTS=1. Each also has its own CAPTURE and SHOT_DIR constants:
close-or-reopen-a-signup.spec.ts: clips the page round one or more targets, with padding on each side (16px by default), in whole pixels.take-someone-off-a-slot.spec.ts: the same clip, for one target with 16px of padding.create-and-publish-a-signup.spec.ts:target.screenshot()of the element itself, with no padding.
new-article.mjs in the help-pages skill (.claude/skills/help-pages/scripts/) writes a fourth copy into every new walkthrough. So a fix to one, such as the 300 ms settle wait or the rounding, has to be made in each.
Fix, in outline
- Move the clip version from
close-or-reopen-a-signup.spec.tsto a newtests/e2e/helpers/help-shots.ts. It takes the article's slug, for examplehelpShot(page, slug, targets, name, pad). - Use it in
close-or-reopen-a-signupandtake-someone-off-a-slot. It makes the same pictures both of them make today. - Give
create-and-publish-a-signupa second export that shoots the whole element (target.screenshot()), so its pictures don't change either. - Have
new-article.mjs's template import the helper instead of writing its own. - Update the help-pages skill's
SKILL.md, which mentions "itsshot()helper".
Watch for
- The pictures must not change.
src/help/articles.test.tsxchecks each picture's real size against the article, so a 1px change fails it. - knip fails on an unused export, so export only what the specs use.
- Overlap: the follow-up that re-takes
what-people-see.pngat phone width edits the same spec. Whichever lands second has a small merge.
Done when
- No spec under
tests/e2e/help/defines its ownshot(), and neither doesnew-article.mjs's template. pnpm help:screenshotsleaves every file underpublic/help/byte-identical:git statusshows no change.- The help walkthroughs pass.
pnpm lint && pnpm typecheck && pnpm knip && pnpm testpass.
From the reviews of #610 (the help page on closing and reopening, merged as #650). Checked against the three specs and new-article.mjs on main at 1d4ff3a. https://claude.ai/code/session_01LrYa57fvbqWjZj89iH975K
- 主要言語
- TypeScript
- スター
- 19
- フォーク
- 4
- 平均マージ
- 20時間 9分
- マージ済み PR(30日)
- 156
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
richshaw/OpenSignup のほかの issue
-
enhancement pipeline:proposed pipeline:ux
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
richshaw/OpenSignup#654 ·
メンテナーはふだん 1 日以内に返信
-
enhancement pipeline:proposed pipeline:ux
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
richshaw/OpenSignup#653 ·
メンテナーはふだん 1 日以内に返信
-
enhancement pipeline:proposed pipeline:ux
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
richshaw/OpenSignup#652 ·
メンテナーはふだん 1 日以内に返信
-
SMTP timeout notes in smtp.ts and the changelog describe nodemailer 10.0, not 10.1対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンenhancement good first issue pipeline:ready
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
richshaw/OpenSignup#645 ·
メンテナーはふだん 1 日以内に返信
-
A signup page's first Tab skips the header and lands on the next tab対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug good first issue pipeline:ready pipeline:ux
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
richshaw/OpenSignup#644 ·
メンテナーはふだん 1 日以内に返信
richshaw/OpenSignup の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Merit-Systems/x402scan#1312 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Native Web
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
digitalfabrik/integreat-app#4517 ·
メンテナーはふだん 2 日以内に返信
-
TLS guide repeats certs/ in the certificate directory対応中かも @maheshrijal が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
prometheus/docs#3156 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
medusajs/dtc-starter#90 ·
メンテナーはふだん 1 日以内に返信