Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

1-hour workshop: Include the page data owner in the filter exercise context

オープン 初心者向け
#257 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
documentation

調査の方向性

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 の本文から書いたものです。

説明

priority: P1

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.astro in 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github-samples/pets-workshop のほかの issue

github-samples/pets-workshop の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。