Proje: OkulUp · Hub: OkulUp — Domain

Profil ve Ayarlar

Profil Bölümleri

  • AccountInfoCard — ad, email, telefon (read-only özet)
  • ProfileEditForm — ad, soyad, telefon, biyografi, doğum tarihi düzenleme
  • ProfileAvatar + AvatarUploadSheet — avatar yükleme/silme
  • SessionInfo — giriş zamanı vb.
  • LogoutButton — logout

Profil Menü Öğeleri

useProfileMenuItems() hook’undan:

  • Profili Düzenle → /profile/edit
  • Bildirimler → /settings/notifications
  • Gizlilik → /settings/privacy
  • Şifre Değiştir → /settings/change-password
  • Dil → language selector
  • Hesabı Sil → /settings/delete-account

Çocuk Profili (Parent)

Parent, çocuğunun profilini güncelleyebilir:

UpdateChildProfileRequest: {
  phone, tc_no, bio, date_of_birth
  blood_type, allergies, medical_notes
  emergency_contact_name/phone/relation
  address
}

Bildirim Tercihleri

GET/PUT /api/notification-preferences NotificationPreferenceController — hangi bildirim türleri aktif

Kullanıcı Tercihleri

GET/PUT /api/preferences useUserPreferences, useUpdateUserPreferences hookları

Dil Değiştirme

UI’da LanguageSelector var (profil menüsünde) ama uygulama sadece Türkçe. i18n.language + LANG_DISPLAY map ile gösterilir.

Notification Settings

/settings/notifications → ses ve vibrasyon tercihleri setNotificationSoundPref() ve setNotificationVibrationPref() ile handler güncelleniyor