- Notifications
You must be signed in to change notification settings - Fork928
feat: turn off notification via email#14520
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
8568812
5309f0a
254f4dc
f9ac6d2
18b3f9a
8538ec4
025c633
8af93fd
7f0a831
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -121,9 +121,10 @@ func (s *StoreEnqueuer) Enqueue(ctx context.Context, userID, templateID uuid.UUI | ||
// actions which can be taken by the recipient. | ||
func (s *StoreEnqueuer) buildPayload(metadata database.FetchNewMessageMetadataRow, labels map[string]string) (*types.MessagePayload, error) { | ||
payload := types.MessagePayload{ | ||
Version: "1.1", | ||
NotificationName: metadata.NotificationName, | ||
NotificationTemplateID: metadata.NotificationTemplateID.String(), | ||
dannykopping marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
UserID: metadata.UserID.String(), | ||
UserEmail: metadata.UserEmail, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I need to remember to check for the following scenarios:
You can check how we do that usingStorybook interaction tests on the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I have verified these scnearios There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. @joobisb can you add a test please? Manual verification is good but it only helps us know if this works currently, and doesn't catch future degradations. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. @joobisb we are close, we just need to automate these tests using the way I shared before. Thanks for your hard work! 🙏 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. @BrunoQuaresma the tests needed to be added to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more.
done, please have a look |
Uh oh!
There was an error while loading.Please reload this page.