Skip to content
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

sched/notif: retain time and weekday filter if swapping radio options #3741

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

mastercactapus
Copy link
Member

Description:
Updates the *Dest variant of the schedule notification form to preserve state of the time and weekday filter options.

Out of Scope:
The old non-dest form was not updated; this is ONLY when the dest-types flag is set to use the new form and dialog code.

Screenshots:

fix-sched-notif-bug.mp4

Describe any introduced user-facing changes:
N/A just a quality-of-life fix

Describe any introduced API changes:
N/A

Additional Info:
Note: The parent props.value and onChange handlers still receive a null time when the value changes (no effect on API). This fix is handled purely in the form's state.

@mastercactapus mastercactapus merged commit daf721a into master Mar 12, 2024
7 checks passed
@mastercactapus mastercactapus deleted the sched-notif-retain-state branch March 12, 2024 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants