full-day workshop: Include the page data owner in the filter exercise
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 78/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 領域
- documentation, testing
調査の方向性
Step 6 のワークショップ手順から始め、app/server/app.py、app/server/test_app.py、app/client/src/pages/index.astro、app/client/src/components/DogList.astro を調べます。API に接続したフィルタリング、クリア、ページ処理が明示されるように、規定されたコンテキストおよび動作要件を更新し、その後、更新した unit test を実行して、犬種のみ、利用可能性のみ、両方を組み合わせたケースで endpoint のフィルタリングを検証します。
索引モデルが issue の本文から書いたものです。
説明
Problem
Step 6 says filtering requires the Flask backend, tests, and Astro frontend, but tells learners to supply only:
app/server/app.pyapp/server/test_app.pyapp/client/src/components/DogList.astro
app/client/src/pages/index.astro owns the /api/dogs request, reads URL query parameters, and renders pagination. DogList.astro only renders the dogs prop. Omitting the page owner encourages a partial implementation that cannot reliably connect controls to server-side query parameters or preserve pagination behavior.
Suggested change
Include index.astro in the prescribed context and add implementation-agnostic behavior checks.
Acceptance criteria
- Step 6 includes
app/client/src/pages/index.astroin Copilot context. - The prompt requirements describe how control changes reach the API.
- Breed-only, availability-only, and combined filtering are validated.
- Clearing filters restores the full list.
- Filter changes handle the current page deliberately, such as resetting to page 1.
- Updated unit tests prove endpoint filtering rather than only the original response shape.
- 主要言語
- Python
- スター
- 80
- フォーク
- 161
- 平均マージ
- 31分
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github-samples/pets-workshop のほかの issue
-
priority: P0
難易度 2/5 1〜2日 初心者へのやさしさ 78/100
github-samples/pets-workshop#268 · コメント 1 件 ·
-
priority: P0
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
github-samples/pets-workshop#267 · コメント 1 件 ·
-
priority: P1
難易度 1/5 1〜3時間 初心者へのやさしさ 92/100
github-samples/pets-workshop#261 · コメント 1 件 ·
-
priority: P1
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
github-samples/pets-workshop#257 · コメント 1 件 ·
-
priority: deferred
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
github-samples/pets-workshop#278 · コメント 1 件 ·
github-samples/pets-workshop の issue をすべて見る
似ている issue
-
essnmx good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
-
[Feature] 奇物选择添加优先级 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
syfoud/Simulated_Scepter#174 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Giskard-AI/giskard-oss#2840 · コメント 1 件 ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success オープンarea: repo bug perceived difficulty: 2
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
yeti-platform/yeti#1380 ·