Warn users when selecting past due dates
メンテナーはふだん 1 日以内に返信
@the-coder-aadi がすでに取り組んでいます。
2026年10月25日 から。
評価
この issue はまだ評価されていません。
説明
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
- 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.
- 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
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
KEX-03/taskflow のほかの issue
-
Due dates (3/3): highlight overdue tasks対応中かも @maansi1004 が 4 日前に担当しました。 オープンdifficulty: medium enhancement frontend hacktoberfest help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
KEX-03/taskflow#70 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Keep keyboard focus inside open dialogs対応中かも @100rabheimer が 7 日前に担当しました。 オープンdifficulty: easy enhancement frontend good first issue hacktoberfest
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
KEX-03/taskflow#62 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
difficulty: medium enhancement frontend hacktoberfest help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
Board view (1/2): show tasks as a Kanban board対応中かも @Korale05 が 1 日前に担当しました。 オープンdifficulty: medium enhancement frontend hacktoberfest help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 82/100
KEX-03/taskflow#76 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Tags (2/2): add, show and filter by tags in the app対応中かも @sunnyrockk が 5 日前に担当しました。 オープンdifficulty: medium enhancement frontend hacktoberfest help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
KEX-03/taskflow#75 · コメント 5 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
KEX-03/taskflow の issue をすべて見る
似ている issue
-
bug documentation
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
awslabs/visual-asset-management-system#880 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
possible bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Mintplex-Labs/anything-llm#6889 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
swc-project/swc-next#1165 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nhsuk/nhsuk-prototype-kit-package#439 ·
メンテナーはふだん 1 日以内に返信