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

Đang mở Phù hợp với người mới
#4,066 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
66/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
analytics, frontend

Hướng nghiên cứu

Bắt đầu tại bộ chọn ngày tùy chỉnh Dashboard → Your Commits và theo dõi cách chỉnh sửa ngày cập nhật yêu cầu biểu đồ so với khoảng thời gian nút hiển thị. Báo cáo không nêu tệp hay bài kiểm thử nào, vì vậy trước tiên hãy tìm biểu đồ và bài kiểm thử cục bộ của biểu đồ. Hoàn tất khi việc thay đổi ngày không làm thay đổi khoảng thời gian đã áp dụng và dữ liệu biểu đồ cho đến khi nhấp Apply.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
TypeScript
Star
246
Fork
436
Merge trung bình
9 giờ 33 phút
Pull request đã merge (30 ngày)
213

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Priyanshu-byte-coder/devtrack

Tất cả issue của Priyanshu-byte-coder/devtrack

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.