Skip to content
Snippets Groups Projects
Unverified Commit 4ab6c6eb authored by Ryan Laurie's avatar Ryan Laurie Committed by GitHub
Browse files

Update slack settings urls (#50042)

parent 2be5130e
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ const getBannerContent = (
hasDeprecatedDatabase: boolean,
) => {
const databaseListUrl = "/admin/databases";
const slackSettingsUrl = "/admin/settings/slack";
const slackSettingsUrl = "/admin/settings/notifications/slack";
if (hasSlackBot && hasDeprecatedDatabase) {
return jt`You’re using a ${(
......
......@@ -221,7 +221,7 @@
{:title (tru "Set Slack credentials")
:group (tru "Get connected")
:description (tru "Does your team use Slack? If so, you can send automated updates via dashboard subscriptions.")
:link "/admin/settings/slack"
:link "/admin/settings/notifications/slack"
:completed (configured :slack)
:triggered :always}
{:title (tru "Setup embedding")
......
......@@ -7,6 +7,6 @@
<h2 style="font-weight: normal; color: #4C545B; line-height: 34px;">Your Slack connection stopped working</h2>
<p style="line-height: 22px; margin-bottom: 40px">This may affect existing dashboard subscriptions. Follow the steps in settings to reconnect Slack and get things up and running again.</p>
</div>
<a style="{{context.style.button}}" href="{{context.site_url}}/admin/settings/slack">Go to settings</a>
<a style="{{context.style.button}}" href="{{context.site_url}}/admin/settings/notifications/slack">Go to settings</a>
</div>
{{> metabase/email/_footer.hbs }}
......@@ -201,7 +201,7 @@
admin-emails (t2/select-fn-set :email :model/User :is_superuser true)]
(testing "send to admins with a link to setting page"
(check admin-emails [#"Your Slack connection stopped working"
#"<a[^>]*href=\"https?://metabase\.com/admin/settings/slack\"[^>]*>Go to settings</a>"]))
#"<a[^>]*href=\"https?://metabase\.com/admin/settings/notifications/slack\"[^>]*>Go to settings</a>"]))
(mt/with-temporary-setting-values
[admin-email "it@metabase.com"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment