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

MM-21726 Add theme type and function to set theme defaults #1035

Merged
merged 1 commit into from Jan 21, 2020

Conversation

jwilander
Copy link
Member

@jwilander jwilander commented Jan 15, 2020

Summary

This will be used in an upcoming webapp PR to fix the bug in the ticket. Essentially we need to make sure all the theme properties are set before applying themes.

Ticket Link

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

@jwilander jwilander added 2: Dev Review Requires review by a core commiter 3: QA Review labels Jan 15, 2020
@amyblais amyblais added this to the v5.20.0 milestone Jan 16, 2020
@hmhealey
Copy link
Member

What are the corresponding changes on the web app for this? The getTheme selector should be setting any missing fields already when the user's theme is pulled from redux

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.

Oh, I see. This is for the temporary theme displayed before the user saves. Looks good to me then.

@hmhealey hmhealey removed the 2: Dev Review Requires review by a core commiter label Jan 17, 2020
@amyblais amyblais added the CherryPick/Approved Meant for the quality or patch release tracked in the milestone label Jan 17, 2020
@saturninoabril saturninoabril added 4: Reviews Complete All reviewers have approved the pull request QA Review Done and removed 3: QA Review labels Jan 21, 2020
@saturninoabril saturninoabril merged commit b2d6ae1 into master Jan 21, 2020
@saturninoabril saturninoabril deleted the mm-21726 branch January 21, 2020 07:33
@mattermod mattermod added CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone and removed CherryPick/Approved Meant for the quality or patch release tracked in the milestone labels Jan 21, 2020
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 CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone QA Review Done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants