ux(agenda): renomeia botoes do modal (Reagendar depois / Mudar horario)
- 'Remarcar' -> 'Reagendar depois' (sem data, vai p/ lista A reagendar) - 'Reagendar' -> 'Mudar horario' (move p/ novo slot agora) - tooltips explicando cada acao Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -185,8 +185,9 @@ const DetailPage: React.FC<Props> = (p) => {
|
||||
<AlertCircle size={15} /> Marcar falta
|
||||
</button>
|
||||
<button onClick={() => run(() => HybridBackend.remarcarAgendamento(ag.id), 'ENVIADO PARA "A REAGENDAR".')}
|
||||
title="Sem data definida — vai para a lista 'A reagendar'"
|
||||
className="flex items-center justify-center gap-1.5 py-3 rounded-xl text-[11px] font-black uppercase border-2 bg-white border-gray-100 text-gray-500 hover:border-amber-200 hover:text-amber-600 transition-all">
|
||||
<CalendarClock size={15} /> Remarcar
|
||||
<CalendarClock size={15} /> Reagendar depois
|
||||
</button>
|
||||
{inativo ? (
|
||||
<button onClick={() => run(() => HybridBackend.restaurarAgendamento(ag.id), 'AGENDAMENTO RESTAURADO.')}
|
||||
@@ -216,8 +217,9 @@ const DetailPage: React.FC<Props> = (p) => {
|
||||
</button>
|
||||
)}
|
||||
<button onClick={() => { p.onEditar(); }}
|
||||
title="Mover para um novo horário agora"
|
||||
className="flex-1 py-3 bg-blue-600 text-white rounded-xl text-[11px] font-black uppercase hover:bg-blue-700 transition-all flex items-center justify-center gap-1.5">
|
||||
<Pencil size={15} /> Reagendar
|
||||
<Pencil size={15} /> Mudar horário
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user