[BUG]: Add validation for invalid date ranges in Contributor Profile

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

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

@zaibamachhaliya がすでに取り組んでいます。

2026年10月15日 から。

  • #175 @aryanorastar による — マージされずにクローズ

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
74/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript
領域
frontend

調査の方向性

Contributor Profile ページ、具体的には Reporting Window & Date Presets セクションから開始し、Start Date が End Date より後になるケースを再現してください。その UI からの日付範囲の処理を追跡してください。完了条件は、無効な範囲であることを示すバリデーションメッセージが表示され、その範囲が空のレポート期間として扱われないことです。

索引モデルが issue の本文から書いたものです。

説明

bug
Bug Description

The Contributor Profile page currently allows users to select an invalid reporting date range where the Start Date is later than the End Date.

For example:

  • Start Date: 20-Aug-2026
  • End Date: 10-Aug-2026

Currently, the page accepts this invalid date range without showing any validation message and treats it as an empty reporting period.

This can be misleading because the user may think that the contributor had no activity during the selected period, instead of being informed that the selected date range is invalid.

Steps to Reproduce
  • Go to the Contributor Profile page.
  • Open the Reporting Window & Date Presets section.
  • Set the Start Date to a date later than the End Date.
  • For example, set Start Date to 20-Aug-2026 and End Date to 10-Aug-2026.
  • Observe the contribution metrics and contribution table.
  • The page displays 0 contributions, 0 pull requests, 0 issues, and 0 active repositories instead of showing a date validation message.
Logs and Screenshots

No console errors or application logs are produced for this issue.

Current Behaviour

Image

The current UI treats the invalid date range as a valid empty reporting period.

Expected Behaviour
The page should clearly display a validation message such as:
"Invalid date range: Start date cannot be later than end date."
The invalid range should not be treated as a valid reporting period.

Environment Details

OS: Windows 11
Browser: Google Chrome
Application: OrgExplorer
Page: Contributor Profile
Reporting Date Range: Start Date later than End Date
No console errors observed

Impact

Low - Minor inconvenience

Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates
主要言語
JavaScript
スター
53
フォーク
182
平均マージ
18分
マージ済み PR(30日)
2

環境構築

はじめの一歩

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

AOSSIE-Org/OrgExplorer のほかの issue

AOSSIE-Org/OrgExplorer の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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