Commit Graph

20 Commits

Author SHA1 Message Date
Antoni Nuñez Romeu 6fa12b12d9 fix: address code review issues — nutriscore field name, cache write isolation, missing rate limiter, dead props 2026-07-13 20:58:41 +02:00
Antoni Nuñez Romeu 1a2e9aafb2 Add unified product search routes (CIMA OTC + Open Food Facts)
- GET /api/products/search?q={query} - parallel search across both sources
- GET /api/products/:source/:id - product detail by source (cima/openfoodfacts)
- Uses Promise.allSettled for fault-tolerant parallel search
- Added imports for searchOTC and OFF service functions
2026-07-13 20:58:40 +02:00
Antoni Nuñez Romeu edfe7d6390 feat(backend): add CIMA OTC search function with Redis caching 2026-07-13 20:58:40 +02:00
Antoni Nuñez Romeu b7ca3633e6 fix: remove dead BABY_CATEGORIES constant and emoji from logs 2026-07-13 20:58:40 +02:00
Antoni Nuñez Romeu e48ef31fee feat(backend): add Open Food Facts service with Redis caching
- transformOFFProduct: maps OFF products to unified Product model
- searchBabyProducts: searches baby products via OFF API (1h cache)
- getBabyProductDetails: fetches product details by barcode (1h cache)
- 9 tests passing for transform logic and input validation
2026-07-13 20:58:40 +02:00
Antoni Nuñez Romeu 0c43d32cf1 feat: add Expo Push notifications for mobile and configure EXPO_ACCESS_TOKEN
Run Tests on Branches / Detect Changes (push) Successful in 13s
Run Tests on Branches / Backend Tests (push) Successful in 1m58s
Run Tests on Branches / Frontend Tests (push) Successful in 1m53s
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m49s
- Backend: add expo_push_tokens table, expo-register/unregister endpoints, hybrid VAPID+Expo push sender
- Mobile: register Expo push token on app launch, bell toggle on medicine/pharmacy detail screens
- .env.example: document EXPO_ACCESS_TOKEN configuration
- Dark mode hover fixes for search suggestions and recent buttons
2026-07-13 12:21:25 +02:00
Ichitux 2f36ef685d Mobile App design
Run Tests on Branches / Detect Changes (push) Successful in 10s
Run Tests on Branches / Backend Tests (push) Successful in 2m12s
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m47s
2026-07-09 13:33:54 +02:00
Ichitux 5f604b11ba Frontend Hotfixes & Backend improvements
Run Tests on Branches / Detect Changes (push) Successful in 9s
Run Tests on Branches / Backend Tests (push) Successful in 1m51s
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m44s
2026-07-09 00:58:31 +02:00
Antoni Nuñez Romeu ce3cca1d79 Add logo home + ocr changes for TSI
Run Tests on Branches / Detect Changes (push) Successful in 7s
Run Tests on Branches / Backend Tests (push) Successful in 1m53s
Run Tests on Branches / Frontend Tests (push) Successful in 1m53s
Run Tests on Branches / Frontend Mobile Tests (push) Has been skipped
2026-07-07 18:36:34 +02:00
Antoni Nuñez Romeu a58ce306bf Missing files from commit
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has been cancelled
2026-07-07 17:44:36 +02:00
Antoni Nuñez Romeu 071ed91e43 Notify to PGSql instead of SQLite
Run Tests on Branches / Backend Tests (push) Successful in 1m52s
Run Tests on Branches / Frontend Tests (push) Has been cancelled
2026-07-07 15:22:22 +02:00
Antoni Nuñez Romeu 4404db62ee feat: avatar popup options, profile redesign, and search dosage parsing
Run Tests on Branches / Backend Tests (push) Successful in 2m3s
Run Tests on Branches / Frontend Tests (push) Successful in 1m56s
- Added avatar selection popup with predefined avatar options
- Redesigned ProfileView (web + mobile) with avatar upload and editable fields
- Added AvatarSelectionModal for mobile profile
- Fixed medicine search: parse dosage terms (e.g. 'Paracetamol 1G')
  to query CIMA only by name and filter by dosage field
- Updated styles for profile, search, and medicine results
2026-07-07 12:09:42 +02:00
Antoni Nuñez Romeu fe22e6ee9b Profile and design hotfixes
Run Tests on Branches / Backend Tests (push) Failing after 17s
Run Tests on Branches / Frontend Tests (push) Failing after 17s
2026-07-07 01:45:09 +02:00
Antoni Nuñez Romeu b899d9a297 feat: read-only name fields with Configuración modal for profile editing 2026-07-07 01:37:57 +02:00
Antoni Nuñez Romeu 86a4e119b0 feat: add profile fields and search history API 2026-07-06 18:01:18 +02:00
Antoni Nuñez Romeu 30a3444da5 Merge branch 'turborepo_changes'
Build & Push Docker Images / test-backend (push) Successful in 1m47s
Build & Push Docker Images / test-frontend (push) Successful in 1m43s
Build & Push Docker Images / build-backend (push) Successful in 2m32s
Build & Push Docker Images / build-frontend (push) Failing after 20s
Build & Push Docker Images / deploy (push) Has been skipped
2026-07-06 17:37:28 +02:00
Antoni Nuñez Romeu 877eaeff70 Hotfixes api newer path
Run Tests on Branches / Backend Tests (push) Failing after 14s
Run Tests on Branches / Frontend Tests (push) Failing after 14s
2026-07-06 17:25:57 +02:00
Antoni Nuñez Romeu 0785653474 Hotfixes in ci/cd and notifications
Run Tests on Branches / Backend Tests (push) Failing after 1m30s
Run Tests on Branches / Frontend Tests (push) Successful in 1m42s
2026-07-06 17:18:15 +02:00
Antoni Nuñez Romeu ed741104ba Cleanup folders & hotfixes on ci/cd
Run Tests on Branches / Backend Tests (push) Failing after 3m0s
Run Tests on Branches / Frontend Tests (push) Successful in 2m10s
2026-07-06 16:36:57 +02:00
Antoni Nuñez Romeu 190b3d163d Restructure with Turborepo
Run Tests on Branches / Backend Tests (push) Successful in 3m38s
Run Tests on Branches / Frontend Tests (push) Successful in 3m28s
2026-07-06 15:51:53 +02:00