Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

MM-16683: leverage /_redirect/integrations/bots #3528

Merged
merged 4 commits into from
Sep 5, 2019

Conversation

lieut-data
Copy link
Member

Summary

Normally, this link is anchored to a team, but a team is not always easily known. Leverage a permalink that resolves to the default/last selected team instead.

This change also fixes a number of missing SiteURL injections, breaking scenarios where a subpath is configured.

Ticket Link

https://mattermost.atlassian.net/browse/MM-16683

In a subpath configuration, these links are broken.

Note that I'm intentionally skipping `announcement_bar.error.site_url_gitlab.full` and `announcement_bar.error.site_url.full` since these are only displayed when the SiteURL is empty
Normally, this link is anchored to a team, but a team is not always easily known. Leverage a permalink that resolves to the default/last selected team instead.
@lieut-data lieut-data added 2: Dev Review Requires review by a core commiter 3: QA Review Requires review by a QA tester labels Aug 23, 2019
@lieut-data lieut-data added this to the v5.16.0 milestone Aug 23, 2019
@lieut-data lieut-data requested review from alifarooq0 and a team August 23, 2019 16:37
@ghost ghost requested review from grundleborg and removed request for a team August 23, 2019 16:37
Copy link
Contributor

@grundleborg grundleborg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@grundleborg grundleborg removed the 2: Dev Review Requires review by a core commiter label Aug 30, 2019
Copy link
Contributor

@prapti prapti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked for unit tests and Jira ticket.
Ran successfully on local instance.
Approving and removing QA Review label.

@prapti prapti added Tests/Done Release tests have been written and removed 3: QA Review Requires review by a QA tester labels Sep 4, 2019
@lieut-data lieut-data merged commit 84b0e9c into master Sep 5, 2019
@lieut-data lieut-data deleted the mm-16683-integrations-bots-link branch September 5, 2019 20:28
@amyblais amyblais added Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation labels Sep 17, 2019
skheria pushed a commit to uber-archive/mattermost-webapp that referenced this pull request Oct 3, 2019
* fix missing siteURL in various system console links

In a subpath configuration, these links are broken.

Note that I'm intentionally skipping `announcement_bar.error.site_url_gitlab.full` and `announcement_bar.error.site_url.full` since these are only displayed when the SiteURL is empty

* MM-16683: leverage /_redirect/integrations/bots

Normally, this link is anchored to a team, but a team is not always easily known. Leverage a permalink that resolves to the default/last selected team instead.
skheria pushed a commit to uber-archive/mattermost-webapp that referenced this pull request Oct 3, 2019
* fix missing siteURL in various system console links

In a subpath configuration, these links are broken.

Note that I'm intentionally skipping `announcement_bar.error.site_url_gitlab.full` and `announcement_bar.error.site_url.full` since these are only displayed when the SiteURL is empty

* MM-16683: leverage /_redirect/integrations/bots

Normally, this link is anchored to a team, but a team is not always easily known. Leverage a permalink that resolves to the default/last selected team instead.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation Tests/Done Release tests have been written
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants