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

Fermée
#386 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
68/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
javascript, react

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
JavaScript
Étoiles
1
Forks
1
Merge moyen
3 h 21 min
PR mergées (30 j)
250

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de eizedev/pivotkit

Toutes les issues de eizedev/pivotkit

Issues similaires

Plus d'issues JavaScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.