Show the details of every insight model in `insights`

Đang mở
#27 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/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ệ
typescript
Lĩnh vực
cli, developer-experience

Hướng nghiên cứu

Start with the existing detail cards for LCPBreakdown, INPBreakdown, CLSCulprits, RenderBlocking and ThirdParties, then read the models listed in the issue and the --category handling. The issue proposes one PR per group but leaves the category naming unresolved. Done means adding actionable detail cards for all 14 listed models and deciding how --category selects them.

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

Mô tả

Child of #9.

insights shows detail cards for 5 of the 19 DevTools insight models: LCPBreakdown, INPBreakdown, CLSCulprits, RenderBlocking and ThirdParties. #25 lists the state, metricSavings and wastedBytes of all 19 models. But when a model fails, an agent still cannot see what to fix.

Models without details
  • Network and loading: DocumentLatency, LCPDiscovery, NetworkDependencyTree, Cache, ModernHTTP, FontDisplay, ImageDelivery
  • JavaScript: DuplicatedJavaScript, LegacyJavaScript, ForcedReflow
  • Document and rendering: DOMSize, SlowCSSSelector, Viewport, CharacterSet
Proposal
  • One PR per group, to keep each review small.
  • Each card shows the data needed to act. For example, the image URLs and byte savings for ImageDelivery, or the functions and reflow time for ForcedReflow.
Open question

How should --category select the new cards? One kebab-case value per model (forced-reflow, dom-size), or the model key (ForcedReflow)?

Ngôn ngữ chính
TypeScript
Star
15
Fork
4
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
22

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 ChromeDevTools/trace-engine-cli

Tất cả issue của ChromeDevTools/trace-engine-cli

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.