View Users on a chart point returns nobody for weekly charts and for organizations outside UTC
Maintainer thường phản hồi trong vòng 1 ngày
@officialasishkumar đang làm issue này rồi.
Từ ngày 7/11/2026.
- #657 của @officialasishkumar — đang mở
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- analytics
Hướng nghiên cứu
Start in packages/core/src/modules/chart/src/sql.ts, especially chartBucketProfilesQuery and bucketEquals, then trace how the chart passes its timezone into queries and compare that with getChartBucketProfiles. Check the chart bucket and drill-down behavior for weekly charts and organizations outside UTC; done means View Users returns the users and count shown for each point. Issue #657 has an open linked pull request.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
On a time-series chart, clicking a point and choosing View Users often shows "No users found" while the chart shows a non-zero count for that point.
- Weekly charts: every point comes back empty, in every timezone.
- Organizations outside UTC: hour points come back empty, and day and month points match the wrong bucket (empty, or missing users near the edge of the period).
Steps to reproduce
- Open a report with a line chart and interval Week.
- Click any point with a count above 0 and choose View Users.
- The modal says "No users found".
For the timezone case, set the organization's timezone to America/New_York and do the same on an Hour chart.
Root cause
chartBucketProfilesQuery (packages/core/src/modules/chart/src/sql.ts, bucketEquals) doesn't match how the chart buckets its points:
- The chart builds weeks with
toStartOfWeek(created_at, 1, tz), so weeks start on Monday. The drill-down usestoStartOfWeek(toDateTime(created_at)), which uses mode 0, so weeks start on Sunday. A Sunday week start never equals the Monday date the chart sends back. - The chart runs with the organization's timezone as
session_timezone.getChartBucketProfilescallsrunQuerywithout a timezone, so the drill-down buckets in UTC while the point's date is in the organization's timezone.
Expected behavior
View Users returns the users behind the point, with the same count the chart shows, for every interval and timezone.
- Ngôn ngữ chính
- TypeScript
- Star
- 7.3k
- Fork
- 539
- Merge trung bình
- 1 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 80
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Openpanel-dev/openpanel
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Openpanel-dev/openpanel#653 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
Openpanel-dev/openpanel#610 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug: Funnel has_profile filter conflicts with the profile_id aggregate alias (ClickHouse Code 184)Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
Openpanel-dev/openpanel#663 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Openpanel-dev/openpanel#661 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Retention matrix drops cohorts where nobody did the return eventCó thể đã có người làm @officialasishkumar đã nhận 2 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Openpanel-dev/openpanel#656 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Openpanel-dev/openpanel
Issue tương tự
-
e2e-failure ready-to-code
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
redhat-developer/rhdh-plugin-export-overlays#4733 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
S-Needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 2 ngày
-
error in published node.d.cts: 'Blob$1' refers to a value, but is being used as a type here.Đang mởCLI Empathy needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
chromaui/chromatic-cli#1665 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
software-mansion/argent#1854 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
FAQ Spacing IssueĐang mở
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 65/100
nilbuild/developer-roadmap#10557 ·
Maintainer thường phản hồi trong vòng 1 ngày