chahinebrini
|
5434254f74
|
feat(auth,mail): pw-reset OTP-flow + custom mail templates + account-switch cleanup
- Phase 3 PW-Reset: 3 screens (forgot-password → reset-otp → new-password),
verifyOtp({type:'recovery'}), new updatePassword() action
- Custom Brevo-Mail templates (backend/public/templates/) — 5 HTMLs with
go-template i18n (de/en/fr/ar incl. RTL for AR), OTP-only (no link),
ReBreak branding
- signUp metadata.data.locale aus i18n.language → templates resolven Sprache
- Account-Switch-Bug fix: signOut() resettet alle 10 user-spezifischen stores
+ invalidateMe()
|
2026-05-19 10:49:23 +02:00 |
|
chahinebrini
|
943afb827b
|
feat(native): settings overhaul — DEV cleanup + notifications section
- Remove __DEV__ debug section from settings.tsx:
Plan-Override-Row (4 rows: LLM, TTS, plan-override, realtime),
PlanPickerSheetContent, planSheetRef, DEV_PLANS/DEV_PLAN_ACCENT,
ActivityIndicator import. The debug.tsx page + realtimeDebug.ts store
are kept — only UI entry points removed from settings.
- Wire notifications section: pushEnabled/streakReminderEnabled toggles
+ streakReminderTime picker (hour/minute scroll, quarters). State
persisted in AsyncStorage via new stores/notificationPrefs.ts.
setPushEnabled calls Notifications.requestPermissionsAsync() — if
denied, toggle stays off. scheduleNotificationAsync is a TODO (no
backend endpoint yet).
- Add _layout.tsx Stack.Screen entry for help/* route group.
- i18n: new keys settings.notifications_push_sublabel,
notifications_streak_time, notifications_hour/minute,
section_help, help_faq/contact/about/crisis + descs in DE/EN/FR.
TODO: expo-notifications scheduleNotificationAsync wiring once
backend streak-reminder endpoint exists.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-05-15 23:42:33 +02:00 |
|