1-hour workshop: Include the page data owner in the filter exercise context
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
content/1-hour/4-add-feature.md から始め、次に app/client/src/pages/index.astro、app/client/src/components/DogList.astro、app/server/app.py を読んで、リクエスト、フィルタリング、ページネーション、プレゼンテーションの責務を区別してください。新しいテンプレートのコピーから workshop を検証します。完了とは、Step 4 でページファイルを示し、クエリのフローを説明し、フィルターが変わったときにページネーションがどのように動作するかを文書化していることです。
索引モデルが issue の本文から書いたものです。
説明
Problem
Step 4 asks learners to add only app/server/app.py and app/client/src/components/DogList.astro to Copilot Edits. However, app/client/src/pages/index.astro owns the /api/dogs request, reads URL query parameters, and renders pagination. DogList.astro only receives and renders a dogs prop.
Without the page file in context, Copilot can produce a partial client-side filter or miss the request and pagination changes needed for the documented server-side filtering flow.
Suggested change
Update content/1-hour/4-add-feature.md to include app/client/src/pages/index.astro in the required context and explain at a high level which file owns the API request versus presentation.
Acceptance criteria
- Step 4 includes
app/client/src/pages/index.astroin the files supplied to Copilot. - The expected flow from filter controls to URL/API query parameters is stated.
- Existing pagination parameters are preserved, or the page is deliberately reset, when filters change.
- The exercise is validated from a fresh template copy.
- 主要言語
- 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: deferred
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
github-samples/pets-workshop#278 · コメント 1 件 ·
-
priority: deferred
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
github-samples/pets-workshop#277 · コメント 1 件 ·
github-samples/pets-workshop の issue をすべて見る
似ている issue
-
bug confirmed issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
open-webui/open-webui#30750 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 90/100