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

[PLT-7773] Hide channel and team URLs from the sidebar in the desktop app #200

Merged
merged 3 commits into from
Oct 30, 2017
Merged

[PLT-7773] Hide channel and team URLs from the sidebar in the desktop app #200

merged 3 commits into from
Oct 30, 2017

Conversation

saturninoabril
Copy link
Member

Summary

Hide channel and team URLs from the sidebar in the desktop app

@asaadmahmood Can I have a hand to fix CSS styling issues for desktop button? Thanks!

Ticket Link

Jira ticket: PLT-7773

Checklist

  • Has UI changes

@saturninoabril saturninoabril added the Work in Progress Not yet ready for review label Oct 25, 2017
@saturninoabril saturninoabril added this to the v4.4.0 milestone Oct 25, 2017
Copy link
Contributor

@asaadmahmood asaadmahmood left a comment

Choose a reason for hiding this comment

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

Looks good to me after my changes.

@saturninoabril
Copy link
Member Author

Thanks @asaadmahmood!

PR updated which adds track event when button is clicked.

@saturninoabril saturninoabril added 2: Dev Review Requires review by a core commiter and removed Work in Progress Not yet ready for review labels Oct 26, 2017
element = (
<button
className={'btn btn-link ' + rowClass}
onClick={() => this.handleClick(link)}
Copy link
Member

Choose a reason for hiding this comment

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

No change needed right now since this component isn't particularly efficient, but you'd usually want to avoid using an arrow function in component prop since that'll mean it's making a new function on every re-render. That's not that bad when it's a DOM element like button, but it'll cause PureComponents to re-render more often than necessary

@hmhealey hmhealey removed the 2: Dev Review Requires review by a core commiter label Oct 30, 2017
@hmhealey hmhealey merged commit 9435521 into mattermost:master Oct 30, 2017
@jasonblais jasonblais added Changelog/Done Required changelog entry has been written Docs/Not Needed Does not require documentation labels Nov 2, 2017
ry-wang pushed a commit to ry-wang/mattermost-webapp that referenced this pull request Nov 4, 2017
… app (mattermost#200)

* hide channel and team URLs from the sidebar in the desktop app

* add track event when button is clicked

* Updating sidebar styles for desktop app
@lindalumitchell lindalumitchell added the Tests/Done Release tests have been written label Nov 7, 2017
@saturninoabril saturninoabril deleted the PLT-7773 branch November 9, 2017 10:45
hmhealey pushed a commit that referenced this pull request Aug 28, 2020
* Use apiV3 for ping until we remove APIv3 completely

* fix unit test
hmhealey pushed a commit that referenced this pull request Mar 17, 2021
* Use apiV3 for ping until we remove APIv3 completely

* fix unit test
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Changelog/Done Required changelog entry has been written 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