Ciao BTC
Looking good!
Tested on Win 7 64bit in FF52 & 60 and latest Chrome on Desktop. Win 10 62bit FF60 on Surface Windows Tablet in touch-screen only mode.
Small observations about TAB between fields in editor.
1 - If you manually add a new tag the tabbing looses focus IF you press (add). Then you have to manually click in a field to get tabbing back. (You can preserve Tabbing by pressing plain [Enter] rather than the (add) button when adding manually).
Yes, I've made the Editor auto-focus if the editor-preview changes, but not for the tags and fields inputs because of the already existing shortcuts that keep focus in the input fields. I think it's ok like that. But I wanted to add <Enter> to add the field but forgot about it
2 - If you Tab through all the visible fields and then tab once or more when the cursor is in the last field it appears to lose focus. Actually its there, you can't see it. It will come back if you repeatedly press [Tab+Shift] so if for instance you tabbed three times beyond the last field tabbing [Tab+Shift] four times will bring it back to last field.
For tabbing it uses the standard behaviour of the browser. Elements on the page can have a tab-index. tabbing starts with the lowest tab-index (default is 0). On the standard tiddlywiki all elements have the default value I think, that's why tabbing goes through all of those inputs, buttons etc.
I've set the inputs 1 level higher than the rest, which causes the browser to tab through all 1-level elements once one of them is focused and after the last one it goes to level 2 if it's there or falls back to 0
3 - IF you happened to have two Tiddlers open for editing it jumps to the Title field of the next open down the stream.
Yes, I don't know yet which is the best behaviour. But there already are shortcuts for focusing the title of the selected tiddler from anywhere. focus-title is ctrl-alt-H, tags ctrl-alt-T, editor ctrl-alt-E, type ctrl-alt-Y, fields name ctrl-alt-F, fields value ctrl-alt-V (If I remember them correctly - these are difficult shortcuts but they can all be changed)
Now in the last input field of a tiddler, we could add a shortcut that puts the focus back to the title. I think this should be a setting that can be enabled/disabled
I don't think any of this is hugely important. But I did wonder if Tabbing could return to the Title field once you tab from the last field of a tiddler in-edit?
I'll report back if I see anything else.
Thanks Josiah!
Best wishes
Josiah