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
This commit is contained in:
Antoni Nuñez Romeu
2026-07-07 12:09:42 +02:00
parent 166e9635a1
commit 4404db62ee
34 changed files with 1625 additions and 60 deletions
+14 -1
View File
@@ -4,6 +4,12 @@
margin: 0 auto;
}
@media (min-width: 1024px) {
.search-view {
max-width: 70rem;
}
}
.search-content {
padding: 1rem var(--margin-main) 2rem;
animation: fadeInUp 0.5s ease-out;
@@ -195,11 +201,18 @@
.selected-medicine-section {
margin-top: 1.5rem;
max-height: 60vh;
max-height: 70vh;
overflow-y: auto;
overscroll-behavior: contain;
}
@media (min-width: 1024px) {
.selected-medicine-section {
max-height: 76vh;
}
}
.medicine-info {
background: var(--surface-container-lowest);
border-radius: var(--radius-md);