docs(templates): atualiza crisis-detail com padrões reais do PR #273 - #128
Conversation
Corrige descrições desatualizadas (gauge circular, tokens --risk-stable/monitor inexistentes) e documenta a implementação atual: bloco de score retangular, acento de prioridade por tokens delta, KPI strip com chip inline. Sinaliza explicitamente a divergência entre as bandas de AttentionScore (5 labels) e os tokens de cor do anel de score (4 faixas) — são escalas que não coincidem. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e9620e0736
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| Estrutura visual (não é gauge circular, é bloco retangular): | ||
|
|
||
| ```tsx | ||
| <div className="flex flex-col items-center justify-center text-center rounded-[calc(var(--surface-radius)-0.5rem)] border-none bg-[color:color-mix(in_oklab,var(--card)_90%,var(--brand-muted))] px-4 py-3 shadow-none"> |
There was a problem hiding this comment.
Replace the unexported surface radius token
This copyable score-block snippet depends on var(--surface-radius), but the published token sources expose --radius-xl and the surface role colors, not --surface-radius (checked src/app/globals.css and generated tokens/pulso-tokens.css). In apps that import the Pulso tokens, rounded-[calc(var(--surface-radius)-0.5rem)] resolves with an undefined custom property and the block loses its intended radius, so either document an exported radius token here or add this token to the source token files.
Useful? React with 👍 / 👎.
Resumo
content/templates/crisis-detail.mdx, que estava desatualizado em relação à implementação real da tela de detalhe de crise (Crisis Monitor).--risk-stable/monitor-*que não existem no código; documenta as bandas reais deAttentionScore(Ruído/Atenção/Alerta/Crise/Crítico).DeltaChipinline ao label.Contexto
Trabalho de retroalimentação de template pedido na Issue #272 do repositório Crisis-Monitor/Crisis-Monitor (Fatia 5), após o merge do PR #273 (score ring, acento de prioridade, KPI strip).
Test plan
bun run dev --port 3002), página/templates/crisis-detailrenderizando corretamente com as novas seções🤖 Generated with Claude Code