-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ALTAPPS-1069: Shared add reminders time to notifications onboarding #786
ALTAPPS-1069: Shared add reminders time to notifications onboarding #786
Conversation
…-time-to-notification-onboarding
InternalAction.SaveDailyStudyRemindersIntervalStartHour( | ||
startHour = state.dailyStudyRemindersStartHour | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently, after clicking on the "Allow notifications" button, daily study reminders start hour interval will be set silently (without observing loading status and error state, see InternalAction.SaveDailyStudyRemindersIntervalStartHour
).
I decided to make it so, because I don't like the behavior of multiple modals / loading indicators one after each other (system dialog of requesting notification permission, loading / error indicators)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…-time-to-notification-onboarding
internal data class State(val dailyStudyRemindersStartHour: Int) | ||
|
||
data class ViewState( | ||
val dailyStudyRemindersStartHour: Int, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need dailyStudyRemindersStartHour
in the viewState?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…-time-to-notification-onboarding
…ModalClickedConfirmHyperskillAnalyticEvent
YouTrack Issues:
#ALTAPPS-1069
Checklist
Before Code Review:
Description
StepCompletionFeature
NotificationsOnboardingFeature