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

Warn users when selecting past due dates

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

メンテナーはふだん 1 日以内に返信

@the-coder-aadi がすでに取り組んでいます。

2026年10月25日 から。

評価

この issue はまだ評価されていません。

説明

enhancement frontend
Context

Suggested by and assigned to @the-coder-aadi. The task form allows due dates in the past, and it should keep allowing them: editing an overdue task has to work, and past dates are useful (see the discussion in #70). But a past date picked by accident is easy to miss. A small, non-blocking hint in the form helps users notice it before saving.

Please start this after "Due dates (3/3): highlight overdue tasks" (#70) is merged, so you can reuse its date helpers.

Files likely involved
  • client/src/pages/Tasks.jsx (TaskForm, the Due date field)
  • client/src/utils/dates.js (from #70)
Acceptance criteria
  • When the chosen due date is before today (in the user's timezone), a short hint shows under the field: "This date is in the past." It's a hint, not an error: the task can still be saved.
  • When editing a task, the hint only shows if the date was changed to a past date. Opening an already overdue task to edit its title shows no hint.
  • The field points to the hint with aria-describedby, so screen readers read it too.
  • It uses the same date comparison as #70, so the hint and the Overdue badge always agree.
How to test
  1. New task: pick yesterday, and the hint shows. Pick today or later, and it's gone. Save with yesterday: it works, and the card shows Overdue.
  2. Edit an overdue task without touching the date: no hint. Change the date to another past date: the hint shows.
主要言語
JavaScript
スター
3
フォーク
2
平均マージ
9時間 29分
マージ済み PR(30日)
40

環境構築

はじめの一歩

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

KEX-03/taskflow のほかの issue

KEX-03/taskflow の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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