react: check the on-screen heatmap with an oklch() heat token

Đang mở
#386 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, react

Hướng nghiên cứu

Start in the playground and set the heatmap's --pk-heat-* token to an oklch() value, then switch to the heatmap chart and inspect its colours and the console. If the colours turn black, trace how pivotkit-react passes the token to ECharts and read the fallback added for this case in pivotkit-report under issue #369. The issue suggests putting a shared helper in pivotkit-core's chart code; done means the on-screen heatmap handles the token without turning black.

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

Mô tả

pivotkit-report's server-side chart turned a heatmap black when a heat colour token was in a form ECharts cannot parse (oklch(), rgb() with spaces); #369's change falls back to the default there. pivotkit-react hands ECharts the same token string for the on-screen heatmap, so it probably has the same problem. Not checked yet in the playground.

To check: set --pk-heat-* (or the token the heatmap reads) to an oklch() value on a report, switch to the heatmap chart, look at the colours and the console. If it turns black, apply the same fallback as pivotkit-report (one shared helper in pivotkit-core's chart code).

Ngôn ngữ chính
JavaScript
Star
1
Fork
1
Merge trung bình
3 giờ 34 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 eizedev/pivotkit

Tất cả issue của eizedev/pivotkit

Issue tương tự

Thêm issue về JavaScript

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.