From ddcc639ab64cb1eca31c5466437b410b828be5d4 Mon Sep 17 00:00:00 2001 From: VPS 4 Builder Date: Mon, 6 Jul 2026 19:22:04 +0200 Subject: [PATCH] =?UTF-8?q?feat(agenda):=20coluna=20"Agenda=20Cl=C3=ADnica?= =?UTF-8?q?"=20no=20desktop=20com=20a=20estrutura=20do=20mobile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As ações da coluna de controles no desktop eram só uma fileira de ícones sem rótulo (difícil saber o que era cada um). Agora o desktop herda a estrutura do mobile: botões empilhados com ícone + nome (Atividade da equipe, Pedidos pendentes, Configurações, Meus Horários, etc.), badges reposicionados junto ao ícone. Co-Authored-By: Claude Opus 4.8 --- frontend/views/AgendaView.tsx | 36 +++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/frontend/views/AgendaView.tsx b/frontend/views/AgendaView.tsx index 3467ed9..3599a70 100644 --- a/frontend/views/AgendaView.tsx +++ b/frontend/views/AgendaView.tsx @@ -658,60 +658,60 @@ export const AgendaView: React.FC<{ onNavigate?: (view: string) => void; sidebar )} {/* Ações — mobile: empilhadas, ícone + nome, largura cheia; desktop: fileira de ícones */} -
+
{(currentRole !== 'paciente') && ( )} {(currentRole === 'admin' || currentRole === 'donoclinica' || currentRole === 'donoconsultorio') && ( )} {['admin', 'donoclinica', 'donoconsultorio', 'funcionario'].includes(currentRole) && ( )} {(currentRole === 'admin' || currentRole === 'donoclinica' || currentRole === 'donoconsultorio') && ( )} {souDentista && ( )} {souDentista && ( )} {(currentRole !== 'paciente' && !souDentista) && ( )}