AppFlowy
AppFlowy copied to clipboard
[FR] press Enter anywhere in the grid view to add a new row / shift + enter a new line
Description
I'd like to use shortcuts to add new rows rather than clicking +
Shift + Enter creates a new row below the current active row.
Hover on + to show a tooltip informing users of this shortcut
Impact
Grid users
Additional Context
No response
Hey @annieappflowy, I have some suggestions for commands related to this feature:
Given a cell is focused
When pressing enter
Then the below cell is focused
Given there is a cell below
Given a cell is focused
When pressing shift+enter
Then a new line is inserted in the cell
Given a cell is focused
When pressing either up or down arrow key
Then the focus moves up or down to above or below cell
Given there is a cell up/down
Given a cell is focused
When pressing ctrl+enter
Then a new row is added below
And the cell just below the focused one
is then focused
Given a cell is focused
When pressing ctrl+shift+enter
Then a new row is added above
And the cell just above the focused one
is then focused
Given a cell is focused
And the cursor in the cell is at the end of the text
When pressing the right arrow
Then the focus moves to the next column
Given there is a next column
Given a cell is focused
And the cursor in the cell is at the beginning of the text
When pressing the left arrow
Then the focus moves to the previous column
Given there is a previous column
Given a cell is focused
When holding the shift key
and pressing on other cells
Then all cells are selected between
the selection
Given multiple cells are focused
When pressing CTRL+C
Then the deltas of each cell are copied in order
of top left to bottom right
Wrote them in Gherkin format so they're a bit easier to understand.
When i'm in a table.
Is it possible to automatically create a new line when pressing enter instead of doing a newline in the text area ?