FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(react-table): Disable header controls with empty table by jcaianirh · Pull Request #3008 · patternfly/patternfly-react · GitHub

fix(react-table): Disable header controls with empty table - #3008

Merged
tlabaj merged 1 commit into
patternfly:masterfrom
jcaianirh:pf4table-header-controls
Oct 15, 2019
Merged

fix(react-table): Disable header controls with empty table#3008
tlabaj merged 1 commit into
patternfly:masterfrom
jcaianirh:pf4table-header-controls

Conversation

jcaianirh commented Sep 25, 2019
edited
Loading

Copy link
Copy Markdown
Contributor

Fixes: #1431

What: When no rows exist in the table, disable the select all checkbox if present, and disable the sortable column mouse behavior (mouse pointer, text highlight)

Additional issues:

Copy link
Copy Markdown
Collaborator

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

dlabrecq previously approved these changes Sep 25, 2019
When no rows exist in the table, disable the select all checkbox if present, and disable the
sortable column mouse behavior (mouse pointer, text highlight)

patternfly#1431

codecov-io commented Oct 11, 2019
edited
Loading

Copy link
Copy Markdown

Codecov Report

Merging #3008 into master will increase coverage by <.01%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##           master    #3008      +/-   ##
==========================================
+ Coverage   69.02%   69.03%   +<.01%     
==========================================
  Files         858      858              
  Lines       23535    23539       +4     
  Branches     1877     1879       +2     
==========================================
+ Hits        16246    16250       +4     
  Misses       6336     6336              
  Partials      953      953
Flag Coverage Δ
#misc 95.45% <ø> (ø) ⬆️
#patternfly3 69.23% <ø> (ø) ⬆️
#patternfly4 68.12% <88.88%> (+0.01%) ⬆️
Impacted Files Coverage Δ
...-4/react-table/src/components/Table/SortColumn.tsx 77.77% <100%> (+1.3%) ⬆️
...src/components/Table/utils/decorators/sortable.tsx 100% <100%> (ø) ⬆️
...c/components/Table/utils/decorators/selectable.tsx 100% <100%> (ø) ⬆️
.../react-table/src/components/Table/SelectColumn.tsx 75% <100%> (+3.57%) ⬆️
...rnfly-4/react-table/src/components/Table/Table.tsx 91.35% <66.66%> (+0.1%) ⬆️
...y-3/patternfly-react/src/components/Table/Table.js 95.74% <0%> (+0.03%) ⬆️

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 8dcfb49...ffc2268. Read the comment docs.

tlabaj previously approved these changes Oct 11, 2019

tlabaj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

tlabaj dismissed their stale review October 11, 2019 21:40

i need to look at this again

tlabaj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

lgtm

tlabaj merged commit 3de4468 into patternfly:master Oct 15, 2019

Copy link
Copy Markdown
Collaborator

Your changes have been released in:

  • @patternfly/react-inline-edit-extension@2.11.96
  • @patternfly/react-table@2.23.12

Thanks for your contribution! 🎉

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

PF4 Table: Disable header controls when no rows are available

7 participants


Back | FazBrowse Home | New Git URL