Marked notes #704
|
Hi, is it possible to check the box without having to write in Markdown? Thanks |
Replies: 6 comments
|
Yes and no, and the no is the interesting half. You never have to write Markdown by hand. The note editor has a toolbar, and one of its buttons inserts a checkbox item ( What you cannot do is tick the box by tapping it, and I suspect that is what you were actually asking. The rendered checkbox is a So: half of your question has a good answer, and the half you ran into is a real gap. Making rendered checkboxes tappable is accepted. Two things it has to get right, which is why it is not quite a one-liner:
Thanks for asking. This one had been sitting in plain sight. |
|
Short answer: no, not today, and both halves of your question are fair. What you are seeing in the screenshots is the rendered view. Two separate things are missing, and I want to name them apart because they are not the same amount of work: 1. Tapping the rendered box. The obstacle is not the click handler, it is the write-back: the tap has to find which 2. Inserting a checkbox without typing the brackets. The Notes editor has a formatting toolbar; a checklist button belongs in it. @thesoundhead asked for the same thing for task notes in #731, on a phone, for the same reason. Same job, two places. No date from me. Thanks for the screenshots, they made it obvious that the box looks interactive, which is its own problem regardless of when this gets built. |
|
I fully support the original request. Being able to check or uncheck checklist items directly by clicking the checkbox would fit perfectly into a quality-of-life update. As it stands, checklist items in the Notes module are particularly cumbersome to use, since users have to edit the note and manually add or remove an “x” each time. Making the rendered checkboxes interactive would provide a much smoother and more intuitive experience. |
|
I’m bringing this up again because it’s really annoying when you use the feature regularly. |
|
You are right to push, and the honest answer is that my last reply overstated the obstacle. I said the blocker was the write-back: that a tap has to work out which That changes my assessment of the work rather than the priority, and I would rather say so than leave a wrong reason standing for a third time. What is genuinely left, and it is the smaller half:
So: accepted for the third time, but with a route instead of a caveat. The checklist button for the editor toolbar goes in with it, since @thesoundhead asked for the same thing on the task side in #731 and it is the same job in two places. No date from me, and I am not going to invent one to end a thread. But it is now sized as an evening rather than a project, and it moves accordingly. |
|
This shipped in v2.42.0. @Imanity-jhn you pushed twice, and the second time you were right to: the last thing I said was that it had been resized "as an evening rather than a project", and then it sat there anyway. Tapping a rendered checkbox now ticks it, on the note card and in the reader. Two things about how it works, because they decide where it does not work. A tick rewrites one line, not the note. Notes are shared. If ticking had gone through the ordinary save, two people crossing off different items in the same minute would have had the later save quietly drop the earlier tick - and nobody would have seen it happen, because both taps looked like they worked. It goes through a route of its own that changes exactly the one line and leaves the rest of the text byte for byte alone. Which line is meant comes from the line number, never from the text. A shopping list with "Milk" on it twice is the normal case, not an edge case. The renderer marks each box with the line it came from, and the client sends back the line it saw; if somebody edited the note in between, the tick is refused rather than landing in the wrong row. You would see a message and the note reloading - rare, but that is what it means. Where boxes stay decorative, and why. On the overview, because the note is shown there as a truncated excerpt and an excerpt's line numbers are not the note's. In task notes, which have no line-accurate way back to the text yet. And in the reader while the editor holds unsaved changes, because those lines are not the lines the server has. In all three the box looks the same as before and simply does not respond - I would rather it do nothing than tick the wrong thing. The checklist button in the editor toolbar was already there, so you never had to type the brackets by hand either; if it was not findable, that is worth its own thread. Thanks for not letting this go. |


This shipped in v2.42.0.
@Imanity-jhn you pushed twice, and the second time you were right to: the last thing I said was that it had been resized "as an evening rather than a project", and then it sat there anyway. Tapping a rendered checkbox now ticks it, on the note card and in the reader.
Two things about how it works, because they decide where it does not work.
A tick rewrites one line, not the note. Notes are shared. If ticking had gone through the ordinary save, two people crossing off different items in the same minute would have had the later save quietly drop the earlier tick - and nobody would have seen it happen, because both taps looked like they worked. It goes through a rout…