Implement Nested Profile Response & Editable Profile Card #205
Notifications
Total Time Spent: 8 minutes
kincses
8 minutes
No due date set.
Dependencies
No dependencies set.
Reference: kincses/service-finder#205
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Mérföldkő: Backend Refactor + Frontend Profile
Cél: A GET /users/me végpont UserResponse sémájának bővítése beágyazott Person és Address adatokkal, valamint a profil kártya helyben szerkeszthetővé tétele a frontenden.
🔗 Függőségek (Dependencies)
📝 Elemzés
A jelenlegi UserResponse séma túl lapos, nem tartalmazza a Person és Address beágyazott adatokat. A frontend profil kártyája ezért üres mezőket mutat. Szükség van:
▶️ Munka megkezdve: 2026-06-05 00:50:01
✅ Munka befejezve: 2026-06-05 00:58:29
Technikai Összefoglaló:
Nested Profile Response & Editable Profile Card implemented. Changes: (1) AddressResponse/PersonResponse Pydantic schemas with nested structure in UserResponse, (2) Eager loading with joinedload(User.person).joinedload(Person.address) in get_current_user, (3) PUT /users/me/person endpoint with GeoService address creation, (4) Wallet model FK ondelete=CASCADE fix, (5) Frontend ProfileView.vue inline editing with isEditing state and editForm, (6) Auth store updatePerson action with PersonData/AddressData interfaces, (7) Person model address relationship added, (8) Fixed missing Device/UserDeviceLink exports in identity init.py, (9) Fixed missing Optional import in auth.py. Sync engine passed, backend running.
⏱️ Az idő rögzítve.