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

[6.x] Reactify visualize listing table (#14227) #14447

Merged
merged 1 commit into from
Oct 12, 2017

Conversation

stacey-gammon
Copy link
Contributor

backports #14227

  • Reactify visualize listing table

  • refactor toolbar => toolBar

  • use prompt prop to also cover loading and didn't match search logic.

  • Use default alignment instead of ternary

  • Add keys to array elements where missing

  • Add align property to KuiTableHeaderCell

  • Fix issue with filter not showing up in search tool bar

  • onCheckChanged => onSelectionChanged

  • pagerComponent => pager, actionComponent => actions

  • use singular verbiage when only 1 item is selected

  • exit early per style guide

  • fix lint errors

  • rename columns => header

  • Refactor KuiTableHeaderCell into KuiListingTable

isChecked => isSelected

contents => content

refactor KuiTableRowCell internally

  • fix lint errors

  • areAllRowsChecked => areAllRowsSelected

  • improve itemSelectedCount logic in KuiListingTableToolBarFooter

  • React.Component => Component

  • make header data a variable, not a function

  • Only consider all rows selected if rows exist and they are all selected, not if there are no rows.

  • Adding a few KuiListingTable tests

  • Give one column sort attributes in examples page

* Reactify visualize listing table

* refactor toolbar => toolBar

* use prompt prop to also cover loading and didn't match search logic.

* Use default alignment instead of ternary

* Add keys to array elements where missing

* Add align property to KuiTableHeaderCell

* Fix issue with filter not showing up in search tool bar

* onCheckChanged => onSelectionChanged

* pagerComponent => pager, actionComponent => actions

* use singular verbiage when only 1 item is selected

* exit early per style guide

* fix lint errors

* rename columns => header

* Refactor KuiTableHeaderCell into KuiListingTable

isChecked => isSelected

contents => content

refactor KuiTableRowCell internally

* fix lint errors

* areAllRowsChecked => areAllRowsSelected

* improve itemSelectedCount logic in KuiListingTableToolBarFooter

* React.Component => Component

* make header data a variable, not a function

* Only consider all rows selected if rows exist and they are all selected, not if there are no rows.

* Adding a few KuiListingTable tests

* Give one column sort attributes in examples page
@stacey-gammon stacey-gammon merged commit 448fb5e into elastic:6.x Oct 12, 2017
@stacey-gammon stacey-gammon deleted the 6.x/react/listing-tables branch October 24, 2017 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant