decocms / decocms/blocks

[bug][migration] Fonte customizada não é portada automaticamente na migração Fresh → TanStack

Open
#421 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5
Forks
2
Avg merge
20h 12m
Merged PRs (30d)
36

Description

Em migrações Fresh → TanStack, a fonte customizada da loja é descartada e não portada — o site passa a usar o fallback do sistema.

Causa: a declaração de fonte (<link> do Google Fonts ou @font-face) precisa ser adicionada manualmente ao app.tsx / layout.tsx do projeto TanStack. O script de migração não porta esse dado automaticamente.

Impacto: bug recorrente em todas as migrações — sempre precisa ser corrigido manualmente após a migração.

Sugestão: detectar o uso de fontes no projeto Fresh (ex: import de CSS com @font-face, <Link> com Google Fonts) e incluir o porte como etapa explícita do script/checklist de migração.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Fresh → TanStack migration script and its migration checklist or entry point. Review how CSS imports, @font-face declarations, and Google Fonts links are represented, along with the generated app.tsx or layout.tsx. Done means custom fonts are detected and ported, or the migration explicitly records the required font step instead of silently dropping it.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.