19 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
Felipe e82c7c3afd services 2024-04-05 11:56:45 -05:00
Felipe fca6d41ad8 info pro 2024-03-24 14:54:21 -05:00
Felipe ae4dc866b0 fix city 2024-03-13 15:09:41 -05:00
Felipe 6806703360 add city 2024-03-13 14:38:47 -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 29d18e93e0 after 2024-02-19 20:36:45 -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 d9d6b50d78 stream 2024-02-16 11:14:01 -05:00
Felipe 9ca2b62be3 bloc 2024-02-16 08:52:37 -05:00