Show the details of every insight model in `insights`

Aperta
#27 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)?

Lingua principale
TypeScript
Stelle
15
Fork
4
Merge medio
1g 17h
PR unite (30g)
22

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ChromeDevTools/trace-engine-cli

Tutte le issue di ChromeDevTools/trace-engine-cli

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.