Antoni Nuñez Romeu
31c1a14343
feat(frontend): integrate product search in SearchView
...
Run Tests on Branches / Detect Changes (push) Successful in 14s
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Frontend Mobile Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has been cancelled
- Add ProductResults component import
- Add products and searchMode state
- Add parallel product search to search effect
- Add filter tabs (Todos/Medicamentos/Parafarmacia)
- Render ProductResults when products found
- Add CSS for filter tabs and products section
2026-07-13 17:31:42 +02:00
Antoni Nuñez Romeu
25ebb899e9
debug: add logging for OFF API requests
Run Tests on Branches / Detect Changes (push) Successful in 15s
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m57s
Run Tests on Branches / Frontend Tests (push) Failing after 13m41s
Run Tests on Branches / Backend Tests (push) Failing after 15m38s
2026-07-13 17:13:22 +02:00
Antoni Nuñez Romeu
2e3ce44e7b
fix(backend): remove auth from OFF read operations
...
Run Tests on Branches / Detect Changes (push) Successful in 17s
Run Tests on Branches / Frontend Mobile Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has been cancelled
Run Tests on Branches / Frontend Tests (push) Has been cancelled
- READ operations don't require auth per OFF docs (only User-Agent)
- Auth credentials were causing 503 errors
- Keep User-Agent header which is required
2026-07-13 17:05:37 +02:00
Antoni Nuñez Romeu
20debdb023
fix(backend): use v2 structured search API for OFF
...
Run Tests on Branches / Detect Changes (push) Successful in 14s
Run Tests on Branches / Frontend Tests (push) Successful in 3m25s
Run Tests on Branches / Backend Tests (push) Has been cancelled
Run Tests on Branches / Frontend Mobile Tests (push) Has been cancelled
- Switch from /cgi/search.pl (503 errors) to /api/v2/search with brand filter
- Add required User-Agent header per OFF documentation
- Add OFF_USER_AGENT env var for customization
- Update .env.example with User-Agent documentation
- Retry logic continues to work with new endpoint
2026-07-13 17:00:09 +02:00
Antoni Nuñez Romeu
452a835b64
fix(backend): add retry logic and remove custom User-Agent for OFF API
...
Run Tests on Branches / Detect Changes (push) Successful in 10s
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Frontend Mobile Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has been cancelled
- Add retry logic with exponential backoff (2 retries)
- Remove custom User-Agent that was being blocked by OFF
- Fix syntax error (missing catch block)
- OFF API blocks anonymous users during high demand
2026-07-13 16:43:54 +02:00
Antoni Nuñez Romeu
f1b0eab11d
feat(backend): add Open Food Facts authentication support
...
Run Tests on Branches / Detect Changes (push) Successful in 11s
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Frontend Mobile Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has been cancelled
- Add OFF_USERNAME and OFF_PASSWORD env vars
- Use Basic Auth when credentials are provided
- Improves rate limits for authenticated requests
- Auth is optional (works without credentials)
2026-07-13 16:28:34 +02:00
Antoni Nuñez Romeu
ee23f61057
fix(backend): improve OFF API error handling
...
Run Tests on Branches / Detect Changes (push) Successful in 9s
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Frontend Mobile Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has started running
- Validate response is JSON before parsing (OFF returns HTML on 503)
- Don't cache empty results to avoid blocking future searches
- Add validateStatus to only accept 200 responses
- Better logging for API failures
2026-07-13 16:23:07 +02:00
Antoni Nuñez Romeu
26f309acfb
fix(backend): switch OFF API to /cgi/search.pl endpoint and fix test imports
...
Run Tests on Branches / Detect Changes (push) Successful in 8s
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Frontend Mobile Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has been cancelled
- Changed from /api/v2/search (returning 503) to /cgi/search.pl (working)
- Removed strict categories_tags=baby-food filter that was too restrictive
- Fixed test file to use dynamic imports for ES module compatibility
- Increased timeout to 10s for reliability
2026-07-13 16:18:11 +02:00
Antoni Nuñez Romeu
4df1594b3b
docs: add design spec and implementation plan for parapharmacy + baby products
Run Tests on Branches / Detect Changes (push) Successful in 8s
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Frontend Mobile Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has been cancelled
2026-07-13 15:56:00 +02:00
Antoni Nuñez Romeu
981f3bd3db
fix: address code review issues — nutriscore field name, cache write isolation, missing rate limiter, dead props
2026-07-13 15:46:47 +02:00
Antoni Nuñez Romeu
83920ae57c
feat: display product results alongside medicine results in MedicineResults component
2026-07-13 15:35:11 +02:00
Antoni Nuñez Romeu
7b1636a96e
feat(mobile): add product detail screen for CIMA and OFF products
2026-07-13 15:33:34 +02:00
Antoni Nuñez Romeu
bb2dbbab3a
feat(mobile): integrate product search with filter tabs in search screen
2026-07-13 15:31:39 +02:00
Antoni Nuñez Romeu
d5b23aa94a
feat(mobile): add products API service with search and detail endpoints
2026-07-13 15:28:55 +02:00
Antoni Nuñez Romeu
9e786f2966
feat(frontend): integrate product search into PublicView with filter tabs
2026-07-13 15:27:47 +02:00
Antoni Nuñez Romeu
a709deb893
feat(frontend): add ProductResults component for unified product search
...
Displays CIMA OTC and Open Food Facts baby products with source/category
badges, product images, brand info, and Nutri-Score for OFF items.
2026-07-13 15:25:35 +02:00
Antoni Nuñez Romeu
229e1d8106
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 15:23:43 +02:00
Antoni Nuñez Romeu
f2a5dc4ca3
feat(backend): add CIMA OTC search function with Redis caching
2026-07-13 15:18:20 +02:00
Antoni Nuñez Romeu
d62e5976ce
fix: remove dead BABY_CATEGORIES constant and emoji from logs
2026-07-13 15:17:02 +02:00
Antoni Nuñez Romeu
d6f4164dae
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 15:10:46 +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
Antoni Nuñez Romeu
2a7ab64bbf
feat(mobile): improve login, profile, alerts screens and dark mode background
...
Run Tests on Branches / Detect Changes (push) Successful in 8s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Successful in 1m41s
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m46s
- Unify login/register into single screen with tab switcher, logo, and themed inputs
- Redesign profile with header card, segmented theme toggle, icon-based menu, and bottom-sheet modals
- Add auth guard to alerts screen showing login prompt instead of 401 error
- Switch ImageBackground to explicit Image+View layering for reliable rendering
- Add dark mode background image switching in root layout
- Add dark mode override for recent-tag in PWA search view
2026-07-10 16:39:59 +02:00
Antoni Nuñez Romeu
d371fd2bb7
Changes in background and dark mode
Run Tests on Branches / Detect Changes (push) Successful in 8s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m43s
2026-07-10 12:41:10 +02:00
Antoni Nuñez Romeu
8b9b7e8444
Dark mode improvements and FarmaClic rebranding
...
Run Tests on Branches / Detect Changes (push) Successful in 12s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Successful in 1m55s
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m51s
- Dark mode: gray background instead of pure black
- Dark mode: improved notification card visibility (SavedNotifications)
- Dark mode: improved alerts view badge contrast (AlertsView)
- Dark mode: custom pharmacy-themed background image
- Rebranding: replace all logos with FarmaClic branding
- Update PWA icons, favicon, apple-touch-icon, and mobile app icons
2026-07-10 09:58:36 +02:00
Ichitux
f58b4427a8
Merge fixing things
Build & Push Docker Images / Detect Changes (push) Successful in 7s
Build & Push Docker Images / Backend Tests (push) Successful in 1m47s
Build & Push Docker Images / Frontend Tests (push) Has been skipped
Build & Push Docker Images / Build Backend (push) Successful in 26s
Build & Push Docker Images / Build Frontend (push) Has been skipped
Build & Push Docker Images / Deploy (push) Successful in 23s
2026-07-09 17:39:44 +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
Antoni Nuñez Romeu
e9a1d7c53d
Add dark mode for PWA frontend
Run Tests on Branches / Detect Changes (push) Successful in 12s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Successful in 1m47s
Run Tests on Branches / Frontend Mobile Tests (push) Has been skipped
2026-07-09 13:18:25 +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
Ichitux
302d574220
Manifest changes to PWA
Run Tests on Branches / Detect Changes (push) Successful in 8s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Successful in 2m6s
Run Tests on Branches / Frontend Mobile Tests (push) Has been skipped
2026-07-08 23:54:50 +02:00
Antoni Nuñez Romeu
d6db48b695
fix(mobile): align background, API config, and search bar with PWA
...
Run Tests on Branches / Detect Changes (push) Successful in 11s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m46s
- Add background image matching PWA (bg.png with opacity + overlay)
- Fix production API URL to farmacias.hacecalor.net
- Replace raw fetch calls in alerts.tsx with configured api service
- Constrain SearchBar max-width to 420px to prevent horizontal clipping
2026-07-08 14:23:58 +02:00
Antoni Nuñez Romeu
0099aab093
mobile ui fix
Run Tests on Branches / Detect Changes (push) Successful in 8s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Successful in 1m48s
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m49s
2026-07-07 23:43:18 +02:00
Antoni Nuñez Romeu
fe08dd512e
Faro & grafana improvements 2
2026-07-07 23:40:40 +02:00
Antoni Nuñez Romeu
6612c8b10c
Faro & grafana improvements
Run Tests on Branches / Detect Changes (push) Successful in 8s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Successful in 1m46s
Run Tests on Branches / Frontend Mobile Tests (push) Has been cancelled
2026-07-07 23:40:04 +02:00
Antoni Nuñez Romeu
aae3ac04af
Faro & grafana improvements
2026-07-07 23:39:37 +02:00
Antoni Nuñez Romeu
69ef048388
fix: tab bar not visible on Android
...
Run Tests on Branches / Detect Changes (push) Successful in 8s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m39s
Add SafeAreaProvider to root layout and use dynamic safe area insets
for tab bar height/padding instead of hardcoded values that didn't
account for Android system navigation bar.
2026-07-07 21:04:42 +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
9949b85001
Refactor frontend-mobile
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has been cancelled
2026-07-07 18:08:44 +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
7eb791f181
chore: update app icons across Expo, iOS, Android, and web
...
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has been cancelled
Replace all app icons, favicons, and splash assets with new
FarmaClic branding from provided AppIcons and ImageSets assets.
2026-07-07 17:43:47 +02:00
Antoni Nuñez Romeu
fc12582814
fix: add missing @expo/vector-icons dependency to frontend-mobile
...
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has been cancelled
The Android build was failing because @expo/vector-icons was not listed
in package.json despite being imported in app/(tabs)/_layout.tsx.
2026-07-07 15:57:55 +02:00
Ichitux
006fae43d4
Merge branch 'main' into notification_fixes
Run Tests on Branches / Backend Tests (push) Successful in 1m59s
Run Tests on Branches / Frontend Tests (push) Successful in 1m50s
2026-07-07 13:24:40 +00: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
afaa4de385
Google services, design fixes
Run Tests on Branches / Backend Tests (push) Successful in 2m2s
Run Tests on Branches / Frontend Tests (push) Successful in 1m55s
2026-07-07 12:50:32 +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
c5417ff787
feat: mobile profile with read-only fields and Configuración modal
2026-07-07 01:38:38 +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
c46a3ee7ea
fix: Mis Direcciones now shows address history instead of notifications
2026-07-07 01:16:06 +02:00
Antoni Nuñez Romeu
4f36820d34
feat: save search history when sorting pharmacies by distance
2026-07-06 18:47:43 +02:00
Antoni Nuñez Romeu
eb3cde67eb
feat: redesign mobile profile with editable fields and avatar upload
2026-07-06 18:07:14 +02:00