Skip to content
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

New Controls SelectTeamPicker/SelectTeamChannelPicker #846

Merged
merged 12 commits into from
Mar 30, 2021
Merged

New Controls SelectTeamPicker/SelectTeamChannelPicker #846

merged 12 commits into from
Mar 30, 2021

Conversation

joaojmendes
Copy link
Collaborator

Q A

| New sample? | [ X]

What's in this Pull Request?

New Controls:

SelectTeamPicker and SelectTeamChannelPicker

Copy link
Collaborator

@AJIXuMuK AJIXuMuK left a comment

Choose a reason for hiding this comment

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

Thank you @joaojmendes for the great addition to the library!
While SPFx v1.12 is deprecated, we have some time to make some changes to the PR.
I reviewed the code partially and left some comments.
Most of them are related to

  • importing items from office-ui-fabric-react instead of office-ui-fabric-react/lib/...
  • using useCallback with empty array of dependencies which could lead to issues.

Please, if you have some spare time, update the code based on these comments.

Thanks!

src/controls/SelectTeamChannelPicker/constants.ts Outdated Show resolved Hide resolved
src/SelectTeamChannelPicker.ts Outdated Show resolved Hide resolved
src/SelectTeamPicker.ts Outdated Show resolved Hide resolved
src/controls/SelectTeamPicker/ISelectTeamPickerProps.ts Outdated Show resolved Hide resolved
src/controls/SelectTeamPicker/SelectTeamPicker.tsx Outdated Show resolved Hide resolved
src/controls/SelectTeamPicker/SelectTeamPicker.tsx Outdated Show resolved Hide resolved
@joaojmendes
Copy link
Collaborator Author

joaojmendes commented Mar 24, 2021 via email

Copy link
Collaborator

@AJIXuMuK AJIXuMuK left a comment

Choose a reason for hiding this comment

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

Thank you @joaojmendes for quick fixes!

There are few minor things though. Could you please look into it?

Thank you so much!

src/controls/TeamPicker/ITeamPickerState.ts Outdated Show resolved Hide resolved
src/controls/TeamPicker/TeamPicker.tsx Outdated Show resolved Hide resolved
src/controls/TeamPicker/TeamPickerStyles.ts Outdated Show resolved Hide resolved
src/controls/pagination/Pagination.tsx Outdated Show resolved Hide resolved
@joaojmendes
Copy link
Collaborator Author

Hi @AJIXuMuK thank you very much for your support :) you are awesome

Copy link
Collaborator

@AJIXuMuK AJIXuMuK left a comment

Choose a reason for hiding this comment

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

Thank you @joaojmendes for the changes

@AJIXuMuK AJIXuMuK merged commit 52fa4e6 into pnp:dev Mar 30, 2021
@AJIXuMuK
Copy link
Collaborator

@joaojmendes - it has been merged and will be included in the next v3 release.
Thank you again!

@AJIXuMuK AJIXuMuK added this to the 3.1.0 milestone Mar 30, 2021
@estruyf estruyf mentioned this pull request May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants