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

Aperta Adatta ai principianti
#174 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@zaibamachhaliya ci sta già lavorando.

Dal 15/10/2026.

  • #175 di @aryanorastar — chiusa senza merge

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
74/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
frontend

Direzione di ricerca

Inizia dalla pagina Contributor Profile, nello specifico dalla sezione Reporting Window & Date Presets, e riproduci il caso in cui lo Start Date è successivo all’End Date. Traccia la gestione dell’intervallo di date da quella UI; l’attività è completata quando viene mostrato un messaggio di validazione per un intervallo non valido e l’intervallo non viene trattato come un periodo di reporting vuoto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
JavaScript
Stelle
53
Fork
182
Merge medio
18m
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di AOSSIE-Org/OrgExplorer

Tutte le issue di AOSSIE-Org/OrgExplorer

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.