• Joined on 2026-08-03
ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:06:56 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

ClassName template literal is hard to read. Extract conditional classes into a variable or use a helper like clsx.

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:06:55 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

Inline review

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:06:55 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

Inline review

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:06:55 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

Inline review

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:06:55 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

Consider moving the tabs array outside the component to avoid recreating it on every render.

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:06:55 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

Exact pathname match may not highlight parent tab for nested routes (e.g., /jefe/dashboard/123). Consider using pathname.startsWith(t.href).

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:06:43 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

Inline review

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:06:43 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

Magic number 24 for max hours. Define as constant for maintainability.

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:06:43 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

No pagination on findMany; could return large dataset. Consider adding take/skip or cursor pagination.

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:06:43 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

Inline review

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:06:42 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

Inline review

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:06:42 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

req.json() throws on invalid JSON, resulting in 500. Wrap in try-catch to return 400.

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:06:42 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

Inline review

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:06:42 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

Inline review

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:06:16 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

Inline review

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:06:16 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

Inline review

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:06:16 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

Inconsistent return types in ternary: string vs React element. Use a string for both branches.

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:05:59 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

Inline review

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:05:59 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

Ensure resultado.turno includes the same include relations (auto, tipoServicio, jefeMecanico) as before for client compatibility.

ai-bot commented on pull request jpbeldomenico/taller_automotriz#4 2026-08-05 12:05:59 -03:00
feat: bot de reservas por WhatsApp (F0) y flujo web jefe -> trabajo

Inline review