Commit Graph
16 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 Guarnizo e27955d671 up 2024-05-21 10:26:19 -05:00
lizandrogd a99c2c242a update 2023-12-03 12:41:51 -05:00
lizandrogd a0193bb43f update 2023-11-16 20:04:35 -05:00
lizandrogd 5fc8e00f77 update 2023-11-08 17:28:09 -05:00
lizandrogd b1868fe204 update 2023-10-25 09:44:26 -05:00
lizandrogd 5e5301412a update funcional 2023-10-23 18:31:01 -05:00
lizandrogd 9a08f10313 update 2023-10-12 13:56:50 -05:00
lizandrogd 6520495bc7 update 2023-10-12 13:42:43 -05:00
lizandrogd cfa52bbbe8 update ios 2023-10-12 13:22:03 -05:00
lizandrogd 0d1a06bcf9 update 2023-09-01 16:06:36 -05:00
lizandrogd b6b7edcec9 update 2023-08-20 15:00:52 -05:00
lizandrogd ec47617dfd update 2023-08-17 20:37:24 -05:00
lizandrogd 809873894c update 2023-07-31 09:59:49 -05:00
Juan Felipe Duarte 1884b82d83 Register con gmail y screen welcome 2023-03-28 17:35:52 -05:00
Juan Felipe Duarte 203912d362 Initial commit 2023-03-24 18:39:59 -05:00