feat: 6 mejoras simultáneas en prosappweb

- web/index.html: lang=es (evita traductor) + cache busting con timestamp en flutter_bootstrap.js
- profesional.dart: rate → número, location_preferences → string para coincidir con backend DTO
- location_preferences.dart: funciones locationPrefsToString/locationPrefsFromValue
- auth_provider.dart: _navigateAfterAuth redirige a setup-city si user.city vacío, método updateCity y linkEmailWithOtp
- setup_city_view.dart: nueva vista con GPS + Nominatim para detectar ciudad, campo editable, omitir
- email_view.dart: rediseño completo con flujo OTP (paso 1: email+contraseña → paso 2: código recibido en correo)
- router + dashboard_handlers: ruta /dashboard/setup-city

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-06-28 11:34:51 -05:00
co-authored by Claude Sonnet 4.6
parent f433bb2f6e
commit 0711d30f07
8 changed files with 716 additions and 148 deletions
+9 -2
View File
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="es">
<head>
<base href="$FLUTTER_BASE_HREF">
<meta charset="UTF-8">
@@ -89,6 +89,13 @@
});
</script>
<script src="flutter_bootstrap.js" async></script>
<script>
// Force cache busting: append build timestamp so stale JS/CSS is never reused
var _v = new Date().getTime();
var _s = document.createElement('script');
_s.src = 'flutter_bootstrap.js?v=' + _v;
_s.async = true;
document.body.appendChild(_s);
</script>
</body>
</html>