An alternative might be to render whenever no key has been pressed for some time.
Mhm, I donât see why not. Anyone else interested in this?
+1 for hitting ESC to exit editing mode.
+1. Also,
- Allow in rendered mode
- navigation
- expanding/collapsing
- following links (if multiple, the first link only, or by number)
- (Edit 1: I see this is now done. The cursor returns to either the item or itâs note. Edit 2: ESC only works in Firefox, not in Chrome.) When entering edit mode again, remember if it was an item itself or itâs note that was being edited. (Provided there was no movement at all while in rendered mode, of course. Otherwise youâd have to store this info with every item.)
If you leave edit mode, it ought to instead select the current item.
That might be some Firefox specific behavior since we havenât done anything on our end.
If I understood correctly @Luca_Innocenti was basically talking about a quick way to blur the item without using the mouse? That would not select any item, unfortunately.
Blur means unfocus? Thats new to me.
I think that was the idea, but I propose a different one.
I mean, ideally I would love to have a(n extremely simplified version of a) dual vim-like interface, with an editing mode to write text, from which one can exit with <esc>
to enter a âcommand modeâ in which everything is rendered and the arrows (or, even better, hjkl
) are used to navigate in the tree instead that in a single node (up
and down
to move between nodes, left
and right
to zoom and unzoom).
I just mentioned the <esc>
feature here because thatâs probably easier to implement, thus incrementing the chances of this being actually done sooner rather then later!
To me this select mode would be more critical for mobile where doesnât even exist. To be able to just tap items for multi-select would be useful.
I see, itâs actually Vimium add-on that does it.
Well, âblurâ might be a bit of a technical jargon, sorry about that. One really starts to forget the vocabulary most people use when theyâve worked with code too much. âblurâ/âunfocusâ both mean removing the blinking cursor/caret from the currently activated text field.
âA different oneâ: is that for multiselect on mobile? Since you posted here I thought you meant something related to unfocusing/blurring.
I see.
My main reasoning that Esc
can exit edit view is that itâs pretty standard. If you start editing something on a webpage, and you hit Esc
, you stop editing it. So Iâm totally fine with that request.
I didnât expect the request to be the part 1 for a vim-like mode for Dynalist. You can navigate with Up/Down/PageUp/PageDown on a webpage already, and since Dynalist is intended for most audiences, the hjkl
part most likely wonât be implemented
I figured as much, which is why I mentioned only the esc bit in the proposal! The rest is probably more suitable to be implemented with user scripts and such anyway.
Yep, thanks for being understanding.
User scripts or even plugins (when we have such a system) so it works on all platforms would be ideal.
I see this has been implemented, thanks a lot!
Yes, thanks for noticing!
This is a really nice feature. I like it. Thanks for implementing it!
I had been having trouble with Esc
in Chrome: often pressing Esc
wouldnât exit edit mode, meaning that if the current item included a link or formatting, I couldnât easily switch to a clean view using the keyboard â very frustrating. After disabling all my extensions, the problem went away.
Attempting to narrow it down, it seems most likely that the problem is being caused by the extension Saka Key â unfortunately one of my favorite extensions. Thankfully, after adding https://dynalist.io
to Saka Keyâs blacklist, the problem has not recurred.
Edit: As of March 2020, a related problem is occuring, whereby when first loading or refreshing a Dynalist tab in Chrome, it gets focus but no cursor, so that keyboard shortcuts work (for navigating, zooming, jumping) but typing doesnât â until I click which makes the cursor appear. Again, disabling Saka Key fixes the problem.
Thanks for the detailed post! I hope it will others who face the same issue