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

TableList improvements #4579

Merged
merged 30 commits into from
Feb 14, 2018
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
54d044f
Show count of selected items in header
Feb 5, 2018
163dee6
Show header actions also if 1 element is selected
Feb 5, 2018
1cdb49c
Wrap TableList bulk actions inside component
Feb 7, 2018
78d27bf
Update selection when filter changes
Feb 7, 2018
38060c0
Improve select all selection
Feb 7, 2018
d6f58b9
Extract function recalculating selected items
Feb 8, 2018
d236a06
Correct data passed to TypeAheadDataFilter
Feb 8, 2018
6d522d5
Refactor code in componentDidUpdate
Feb 8, 2018
228d252
Disable "select all" checkbox if there's no data
Feb 8, 2018
dfbb5ee
Do not hide filter and header when no data
Feb 8, 2018
fd6e91d
Update filters and selections when items change
Feb 8, 2018
9303971
Enable users to filter data from TableList header
Feb 8, 2018
ff15c1c
Add prop to hide TableList filter
Feb 9, 2018
e4c96c2
Add ControlledTableList
Feb 13, 2018
f41041b
Move styling to a better place
Feb 13, 2018
9a5e528
Wrap string headers
Feb 13, 2018
0267341
Render TableList using ControlledTableList
Feb 13, 2018
f5f5cee
Remove unused ControlledTableList.css
Feb 13, 2018
1d2b88a
Remove headerFiltersFactory
Feb 13, 2018
44dd63f
Rename headerActionsFactory with bulkActionsFactory
Feb 13, 2018
e8f2391
Add prop to disable bulk actions
Feb 13, 2018
fce3ae9
Use consistent naming for enable/disable flags
Feb 13, 2018
99ce01c
Use all space available for filter
Feb 14, 2018
2b1506a
Add more specificity to group header style
Feb 14, 2018
96fdb47
Adapt PermissionSelector to changes in TableList
Feb 14, 2018
7fc7590
Correct description after problem with conflict
Feb 14, 2018
311f572
Disable bulk actions in TokenList
Feb 14, 2018
56bb782
Update test snapshots
Feb 14, 2018
0519492
Ensure we pass Immutable JS lists down
Feb 14, 2018
b31d73e
Fix ImmutableJS proptypes checking
Feb 14, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Disable bulk actions in TokenList
  • Loading branch information
Edmundo Alvarez committed Feb 14, 2018
commit 311f5722af8e066da156376cdf0ffc7d1f19e2c3
1 change: 1 addition & 0 deletions graylog2-web-interface/src/components/users/TokenList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class TokenList extends React.Component {
titleKey="name"
descriptionKey="token"
hideDescription={this.state.hide_tokens}
enableBulkActions={false}
itemActionsFactory={this.itemActionsFactory} />
<Checkbox id="hide-tokens" onChange={this._onShowTokensChanged} checked={this.state.hide_tokens}>
Hide Tokens
Expand Down