Skip to content

Add keyboard nav#70

Merged
texodus merged 5 commits intofinos:masterfrom
JHawk:add-keyboard-nav
Jun 25, 2020
Merged

Add keyboard nav#70
texodus merged 5 commits intofinos:masterfrom
JHawk:add-keyboard-nav

Conversation

@JHawk
Copy link
Copy Markdown
Contributor

@JHawk JHawk commented Jun 24, 2020

No description provided.

JHawk added 5 commits June 24, 2020 09:43
Scroll ahead by a few columns in all directions

Begin porting to spreadsheet.md

Add update to virtual index on click
Copy link
Copy Markdown
Member

@texodus texodus left a comment

Choose a reason for hiding this comment

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

Very clean!

Comment thread examples/spreadsheet.md
with the `x` and `y` coordinates currently focused so that we can scroll
to another distant part of the table and back with our selection preserved.
We can default it to the origin.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please leave out as much leading/trailing white-space as you can in the future for code segments - this is stripped via processing script for bl.ocks but it is still a bit cumbersome to read.

Comment thread examples/spreadsheet.md
}
break;
// left arrow
case 37:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems like making these enums/const would make this code self-documenting

Comment thread examples/spreadsheet.md
}
}

if (dy !== 0) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

These two conditional blocks look like they could be simplified/merged ..

@texodus texodus merged commit 6262093 into finos:master Jun 25, 2020
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.

2 participants