feat: comentario al completar turno, Google Sheets corregido, scheduling 8:30-17 5 slots, mejoras responsive
Deploy / deploy (push) Failing after 12m35s

- Agrega campo comentario opcional al marcar turno COMPLETADO (textarea en UI, guardado en DB, escrito en col N del sheet)
- Corrige mapeo Google Sheets: email→I, telefono→J, vacíos en K-M, comentario→N
- Actualiza scheduling: inicio 8:30, fin 17:00, máx 5 turnos simultáneos
- entrypoint.sh: migrate deploy → db push para aplicar cambios de schema automáticamente
- Historial cliente: tarjetas visuales con header, fecha y observaciones destacadas
- Dashboard/turnos cliente: mejoras responsive mobile
- Fix display duración: 0.5 hs → "30 min"

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Beldor
2026-06-22 21:57:27 -03:00
parent e556e2f16b
commit c2b0e39b06
9 changed files with 146 additions and 73 deletions
+5 -5
View File
@@ -79,7 +79,7 @@ export default function DashboardPage() {
<div className="flex flex-col gap-4">
{autos.map((auto) => (
<Card key={auto.id} className="hover:shadow-md transition">
<div className="flex items-center justify-between flex-wrap gap-3">
<div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3">
<div>
<p className="font-semibold text-gray-800">
{auto.marca} {auto.modelo} <span className="text-gray-500">({auto.anio})</span>
@@ -87,13 +87,13 @@ export default function DashboardPage() {
<p className="text-sm text-gray-500 font-mono mt-0.5">{auto.patente}</p>
</div>
<div className="flex gap-2">
<Link href={`/cliente/historial?autoId=${auto.id}`}>
<Button variant="secondary" className="text-sm">
<Link href={`/cliente/historial?autoId=${auto.id}`} className="flex-1 sm:flex-none">
<Button variant="secondary" className="text-sm w-full sm:w-auto">
📋 Historial
</Button>
</Link>
<Link href={`/cliente/turnos?autoId=${auto.id}`}>
<Button className="text-sm">
<Link href={`/cliente/turnos?autoId=${auto.id}`} className="flex-1 sm:flex-none">
<Button className="text-sm w-full sm:w-auto">
📅 Sacar turno
</Button>
</Link>