AgendaPro Dev
3f84371842
docs: harden demo email migration checks
2026-07-27 13:48:12 -06:00
AgendaPro Dev
811b664405
docs: plan demo email migration
2026-07-27 12:13:35 -06:00
AgendaPro Dev
50dea33728
docs: record demo access task report
2026-07-27 11:38:49 -06:00
AgendaPro Dev
6355d18a07
docs: standardize AgendaMax demo access
2026-07-27 11:36:42 -06:00
AgendaPro Dev
0e6195ce23
Merge branch 'main' of https://gitea-hjwh0svsoo9p5w5kj2j6b1bd.urieljareth.org/urieljareth/AgendaPro
2026-07-27 10:12:48 -06:00
AgendaPro Dev
bec3e45573
deploy: add Dockerfile + .dockerignore for Coolify
2026-07-27 10:11:47 -06:00
AgendaPro Dev
d796538fd9
feat: rebrand AgendaPro -> AgendaMax + calendar fixes + current-week demo seed
...
- Rebrand all user-facing text to AgendaMax
- Fix sidebar scrolling: card container no longer overflows html (flex h-full min-h-0)
- Fix calendar toolbar hover: active buttons keep readable contrast
- Sticky calendar toolbar (month/week/day always visible on scroll)
- Seed guarantees 2-4 appointments per day for current week (Mon-Sat)
2026-07-27 10:11:16 -06:00
AgendaPro Dev
4227db0c8b
docs: spec + implementation plan for specialist auto-assignment
...
Design doc (docs/superpowers/specs) and task-by-task implementation plan (docs/superpowers/plans) for the auto-assign + booking redesign.
2026-07-26 16:00:04 -06:00
AgendaPro Dev
5410e27c89
feat(ui): booking redesign + auto-assign settings + specialist fields
...
Dynamic 3/4-step wizard (omits specialist step when auto-assign on), always-visible MonthCalendar, 2-column desktop layout with morning/afternoon slot grouping, confirmation reasons badges. Settings: auto-assign checkbox + business working-hours editor. Employee modal: specialties, efficiency, per-employee working hours. Fix icon/placeholder overlap app-wide via @layer components + pl-10.
2026-07-26 15:59:41 -06:00
AgendaPro Dev
ed608656e0
feat(backend): auto-assign + transactional double-booking guard + working-hours slots
...
POST /book and POST /appointments now resolve the specialist via autoAssign (or isAvailable-guard a chosen one) inside BEGIN IMMEDIATE...COMMIT, returning 409 on conflict. Slots endpoint derives the day window from real working_hours and ranks the best specialist per slot. settings/employees expose + persist the new fields. Adds booking-e2e.mjs and adapts e2e-test.mjs fixtures to in-hours slots.
2026-07-26 15:59:28 -06:00
AgendaPro Dev
811d2a24b2
feat(scheduling): specialist scoring + availability module with unit tests
...
Pure helpers (parseWorkingHours, getWorkingHoursForDate, specialtyMatch, overlaps, scoreCandidate) + DB-backed functions (getCandidates, isAvailable, pickBestSlotEmployee, autoAssign, runInTransaction). Hard constraint: no overlap with existing (scheduled,completed) appts + within working-hours window. Score = 50*specialty + 30*efficiency + 20*(1-load). 15 node:test unit tests.
2026-07-26 15:59:16 -06:00
AgendaPro Dev
9d78663cfe
feat(db): v4 migration + shared types for specialist auto-assignment
...
Adds auto_assign_specialist + working_hours to businesses, and specialties + working_hours + efficiency_score to employees, with idempotent migrateV3ToV4 (backfills default Lun-Vie 09:00-20:00 working hours). Updates Business/Employee types and adds WorkingHoursMap.
2026-07-26 15:59:02 -06:00
AgendaPro Dev
e8d2435cc2
AgendaPro v1.0 - multi-tenant SaaS, mobile calendar, public booking
...
Multi-tenant scheduling SaaS (AgendaPro-equivalent):
- Backend: Node + Express + node:sqlite, multi-tenant (admin/owner/employee),
versioned migrations, 4 templates (estetica-spa, barberia, clinica, blank).
- Frontend: React 18 + TS + Vite + Tailwind, FullCalendar drag-and-drop,
Recharts dashboard, mobile-first (day/list views on mobile).
- Features: calendar+services+employees+clients+tickets, dashboard with
best employee/service, top tickets, top/frequent clients, commissions,
cancellation policy + no-show tracking, public online booking (/b/:slug),
cash register (cierre de caja), reminders/notifications center.
- Verification: 65/65 e2e API, 58/58 visual (0 overflow, 0 console errors),
typecheck clean, vite build OK.
2026-07-25 13:45:53 -06:00