-
Notifications
You must be signed in to change notification settings - Fork 81
feat: preserve email on feedback form, optionally #610
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
base: main
Are you sure you want to change the base?
feat: preserve email on feedback form, optionally #610
Conversation
|
Is storing the email itself in |
seems like the best place to put it without making a separate store just for it, open to other thoughts. maybe a userDataStore? but I can't really think of other kinds of things we'd need for that. a boolean for whether to save the email is probably an "option", and it makes some sense to me to keep the email data nearby. Don't want to overload the types to be |
hm mayb idk it could be a good setup for any future things that need to be stored |
i guess |
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.
Generally, code changes look good to me. (still need to test as a build though).
Let's remove 'rememberMyEmail' as a setting stored in options, and rather infer this from whether an email is saved or not.
If a user decides to unselect remember my email, then unset email in options store.
| showCalendarSidebar: await OptionsStore.get('showCalendarSidebar'), | ||
| showUTDiningPromo: await OptionsStore.get('showUTDiningPromo'), | ||
| rememberMyEmail: await OptionsStore.get('rememberMyEmail'), | ||
| emailAddress: await OptionsStore.get('emailAddress'), |
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.
If an email is set, can we not consider this to be indicative of the email being remembered? Think 'rememberMyEmail' could be removed.
|
will look into this @Razboy20 |
Screen.Recording.2025-06-08.at.11.38.35.PM.mov
This change is