-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
feat(issues): Track weekly report sends and clicks #54744
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
Conversation
@@ -89,7 +88,6 @@ def test_with_empty_string_user_option(self): | |||
assert self.organization.name in message.subject | |||
|
|||
@with_feature("organizations:customer-domains") | |||
@with_feature("organizations:weekly-email-refresh") |
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.
went looking for this flag, seems to be gone
src/sentry/tasks/weekly_reports.py
Outdated
@@ -739,6 +741,8 @@ def render_template_context(ctx, user_id): | |||
"organizations:session-replay", ctx.organization | |||
) and features.has("organizations:session-replay-weekly-email", ctx.organization) | |||
|
|||
notification_uuid = "".join(random.choices(string.ascii_letters + string.digits, k=16)) |
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.
@scttcper we should make this into some utility function cause we'll need it a lot
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.
jammed it somewhere
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #54744 +/- ##
==========================================
- Coverage 79.78% 79.78% -0.01%
==========================================
Files 5000 5001 +1
Lines 212247 212262 +15
Branches 36162 36163 +1
==========================================
+ Hits 169335 169344 +9
- Misses 37704 37710 +6
Partials 5208 5208
|
weekly_report
. Previously there was a mix ofweekly-report
weekly_report
andweekly_email
fixes #50443