Commit Graph
35 Commits
Author SHA1 Message Date
Lizandro GuarnizoandClaude Opus 5 8631e6f729 fix: port 7 web features and repair the endless-loading screens
Root cause behind most "stuck loading" reports: the backend changed shape
(schedules became an array, location_preferences a string) while the mobile
parser still hard-cast to Map/int. The TypeError was swallowed by a silent
catch that returned null, and screens only handled the success state, so a
parse failure rendered as a permanent spinner. Same class of bug appeared
across service lists via non-null map lookups and a total absence of
request timeouts.

Ported from prosappweb:
- in-app suggestions (POST /suggestions)
- policies/terms from GET /settings/policies
- configurable appointment length (slot_duration_minutes)
- block/unblock calendar slots (POST /services/block)
- GPS city detection on the profile (Nominatim)
- server-side professional search with haversine distance
- retry cooldown after a rejected professional application

Reliability:
- parse schedules array (day_of_week 0=Mon) and string location_preferences
- read times as wall clock, so 08:00 stays 08:00 across timezones
- carry minutes into hours in TimeOfDay.add; a minute-based step used to
  loop forever and freeze the calendar (covered by test/time_slots_test.dart)
- semver update check instead of string equality, which blocked every build
  that did not exactly match the configured version
- request timeouts across all repositories
- surface HTTP >= 400 instead of reporting failed writes as success
- error states with retry instead of an indefinite shimmer

Includes pre-existing uncommitted work from the UI redesign.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-24 16:45:42 -05:00
Lizandro GuarnizoandClaude Sonnet 4.6 733384091c feat: migrate prosappco from Firebase to NestJS REST API (Fase 2)
- Replace all Firebase* repositories with Api* repositories using HTTP + SharedPreferences JWT
- Remove Firebase.initializeApp() and firebase_messaging background handler from main.dart
- Update DI (app_di.dart) to inject Api* repositories instead of Firebase* ones
- Replace all Timestamp/cloud_firestore usage with ISO 8601 String dates
- Stub PhoneVerificationService (Firebase phone OTP → backend OTP when implemented)
- Add ApiService singleton with JWT management in lib/services/
- Legacy firebase_*_repository.dart files preserved for Fase 4 cleanup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 16:53:11 -05:00
Felipe 721111ea31 update 2024-10-25 21:35:21 -05:00
Felipe f1b2497c92 update faltan los ifs 2024-05-24 17:53:12 -05:00
Felipe 5db51bc86a calendario profesional 2024-05-23 21:41:49 -05:00
Felipe 8b34e7d12d numero de solicitudes 2024-04-25 23:52:16 -05:00
Felipe c874178019 score 2024-04-18 18:29:41 -05:00
Felipe 8084d5fc7f after 2024-04-18 15:51:23 -05:00
Felipe 142c09d389 fix pov user y profesional 2024-04-18 10:23:43 -05:00
Felipe 141d11a141 puntacion 2024-04-17 00:48:46 -05:00
Felipe ef06730840 servicio 2024-04-09 21:28:16 -05:00
Felipe 60547febb6 antes de agregar el id 2024-04-07 18:03:51 -05:00
Felipe bfe782e47e historial y pendientes 2024-04-06 20:50:37 -05:00
Felipe e82c7c3afd services 2024-04-05 11:56:45 -05:00
Felipe ac16be0406 mapa 2024-03-27 09:54:27 -05:00
Felipe fca6d41ad8 info pro 2024-03-24 14:54:21 -05:00
Felipe f37f8c89c2 horario pro 2024-03-19 22:00:48 -05:00
Felipe 10536be873 actualiza todos los campos excepto schedule 2024-03-19 15:40:07 -05:00
Felipe b7b66c389f switch pro mode 2024-03-18 12:09:03 -05:00
Felipe e5a8221edf pdfs 2024-03-15 16:55:01 -05:00
Felipe a3c50cf2c8 form pro - sin imagenes 2024-03-14 22:07:46 -05:00
Felipe 66125235dd configuracion - sugerencias - soporte 2024-03-13 23:55:48 -05:00
Felipe a25bc6a987 new city 2024-03-13 13:59:33 -05:00
Felipe 312cc3d863 auth phone and re auth phone 2024-03-12 20:02:00 -05:00
Felipe 13896f2b6d update 2024-03-11 09:24:29 -05:00
Felipe a71fc9efb6 comp 2024-02-27 17:32:16 -05:00
Felipe 906ebb4330 hero 2024-02-26 18:15:06 -05:00
Felipe 25c898ba19 a 2024-02-26 17:33:28 -05:00
Felipe 11d9ee6d35 after rediense 2024-02-26 16:32:31 -05:00
Felipe a1e367bdf3 before rediense 2024-02-26 14:46:26 -05:00
Felipe e00772f58a label 2024-02-20 17:11:43 -05:00
Felipe 997c6047bb before 2024-02-19 18:16:51 -05:00
Felipe 9e6f76e309 drawer 2024-02-16 20:43:51 -05:00
Felipe 1b565d70f4 stream image 2024-02-16 11:37:12 -05:00
Felipe 9ca2b62be3 bloc 2024-02-16 08:52:37 -05:00