This pr fixes a bug where the desired notification frequency that a user indicated during signup wasn't being set in the database, resulting in users getting the default value ALL on signup.
It refactors the notification frequency field in the signup form to use the SpokeFormFieldSelect component, ensuring that the value the user enters is included in the formData sent to the backend.
It also sets the notification_frequency value inserted into the user table to the value in the reqBody.
Motivation and Context
It closes #1612
How Has This Been Tested?
Locally.
Screenshots (if appropriate):
Documentation Changes
Checklist:
[ ] My change requires a change to the documentation.
[ ] I have included updates for the documentation accordingly.
Description
This pr fixes a bug where the desired notification frequency that a user indicated during signup wasn't being set in the database, resulting in users getting the default value
ALL
on signup.It refactors the notification frequency field in the signup form to use the
SpokeFormField
Select
component, ensuring that the value the user enters is included in theformData
sent to the backend.It also sets the
notification_frequency
value inserted into the user table to the value in thereqBody
.Motivation and Context
It closes #1612
How Has This Been Tested?
Locally.
Screenshots (if appropriate):
Documentation Changes
Checklist: