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

Aperta
#386 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à
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript, react

Direzione di ricerca

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.

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

Descrizione

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

Lingua principale
JavaScript
Stelle
1
Fork
1
Merge medio
3h 34m
PR unite (30g)
213

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 eizedev/pivotkit

Tutte le issue di eizedev/pivotkit

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.