-
Notifications
You must be signed in to change notification settings - Fork 158
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
Update to use the new version of mattermost-redux #1984
base: master
Are you sure you want to change the base?
Conversation
Update import path for createSelector
Update name of fetchChannelsAndMembers and update channelsByTeam type Properly type preference get selector
I can't figure out why Jest can't find these files given other tools can use the mappings in the package.json when other tools can. I have a hard time telling if Jest should support that feature or not, but I've spent enough time fighting with that to decide that I should leave it as-is for 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.
This looks great, @hmhealey! Thank you for the heavy lifting :)
cc @esarafianou, as this will resolve a number of the warning re: the old webapp dependency.
NOTICE.txt
Outdated
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.
Propose either omitting the changes to this file and letting the automation submit a PR to do so, or explicitly running https://github.com/mattermost/notice-file-generator to effect all required changes. (If the files don't perfectly match that output, we'll get an automated PR clobbering these changes anyway.)
This is awesome! 😍 |
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.
Awesome! A few lines possibly slipped find-replace, but aside from that this is looking great!
Summary
As part of trying to start publishing mattermost-redux again, I've used Playbooks as a test bed to ensure that the published package actually works since it's the first time that we've published it from a monorepo and because I'm trying to do things "the right way" versus the old mattermost-redux package which was rather clunky and required a lot of workarounds.
The commits for this can be roughly broken down into a few categories:
mattermost-webapp
dependency withmattermost-redux
or@mattermost/types
mattermost-redux
and removing the overrides to make the previous ones work (except for Jest which I fought with for hours and gave up on)mattermost-redux
This is a draft for now since it's using a prerelease version of
mattermost-redux
and the@mattermost
packages.Web app PR: mattermost/mattermost#30020