[Time Between Classes] Bind the minimum-gap input
メンテナーはふだん 11 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 86/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- next.js, react, typescript
- 領域
- frontend
調査の方向性
src/components/plans/CreatePlanDialog.tsxを読み、特にFilters fieldset、単位時間入力欄、getRecommendedSchedules({...})の呼び出しを確認します。新しい任意の値はダイアログの状態に保持し、minGapMinutesとmaxGapMinutesとして渡します。最小値が最大値を超える場合はインラインメッセージを表示し、生成を防ぎます。受け入れケースを確認し、pnpm lint、pnpm typecheck、pnpm testを実行します。
索引モデルが issue の本文から書いたものです。
説明
What to build
Add the minimum “time between classes” field to the create-plan form. Send the entered number of minutes to schedule generation, and leave the setting unset when the field is empty.
Files
Steps
- Add a string state for the optional minutes field and a labelled number input in the Filters fieldset.
- Follow the existing credit-hour markup; empty text maps to omission, not 0. On submit add the parsed number to getRecommendedSchedules input.
- Keep state local to the dialog; do not persist preferences in this slice.
Example
Shortest input 15/90 → matching numeric action key; empty → no key.
Check it works
In src/components/plans/CreatePlanDialog.test.tsx, check the example above and the failure or limit described in the steps. Run pnpm test -- src/components/plans/CreatePlanDialog.test.tsx, pnpm lint and pnpm typecheck.
References
Assign yourself before starting, or comment to claim the issue. Project setup.
- 主要言語
- TypeScript
- スター
- 19
- フォーク
- 94
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DevDogsUGA/DogDays のほかの issue
-
map
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
DevDogsUGA/DogDays#868 ·
メンテナーはふだん 11 日以内に返信
-
map
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
DevDogsUGA/DogDays#865 ·
メンテナーはふだん 11 日以内に返信
-
sharing
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DevDogsUGA/DogDays#854 ·
メンテナーはふだん 11 日以内に返信
-
import-export
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
DevDogsUGA/DogDays#850 ·
メンテナーはふだん 11 日以内に返信
-
import-export
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
DevDogsUGA/DogDays#842 ·
メンテナーはふだん 11 日以内に返信
DevDogsUGA/DogDays の issue をすべて見る
似ている issue
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
🎙️ task - drop the raw `./node_modules/.bin/rhachet roles boot` line from bhuild's feedback templateオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ehmpathy/rhachet-roles-bhuild#639 ·
メンテナーはふだん 1 日以内に返信
-
e2e-failure ready-to-code
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
redhat-developer/rhdh-plugin-export-overlays#4650 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 13 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
omdsh-dev/DSH-better-sidebar#1098 ·
メンテナーはふだん 2 日以内に返信