Skip to content

Conversation

@Ron-Lavi
Copy link
Collaborator

@Ron-Lavi Ron-Lavi commented May 1, 2019

Add callbacks of the updated state for each method in the controlled Dual List

@patternfly-build
Copy link
Collaborator

PatternFly-React preview: https://1901-pr-patternfly-react-patternfly.surge.sh

@codecov-io
Copy link

codecov-io commented May 1, 2019

Codecov Report

Merging #1901 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1901      +/-   ##
==========================================
+ Coverage   82.63%   82.66%   +0.03%     
==========================================
  Files         624      624              
  Lines        6875     6888      +13     
  Branches       93       93              
==========================================
+ Hits         5681     5694      +13     
  Misses       1154     1154              
  Partials       40       40
Flag Coverage Δ
#patternfly3 84.94% <100%> (+0.05%) ⬆️
#patternfly4 79.37% <ø> (ø) ⬆️
#patternflymisc 95.68% <ø> (ø) ⬆️
Impacted Files Coverage Δ
.../components/DualListSelector/DualListControlled.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6dedeee...22db98f. Read the comment docs.

DualListControlled.propTypes = {
/**
* Function that runs after items have been moved between the lists.
* Recieves the updated state as a callback.
Copy link
Member

Choose a reason for hiding this comment

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

nit: typo -> receives
(below as well)

dtaylor113
dtaylor113 previously approved these changes May 2, 2019
@Ron-Lavi Ron-Lavi dismissed stale reviews from dtaylor113 and jeff-phillips-18 via 22db98f May 5, 2019 09:17
@Ron-Lavi Ron-Lavi force-pushed the fix/dual_list_callbacks branch from 5199245 to 22db98f Compare May 5, 2019 09:17
@Ron-Lavi
Copy link
Collaborator Author

Ron-Lavi commented May 5, 2019

Thanks, fixed :)

@tlabaj tlabaj added the PF3 label May 8, 2019
@Ron-Lavi
Copy link
Collaborator Author

can we merge it? :)

@dtaylor113 dtaylor113 merged commit 16ac9c2 into patternfly:master May 15, 2019
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.

7 participants