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

Fechada
#386 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
68/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
javascript, react

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
JavaScript
Estrelas
1
Forks
1
Merge médio
3h 21min
PRs com merge (30d)
250

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de eizedev/pivotkit

Todas as issues de eizedev/pivotkit

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.