-
Notifications
You must be signed in to change notification settings - Fork 157
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
feat: implement allow_email_share
field 📬
#57
feat: implement allow_email_share
field 📬
#57
Conversation
...ages/core/src/infrastructure/database/migrations/2024-03-31T15:39:09Z-share-email-default.ts
Outdated
Show resolved
Hide resolved
...ages/core/src/infrastructure/database/migrations/2024-03-31T15:39:09Z-share-email-default.ts
Outdated
Show resolved
Hide resolved
packages/core/src/infrastructure/database/migrations/2024-03-31T15:36:45Z-share-email.ts
Outdated
Show resolved
Hide resolved
packages/core/src/infrastructure/database/migrations/2024-03-31T21:37:51Z-share-email.ts
Outdated
Show resolved
Hide resolved
packages/core/src/infrastructure/database/migrations/2024-03-31T21:37:51Z-share-email.ts
Show resolved
Hide resolved
ca68018
to
42648d2
Compare
42648d2
to
7bf063a
Compare
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.
This is excellent work, @tomas-salgado! I can't believe you ramped up so quickly with this. 😅 Just have a few small suggestions, and we should be good to go!
packages/core/src/infrastructure/database/migrations/2024-03-31T21:37:51Z-share-email.ts
Show resolved
Hide resolved
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.
I just tested this locally and it works beautifully! 🙌
I pushed a small fix which adds the id
to the checkbox which makes the label of the checkbox clickable - if you can just merge those changes in, we should be good to ship!
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.
LGTM! 🚀
allow_email_share
field 📬
Description ✏️
Implement a checkbox on the emails page that allows members to opt-in or opt-out of having their email shared with Chapter Leaders.
Closes #51
allow_email_share
field tostudents
table in dballow_email_share
a value ofTrue
allow_email_share
value in database for that userAfter:
Before:
Type of Change 🐞
Checklist ✅