-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[MM-12396] Option to add user to a channel from the profile pop-over #1918
Conversation
Thanks @mickmister! I wasn't able to test the PR as it seems there is a build failure. Please help look into this when you have a chance and we can set up a test server. Regarding your questions:
|
https://pre-release.mattermost.com/core/pl/ssdwfa5z53bdpjbqns3yyc4cty |
@mickmister Thanks for your contribution! I pulled out your branch and it's really weird that it's having that issue. I'll find time to see what's going on there. |
@mickmister There's an initial change on SuggestionStore - https://github.com/mattermost/mattermost-webapp/pull/1932/files. Once merged, could you please try again and see if you're still having issue in importing the test. Thanks! |
Awesome, will do! |
On the permissions question: you can use However, you can go one better even than this. Instead of passing in a prop for this, you can use the |
Using |
The import issue isn't happening anymore :)
I have my branch updated with the changes from the above PR. The |
Thanks @mickmister! For me, that on going efforts on redux migration is non-blocking for this PR. I'm good with how it's done right now. Let us know if PR is complete so we can proceed with the PM review. Thanks! |
components/add_user_to_channel_modal/add_user_to_channel_modal.jsx
Outdated
Show resolved
Hide resolved
components/add_user_to_channel_modal/add_user_to_channel_modal.jsx
Outdated
Show resolved
Hide resolved
components/suggestion/search_channel_with_permissions_provider.jsx
Outdated
Show resolved
Hide resolved
components/suggestion/search_channel_with_permissions_provider.jsx
Outdated
Show resolved
Hide resolved
tests/components/__snapshots__/add_user_to_channel_modal.test.jsx.snap
Outdated
Show resolved
Hide resolved
@mickmister please let me know when this is ready to test, looking forward to it! |
@saturninoabril recent pushes address all of your requested changes |
@esethna PR is ready barring any further requested changes. |
83716c0
to
aa611eb
Compare
Awesome, thanks @saturninoabril! |
@hanzei There was an issue with this PR so it got reverted. I am working on a new PR for the fix. Should this issue be reopened or should a new issue be created? |
Would you just open a new PR for this and I will reopen mattermost/mattermost#9501? |
Yes, thank you @hanzei |
…op-over (mattermost#1918)" This reverts commit 0a1acaa.
…op-over (mattermost#1918)" This reverts commit 0a1acaa.
…op-over (mattermost#1918)" This reverts commit 0a1acaa.
Summary
This is an added option to the profile pop-over to add another user to a different channel.
The
components/profile_popover
component is affected, and a new modalcomponents/add_user_to_channel_modal
has been introduced.GitHub Issue Link
mattermost/mattermost#9501
Ticket Link
https://mattermost.atlassian.net/browse/MM-12396
Invision screens: https://invis.io/DYNZR9J64A9
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
make check-style
to check for style errors (required for all pull requests)make test
to ensure unit and component tests passed