File tree Expand file tree Collapse file tree
src/sentry/integrations/slack/message_builder
tests/sentry/integrations/slack Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -548,7 +548,7 @@ def get_slack_app_update_nudge_block(self) -> SlackBlock:
548548 else :
549549 reinstall_url = org .absolute_url (
550550 f"/settings/{ org .slug } /integrations/slack/" ,
551- query = "showInstallModal=1" ,
551+ query = "showInstallModal=1&referrer=slack_alert_nudge " ,
552552 )
553553 nudge_text = f"Ask Sentry questions and debug faster, <{ reinstall_url } |reinstall Sentry Slack app>."
554554 nudge_type = "reinstall"
Original file line number Diff line number Diff line change @@ -1299,7 +1299,8 @@ def test_outdated_app_missing_app_mentions_scope(self) -> None:
12991299 # Old install missing the mandatory app_mentions:read scope.
13001300 org = self .organization
13011301 reinstall_url = org .absolute_url (
1302- f"/settings/{ org .slug } /integrations/slack/" , query = "showInstallModal=1"
1302+ f"/settings/{ org .slug } /integrations/slack/" ,
1303+ query = "showInstallModal=1&referrer=slack_alert_nudge" ,
13031304 )
13041305 assert self ._build_nudge_text (has_mentions_read_scope = False ) == (
13051306 f"Ask Sentry questions and debug faster, <{ reinstall_url } |reinstall Sentry Slack app>."
You can’t perform that action at this time.
0 commit comments