Commit Graph

7 Commits

Author SHA1 Message Date
Kartik K. Agaram ec7f0bbe6e indicate local modifications in load/save dialog 2024-03-17 12:37:21 -07:00
Kartik K. Agaram 3293f3e139 some keyboard shortcuts on non-mobile devices
Hopefully this is easy to remember from left to right:
- run is F1
- stop is F2
- hide/show is F3
- save is F4
- load is F5

There are also tooltips to introduce these shortcuts to newcomers.

Most of the shortcuts are only enabled when code is visible. In keeping
with existing conventions for mouse events, we leave most event handlers
for the script when code is hidden. The only exception is 'F3' to show
code. So if you want to use a shortcut 'k' when code is hidden, you have
to instead use 'F3 k F3'.

This is all tentative and open to change. But I'll probably grow more
reluctant to change the shortcuts in a few weeks or months.
2024-02-22 18:27:39 -08:00
Kartik K. Agaram a6f69931f3 Merge template-live-editor-mobile 2024-01-15 02:52:26 -08:00
Kartik K. Agaram 966f8a15bf simplify state management for menus 2023-12-04 22:09:47 -08:00
Kartik K. Agaram d85c246cfb bugfix: avoid overflowing 'delete' button in some situations 2023-12-01 19:59:23 -08:00
Kartik K. Agaram 54ef90bca7 extract a second helper for buttons 2023-11-25 23:03:36 -08:00
Kartik K. Agaram 3e17033a87 extract a helper for buttons 2023-11-25 21:11:24 -08:00