Commit Graph

20 Commits

Author SHA1 Message Date
d5763cd6d6 Rename system to SIB: update translations, logos, views, stores and logs 2026-03-09 12:19:37 -05:00
35e2a6d632 fix(favorites): adjust favorite button visibility and functionality
- removed favorite button from Discover cards

- added call button for taxis in Favorites view

- added favorite button in Shuttle details

- added Shuttles category in Favorites view
2026-03-04 16:34:47 -05:00
b89de437b2 perf: reduce background return latency via session caching and async map rendering 2026-03-04 10:43:58 -05:00
90bb93be17 fix: robust mobile suspend and auth recovery 2026-03-04 00:51:32 -05:00
af7464be43 fix: resolve blank screen on return from external links 2026-03-03 20:51:17 -05:00
cfe9286fcb fix: map lifecycle crash, state persistence with pinia-persistedstate, and premium business details UI 2026-03-03 13:21:09 -05:00
767667b1b6 refactor(map): fix race conditions and async issues with atomic GPS/Data fetch 2026-03-02 19:22:58 -05:00
6ae0e7b0bf feat: optimización integral y auditoría de rendimiento SIBU 2.0.1 2026-03-01 17:35:13 -05:00
59de2c7c23 Decouple route selection: Map uses persistent store state, Schedules uses local state. Map selection only persists on Map banner. 2026-03-01 12:38:04 -05:00
a092df33f7 Implement Session Persistence: 'Keep me logged in' now works by toggling between localStorage and sessionStorage based on user choice 2026-03-01 12:19:30 -05:00
4d7b472c6c Implement Smart Location: auto-detect user location if preference is enabled, hide location button, and handle permission denial by resetting preference 2026-03-01 12:15:08 -05:00
a8eaad7f35 perf: complete performance audit optimizations 2026-02-26 22:17:56 -05:00
2dd3384882 perf: optimization phases 3-5 2026-02-26 12:50:12 -05:00
f38f99a4c3 fix: refactor auth register to use pinia, clean up MapView obsolete telemetry call 2026-02-25 23:07:14 -05:00
b9a1b6b57f fix: simplify login flow - JWT role instant, no DB queries blocking navigation 2026-02-25 22:47:21 -05:00
963d255ea2 fix: auth flow - logout nuclear, router redirige admin a panel, login sin bloqueo BD 2026-02-25 22:38:03 -05:00
84055a25de refactor: migrate fully to Supabase, remove Firebase/Render/Python backend
- DELETED: entire backend/ (Python/FastAPI — replaced by Supabase)
- DELETED: old/ directory (obsolete code)
- DELETED: render.yaml, inject_api.py, check_tags.py, PENDING_FOR_TOMORROW.md
- DELETED: frontend/src/firebaseConfig.ts (Firebase Auth replaced by Supabase Auth)
- DELETED: frontend/src/services/apiClient.ts (HTTP client for dead backend)

- MIGRATED services to Supabase native:
  schedulesService, favoritesService, usersService,
  telemetryService (stub), reportsService, analyticsService (stub)

- MIGRATED stores/favorites.ts to Supabase direct queries
- MIGRATED views: SplashScreen, AdminTaxis, AdminDrivers, StrategicAnalytics
- MIGRATED utils/imageUrl.ts to Supabase Storage URLs

- FIXED router/index.ts: guard now uses supabase.auth.getSession()
  instead of old localStorage auth_token (fixes logout + map loading)
- FIXED AuthView.vue: removed aggressive watch({ immediate: true })
  that caused wrong redirects on map route
- FIXED SplashScreen.vue: navigate() now reads Supabase session + role
- FIXED RLS: added INSERT policy on public.users for trigger
- CONFIRMED: admin@sibu.com assigned ADMIN role in Supabase
2026-02-25 21:49:26 -05:00
7cd97365f2 🚀 Feat(Core): Migración oficial y total B a Supabase (Auth, DB, APIs) + Eliminación de Backend Python y Fixes Firebase + Soporte Vite Vercel 2026-02-25 21:01:18 -05:00
4bf75d3302 Fix favorites system, add support for bus stops and tourist trips, and improve UI consistency 2026-02-24 21:55:52 -05:00
0c7aa53c8b Initial commit: SIBU 2.0 MISSION 2026-02-21 09:53:31 -05:00