Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retomar com o contador de cidades automático #358

Open
trevineju opened this issue Feb 26, 2025 · 0 comments
Open

Retomar com o contador de cidades automático #358

trevineju opened this issue Feb 26, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@trevineju
Copy link
Member

Passos para reproduzir

Não há passos para reproduzir.

Comportamento atual

Antes da PR #322, o contador de cidades da homepage era automático, a partir de consulta à API do QD para contagem de municípios.

O print de evidência da PR de internacionalização (print: #322 (comment)) comprova que o recurso deixou de ser utilizado.

A PR #357 adiciona uma solução provisória -- tornando o contador hardcoded --, por isso parece tudo bem no site, mas é preferível que a automação seja retomada.

Comportamento esperado

A lógica de contagem segue existindo no repositório, está em home.component, nas linhas 32 e 33:

(data.content.evolution.items[0]['count'] = data.numberOfCities.cities.length;

É esperado que o serviço de exibição de conteúdo da home volte a utilizá-la.

Informações adicionais

No response

@trevineju trevineju added the bug Something isn't working label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant