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

[MM-29399] Remove an unused changeCSS() style #6680

Merged
merged 1 commit into from
Oct 9, 2020
Merged

Conversation

KuSh
Copy link
Contributor

@KuSh KuSh commented Oct 7, 2020

Summary

Remove an unused changeCSS() style

Ticket Link

Fixes mattermost/mattermost#15837
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29399

@mattermod
Copy link
Contributor

Hello @KuSh,

Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@KuSh KuSh changed the title Remove an unused changeCSS() style [MM-29399] Remove an unused changeCSS() style Oct 7, 2020
@deanwhillier deanwhillier added the 2: Dev Review Requires review by a core commiter label Oct 7, 2020
@deanwhillier
Copy link
Contributor

QA review will be done when merging the branch into Master.

Copy link
Member

@hmhealey hmhealey left a comment

Choose a reason for hiding this comment

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

Good catch that that rule isn't actually used. It looks like it's being overwritten by the .app__body .modal .settings-modal .nav-pills>li.active button:active rule on like 539 of utils.jsx. The git blame looks like that's been the case for a few years now, so I think it's safe just to remove instead of potentially treating that as a bug

@esethna esethna requested review from nevyangelova and removed request for calebroseland October 8, 2020 20:03
@lindy65 lindy65 added the 3: QA Review Requires review by a QA tester label Oct 9, 2020
@hmhealey hmhealey added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core commiter 3: QA Review Requires review by a QA tester labels Oct 9, 2020
@hmhealey hmhealey merged commit abe1120 into mattermost:campaign/applytheme_sidebar-text Oct 9, 2020
@KuSh KuSh deleted the issue/15837 branch October 9, 2020 16:22
@amyblais amyblais added Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation labels Oct 12, 2020
deanwhillier added a commit that referenced this pull request Oct 16, 2020
* Remove an unused changeCSS() style (#6680)

Fixes mattermost/mattermost#15837
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29399

* [MM-29392] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 516 (#15831) (#6695)

Fixes mattermost/mattermost#15831
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29392

* [MM-29397] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln 525 (#15836) (#6686)

Remove the line as style is already applied unconditionally and more broadly by changeCss() call at line 515

Fixes mattermost/mattermost#15836
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29397

* [MM-29396] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 523 (#15835) (#6692)

Remove the line as it isn't possible that .sidebar__switcher button contains a svg

Fixes mattermost/mattermost#15835
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29396

* [MM-29391] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 513 (#15830) (#6696)

Fixes mattermost/mattermost#15830
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29391

* [MM-29393] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 519 (#15832) (#6694)

Fixes mattermost/mattermost#15832
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29393

* [MM-29394] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 520 (#15833) (#6693)

Fixes mattermost/mattermost#15833
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29394

Co-authored-by: Dean Whillier <[email protected]>

* Migrate changeCSS(sideText) to CSS variable --sidebartext in utils/utils.jsx (#6697)

* [MM-29389] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 510 (#15828)

This line was unconditionally replaced by line 824 using --link-color so I directly used --link-color in CSS

Fixes mattermost/mattermost#15828
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29389

* [MM-29390] Remove references to removed perfect-scrollbar component (#15829)

While analyzing mattermost/mattermost#15829 I couldn't found where ps-container class was used
It turns out it was an old dependency removed by PR #4382
This commit removes remaining references

Fixes mattermost/mattermost#15829
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29390

Co-authored-by: Nicolas Le Cam <[email protected]>
Co-authored-by: Mattermod <[email protected]>
jfrerich pushed a commit that referenced this pull request Oct 23, 2020
* Remove an unused changeCSS() style (#6680)

Fixes mattermost/mattermost#15837
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29399

* [MM-29392] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 516 (#15831) (#6695)

Fixes mattermost/mattermost#15831
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29392

* [MM-29397] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln 525 (#15836) (#6686)

Remove the line as style is already applied unconditionally and more broadly by changeCss() call at line 515

Fixes mattermost/mattermost#15836
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29397

* [MM-29396] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 523 (#15835) (#6692)

Remove the line as it isn't possible that .sidebar__switcher button contains a svg

Fixes mattermost/mattermost#15835
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29396

* [MM-29391] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 513 (#15830) (#6696)

Fixes mattermost/mattermost#15830
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29391

* [MM-29393] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 519 (#15832) (#6694)

Fixes mattermost/mattermost#15832
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29393

* [MM-29394] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 520 (#15833) (#6693)

Fixes mattermost/mattermost#15833
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29394

Co-authored-by: Dean Whillier <[email protected]>

* Migrate changeCSS(sideText) to CSS variable --sidebartext in utils/utils.jsx (#6697)

* [MM-29389] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 510 (#15828)

This line was unconditionally replaced by line 824 using --link-color so I directly used --link-color in CSS

Fixes mattermost/mattermost#15828
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29389

* [MM-29390] Remove references to removed perfect-scrollbar component (#15829)

While analyzing mattermost/mattermost#15829 I couldn't found where ps-container class was used
It turns out it was an old dependency removed by PR #4382
This commit removes remaining references

Fixes mattermost/mattermost#15829
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29390

Co-authored-by: Nicolas Le Cam <[email protected]>
Co-authored-by: Mattermod <[email protected]>
calebroseland pushed a commit that referenced this pull request Oct 27, 2020
* Remove an unused changeCSS() style (#6680)

Fixes mattermost/mattermost#15837
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29399

* [MM-29392] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 516 (#15831) (#6695)

Fixes mattermost/mattermost#15831
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29392

* [MM-29397] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln 525 (#15836) (#6686)

Remove the line as style is already applied unconditionally and more broadly by changeCss() call at line 515

Fixes mattermost/mattermost#15836
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29397

* [MM-29396] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 523 (#15835) (#6692)

Remove the line as it isn't possible that .sidebar__switcher button contains a svg

Fixes mattermost/mattermost#15835
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29396

* [MM-29391] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 513 (#15830) (#6696)

Fixes mattermost/mattermost#15830
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29391

* [MM-29393] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 519 (#15832) (#6694)

Fixes mattermost/mattermost#15832
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29393

* [MM-29394] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 520 (#15833) (#6693)

Fixes mattermost/mattermost#15833
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29394

Co-authored-by: Dean Whillier <[email protected]>

* Migrate changeCSS(sideText) to CSS variable --sidebartext in utils/utils.jsx (#6697)

* [MM-29389] Migrate changeCSS() to CSS variable in utils/utils.jsx, ln. 510 (#15828)

This line was unconditionally replaced by line 824 using --link-color so I directly used --link-color in CSS

Fixes mattermost/mattermost#15828
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29389

* [MM-29390] Remove references to removed perfect-scrollbar component (#15829)

While analyzing mattermost/mattermost#15829 I couldn't found where ps-container class was used
It turns out it was an old dependency removed by PR #4382
This commit removes remaining references

Fixes mattermost/mattermost#15829
JIRA ticket: https://mattermost.atlassian.net/browse/MM-29390

Co-authored-by: Nicolas Le Cam <[email protected]>
Co-authored-by: Mattermod <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4: Reviews Complete All reviewers have approved the pull request Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation Hacktoberfest hacktoberfest-accepted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants