Tasks.md icon indicating copy to clipboard operation
Tasks.md copied to clipboard

Checkbox functionality

Open kenshin-takahiro opened this issue 1 year ago • 6 comments

It would be great if you could enable checkboxes in the notes section of the tasks. As you probably know the markdown syntax is this: - [ ]

It would look like this:

  • [ ] Subtask 1
  • [ ] Subtask 2
  • [X] Subtask 3

kenshin-takahiro avatar Feb 08 '24 16:02 kenshin-takahiro

Yeah, that's something I plan to work on very soon. I could be wrong, but it looks like the editor we're using does not support checkboxes. If that's the case we'll need to switch to a different editor

Also reported in #70

BaldissaraMatheus avatar Feb 08 '24 19:02 BaldissaraMatheus

It seems like StacksEditor, the editor we are currently using, implements the CommonMark specification, which does not support task list / checkboxes. So we'll have to switch to a different editor that supports GFM. This change will require some effort so I will not be able to deliver for the next release (which is going to be done this weekend), but is certainly going to be the focus for the next one

Edit: Investigating a bit, I think it may be achieved by adding this functionality as a plugin, but right know I'm not sure

Edit 2: I reported an issue about this feature in the editor repo

BaldissaraMatheus avatar Feb 10 '24 22:02 BaldissaraMatheus

Looking forward to it for sure! Also if you can eventually show in the front of the card the amount of checkboxes that exist inside and how many of them are checked (i.e. 2/3, similar to how planka does it).

kenshin-takahiro avatar Feb 11 '24 00:02 kenshin-takahiro

I appreciate any suggestions on editors that works similarly as the one we currently use (must have markdown and rich text mode, local images upload, can be customized with css).

If someone knows one please add a comment in this thread. I'm also adding pinning the issue so more people can see it.

BaldissaraMatheus avatar Feb 12 '24 14:02 BaldissaraMatheus

I'd appreciate any suggestions on editors that works similarly as the one we currently use (must have markdown and rich text mode, upload local images, can be customized with css).

If someone knows one please add a comment in this thread. I'm also adding pinning the issue so more people can see it.

The built-in text/md editor in Nextcloud is pretty full featured, although I don't think it has rich text, but it has everything else. I think it is this one here: https://github.com/nextcloud/text It looks very good: image

kenshin-takahiro avatar Feb 12 '24 21:02 kenshin-takahiro

also please choose one that has the copy functionality in the code block

like this one does  ----------->

lephtHanded avatar Feb 16 '24 15:02 lephtHanded

Hopping on this issue! I just found Tasks.md today and am assessing it as I prefer to maintain most of my tasks and notes manually. However, the web UI this renders out is really handy.

The editor escaping- [ ] into - \[ \] is unfortunate and a blocker for me currently, but will be watching this as it sounds like the feature is high on the implementation list!

benjaminapetersen avatar Oct 14 '24 18:10 benjaminapetersen