mirror of
https://github.com/Monkopedia/rouse-context.git
synced 2026-12-02 18:15:31 +00:00
Adds a one-time NotificationPreferences step between the Welcome screen and Home so users pick their audit notification mode (Summary / Each usage / Suppress) once during onboarding rather than being re-prompted in every per-integration setup. The setting remains editable from the global Settings screen, and both surfaces now read/write through a shared NotificationSettingsProvider backed by DataStore. Per-integration setup screens (Notification, Outreach, Usage, Health Connect) never surfaced the mode in the first place, so no UI removal is required there — they keep their integration-specific options only. - Adds NotificationSettingsProvider.setPostSessionMode() and implements persistence in DataStoreNotificationSettingsProvider. - Wires SettingsViewModel.setPostSessionMode to actually persist (was a no-op TODO). - Adds NotificationPreferencesViewModel seeded from the provider so the previously-chosen option is pre-selected if the screen is revisited. - Adds Routes.NOTIFICATION_PREFERENCES as an onboarding route; Welcome "Get Started" now navigates there, and Continue on the preferences screen kicks off relay registration before popping to HOME. - Covers new flow with ViewModel tests, SettingsViewModel persistence tests, and BackStack/NavigationBarVisibility tests for the new route. Closes #69. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle.kts | ||