Style: Substituicao do window.confirm por um AlertDialog (shadcn/ui)#592
Hidden character warning
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Sugestão de melhoriaSeria interessante abstrair o Proposta
Mensagem dinâmicaAtualmente a mensagem está genérica ("excluir este item"). Podemos melhorar a experiência tornando-a dinâmica, permitindo passar o nome da entidade: Exemplo:
Ajuste de botão
Isso deixa o componente mais genérico e reutilizável para outros cenários além de exclusão. Benefícios:
|
… component confirm-modal
8783cf2 to
538638c
Compare
…s-e-transtornos-com-modal-shadcnui


Descrição da Issue:
Essa mudança padroniza a interface de modais de confirmação no sistema, proporcionando:
526-padronizar-confirmacao-de-exclusao-vacinas-e-t.mp4