-
Notifications
You must be signed in to change notification settings - Fork 842
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
Datagrid remaining keyboard shortcuts #2519
Merged
chandlerprall
merged 20 commits into
elastic:master
from
ffknob:datagrid-remaining-keyboard-shortcuts
Nov 20, 2019
Merged
Changes from 2 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
3c582e6
Implements some of the remaining key shortcuts for the data grid
ffknob 9fc1ea5
Data grid
ffknob 7b7d5bc
Page down/up now walks through the grid's pages
ffknob 71808f5
Adds some more keybindings for the data grid component and includes a
ffknob 0ee5510
Removes the conditional testing for alphanumeric key events
ffknob e77a176
Merge branch 'master' into datagrid-remaining-keyboard-shortcuts
ffknob c783cd3
Merge branch 'master' into datagrid-remaining-keyboard-shortcuts
ffknob 406b2bf
Refactors the Page Up/Page Down as suggested by @chandlerprall
ffknob 5c198e7
Keeps focus on same cell position (row/column) when changing pages
ffknob 992d5d6
Merge branch 'master' into datagrid-remaining-keyboard-shortcuts
ffknob 25830ce
Creates a context for the data grid and tries to use it to solve
ffknob 3845a10
Fixes bug when paging down and the last page has less rows than the row
ffknob 1d1c7e7
Creates a state to hold the updateFocus() matrix
ffknob fe3fc64
Calls updateFocus() inside a requestAnimationFrame()
ffknob 0fd79d8
Merge branch 'master' into datagrid-remaining-keyboard-shortcuts
ffknob 8c01784
EuiDataGrid keyboard navigation tweaks
chandlerprall 05c7f10
Refactored cellsUpdateFocus usage
chandlerprall 4cbb9fa
commented on an anti-pattern
chandlerprall 93043d5
Merge pull request #1 from chandlerprall/drks
ffknob a3569c6
Merge branch 'master' into datagrid-remaining-keyboard-shortcuts
ffknob File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chandlerprall Should we move the whole switch statement to an
if
/else
? Having to do this feels silly...There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I took the liberty to go ahead and make the change as suggested by @myasonik . Feel free to let me know if you want the switch statement back.