Uh oh!
There was an error while loading. Please reload this page.
Conversation
## Card - PAV-84 ## Objetivo e escopo - Remover dados fictícios de mensagens e notificações exibidos no cabeçalho do dashboard. - Manter os feeds reais carregados pelos serviços já existentes. ## O que foi feito - Remove os valores iniciais de mensagens e notificações do `Header`. - Define estados vazios como padrão quando não há dados carregados. - Ajusta o teste de cobertura para validar as mensagens de estado vazio. ## Módulos afetados - `frontend/src/domains/new_dashboard/components/layout/Header.tsx` - `frontend/tests/unit/new_dashboard/branch-coverage.test.tsx` ## Validação - [x] `npm ci` - [x] `npm run test:coverage --workspace=frontend` - 52 arquivos e 340 testes aprovados. - [x] `npm run test:coverage --workspace=backend` - 60 arquivos e 570 testes aprovados. - [x] `npm run lint --workspace=frontend` - concluído sem erros. - [x] `npm run build --workspace=frontend` - concluído com sucesso. - [x] Teste automatizado do cabeçalho cobre os menus de mensagens e notificações sem dados reais. ## Riscos e observações - Sem alteração de contrato de API. - Quando o feed não retornar itens, o cabeçalho passa a exibir explicitamente o estado vazio, em vez de dados de demonstração.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.