[BUG] Editing a custom date reloads Your Commits before clicking Apply

Open Beginner friendly
#4,066 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
66/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active

Research direction

Start at the Dashboard → Your Commits custom date picker and trace how date edits update the chart request versus the range shown by the button. The report names no files or tests, so first locate the chart and its local chart test. Done when changing a date leaves the applied range and chart data unchanged until Apply is clicked.

Written by the indexing model from the issue text.

Description

bug needs-triage
What happened?

After I apply a custom date range in Your Commits, changing one of the dates immediately reloads the chart. The range button still shows the old dates, even though the chart has requested data for the new ones.

Steps to reproduce

Go to Dashboard → Your Commits → Custom.

Set the range to January 1–7, 2025, and click Apply.

Open the picker again and change the start date to January 3. Leave the picker open without clicking Apply.

Where is it?

Dashboard overview

Where did you see it?

Local development

Browser and device

No response

Screenshots, console errors or logs

The chart requests data for January 3–7 as soon as the date changes. It should keep showing January 1–7 until I click Apply.

Reproduced in a local chart test on commit 636363b. The test passes when the chart fetches data only for the applied range.

Want to fix it?
  • I'd like to work on this. A maintainer will assign you; please don't start before that.
Dominant language
TypeScript
Stars
246
Forks
436
Avg merge
9h 33m
Merged PRs (30d)
213

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Priyanshu-byte-coder/devtrack

All issues in Priyanshu-byte-coder/devtrack

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.