-
Notifications
You must be signed in to change notification settings - Fork 83
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
Anchor the appsbar icon to SiteURL #347
Conversation
This ensures the icon can be correctly loaded when a subpath is configured and the application isn't running at the root. Fixes: #343
Codecov ReportBase: 33.32% // Head: 33.32% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #347 +/- ##
=======================================
Coverage 33.32% 33.32%
=======================================
Files 21 21
Lines 2785 2785
=======================================
Hits 928 928
Misses 1748 1748
Partials 109 109 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@lieut-data for this PR I do not see the icon working on our subpath test server. My first though is that this solution is dependant on your server side code here mattermost/mattermost#21886 is this correct? If so, I can't test this PR right away as I have no reliable way of getting the server side code change onto a subpath setup right now. That being said I did regression test this change on other servers and see no issue with the App Bar icon display. Do you have any thoughts on merging this now to include in the next release? |
@DHaussermann, yes this PR depends on mattermost/mattermost#21886. Assuming it doesn't regress as you've identified for non-subpath servers, I'm 👍 for merging now. |
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.
Tested and passed
- Regression testing was done on this PR with no impacts found.
- Plugin icons for App Bar on sub-path servers will not be supported until Mattermost
v7.8.0
- Once I have the infrastructure in place, I will test and create a new issue if any further changes are needed to support App Bar icons on sub-path servers for GitLab
LGTM!
Thanks @lieut-data for the effort on this and the broader solution.
Please merge.
Summary
This ensures the icon can be correctly loaded when a subpath is configured and the application isn't running at the root.
Ticket Link
Fixes: #343