-
-
Notifications
You must be signed in to change notification settings - Fork 72
remaining spreadsheet navigation and editing UI updates #174
Description
originally from discussion in #172 (comment)
We should fix all of the items marked with an ✖️ . Feel free to break out these items into separate issues as you work on them.
focussed mode
-
✅ a cell is in
focussedwhen you click on it (once) or when you navigate to it with the keyboard -
✅ arrowing (in any direction) or tabbing in
focussedmode changes the cells, keeps it infocussedmode -
✅ typing in
focussedmode overrides the cell's contents with what you have typed -
✖️
entermoves the cell down (Excel) or intoeditmode (Google Docs)- we do this the google docs way rather than the excel way. we should do it the excel way if possible. i'm not concerned about this for launch.
-
✅ pasting a string will replace the cells contents with that string
-
✅ pasting a group of cells will paste the contents across those cells
-
visually,
editis distinct fromfocussedmode by:
a. ✅ not having a cursor
b. ✖️ not having any highlighted text. seeing the highlighted text when in focussed mode does not look right and it makes it harder to distinguish between the two modes. this would be a 'nice to have' for launch. -
🔧 141 move in cell #172. typing text keeps the cell in
focussedmode: after typing, arrowing moves the cell, it does not move the cursor -
✅
deletedeletes the cell -
✅
escapereverts the edit back to what the cell's contents originally were
edit mode
- ✖️ a cell is in
editmode when you double-click- slow double click works, but not the typical fast double-click
- ✅ a cursor for editing the contents of the text appears
- ✖️ In excel, F2 also gets you into edit mode
- ✅ arrowing left-right in
editmode changes the cursor by single character. - ✅ arrowing up-down in
editmode moves the cursor to the front or the back of the cells contents - ✅
entermoves the focus down one cell intofocussedmode - ✅
tabmoves the focus to the right one cell intofocussedmode - ✖️ pasting a string will paste the contents in the cursor location
- ✖️ pasting a series of cells isn't allowed in excel. in google docs it will paste it as a multi-line string.
- we actually do neither of these - we have the same behaviour as
focussed: it pastes into several cells.
- we actually do neither of these - we have the same behaviour as
- visually,
editis distinct fromfocussedmode by:
a. ✅ having a cursor
b. ✅ allowing text to highlight - ✅
deletedeletes the letter - ✅
escapereverts the cell back to what the cell's contents originally were and transitions the cell intofocussedmode
multi-select
- ✅ shift-arrow-keys brings you into multi-select
- ✅ shift-click brings you into multi-select
- ✅
deleteclears the contents of each cell - ✅ tabbing around cells moves the "active" cell around
- ✅
arrowtransitions the cell into focussed, and moves the active cell down- ✅ note that the active cell may not necessarily be the first cell, as the user may have tabbed around in multi-select mode first
- ✅ the active cell acts like a focussed cell w.r.t typing and entering
- ✅ deleting will always delete the contents, even if the active cell has moved around