-
Notifications
You must be signed in to change notification settings - Fork 315
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
fix: add method to clear selected channel in mgt-teams-channel-picker #2865
Conversation
🚀 New react-contoso sample application deployed here |
📖 The updated storybook is available here |
🚀 New react-contoso sample application deployed here |
@Mnickii works great. The only thing that doesn't is the |
Thanks, nice catch! |
🚀 New react-contoso sample application deployed here |
📖 The updated storybook is available here |
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.
Works great! Can you also add the events documentation PR? Thanks!
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.
I love how simple this change appears to be, I'd like us to take this opportunity to clean up some aspects of how were handing our selection/removal methods though
packages/mgt-components/src/components/mgt-teams-channel-picker/mgt-teams-channel-picker.ts
Outdated
Show resolved
Hide resolved
packages/mgt-components/src/components/mgt-teams-channel-picker/mgt-teams-channel-picker.ts
Outdated
Show resolved
Hide resolved
stories/components/teamsChannelPicker/teamsChannelPicker.stories.js
Outdated
Show resolved
Hide resolved
🚀 New react-contoso sample application deployed here |
📖 The updated storybook is available here |
🚀 New react-contoso sample application deployed here |
|
📖 The updated storybook is available here |
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.
Thanks for the updates on this, it looks really good now.
Closes #2818
PR Type
Bugfix
Description of the changes
Adds clearSelectedItem() method to clear selected channel in mgt-teams-channel-picker
PR checklist
yarn build
) and changes have been tested in at least two supported browsers (Edge + non-Chromium based browser)yarn setLicense
)Other information