core/element: a strict computePivot, and one name for the view type

Đang mở
#563 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, react
Lĩnh vực
api, backend-api-design

Hướng nghiên cứu

Read the computePivot API and view type exports in pivotkit-react and pivotkit-element, along with docs/versioning.md. Decide how unknownField errors should affect computed rows and which view type name should be shared, then document and implement the agreed public API changes with coverage for both packages.

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

Mô tả

area:core enhancement

Two proposals from the developer-docs round (#512), both new public interface, so they need a decision:

  • computePivot keeps all rows when a filter names an unknown field and reports unknownField as an error issue. A host that does not read the issues trusts wrong numbers. Option: a strict option, or a helper that throws on error issues.
  • pivotkit-react calls the view type ViewInput, pivotkit-element PivotView. Option: export one name from both packages (an alias), with the other deprecated per docs/versioning.md.
Ngôn ngữ chính
JavaScript
Star
1
Fork
1
Merge trung bình
3 giờ 21 phút
Pull request đã merge (30 ngày)
250

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.