The JS grid editor could allow navigating with Ctrl+Arrow keys, as is possible in the tbl_change.php row editor.
Would this interfere with any blur-events that autosave the field with Ajax?
So for instance, Ctrl + Arrows keys should allow navigation in the main dashboard panel of PMA? For instance in the table structure tab? Is that the requirement?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This feature wishes to implement CTRL + Arrow Keys Navigation in JS Grid Editor (on sql.php i.e. while browsing a table).
Now assuming the above description is correct,
Should moving from one 'currently-editing' cell to its adjacent(above, below, right, left) cell by way of this feature, should we save the currently edited cell or we should ignore those changes ?
Or should we provide an added option (of may be CTRL + SHIFT + Arrow) for navigating without saving (while CTRL + Arrow would by default save the previous cell data).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This feature wishes to implement CTRL + Arrow Keys Navigation in JS Grid Editor (on sql.php i.e. while browsing a table).
Exactly.
Should moving from one 'currently-editing' cell to its adjacent(above, below, right, left) cell by way of this feature, should we save the currently edited cell or we should ignore those changes ?
We should save the changes, just like is currently done when clicking the mouse away from an edited cell.
Or should we provide an added option (of may be CTRL + SHIFT + Arrow) for navigating without saving (while CTRL + Arrow would by default save the previous cell data).
Good idea, but I don't think this is needed at all.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So for instance, Ctrl + Arrows keys should allow navigation in the main dashboard panel of PMA? For instance in the table structure tab? Is that the requirement?
Please correct me if I am wrong.
This feature wishes to implement CTRL + Arrow Keys Navigation in JS Grid Editor (on sql.php i.e. while browsing a table).
Now assuming the above description is correct,
Should moving from one 'currently-editing' cell to its adjacent(above, below, right, left) cell by way of this feature, should we save the currently edited cell or we should ignore those changes ?
Or should we provide an added option (of may be CTRL + SHIFT + Arrow) for navigating without saving (while CTRL + Arrow would by default save the previous cell data).
Exactly.
We should save the changes, just like is currently done when clicking the mouse away from an edited cell.
Good idea, but I don't think this is needed at all.
Using both ctrl and alt keys (for Mac users, in particular), this is implemented with https://github.com/phpmyadmin/phpmyadmin/pull/1713