trilium icon indicating copy to clipboard operation
trilium copied to clipboard

(Feature request) Improvements to checklists

Open TiZ-HugLife opened this issue 3 years ago • 2 comments
trafficstars

Describe feature

Hi there! I think Trilium is really nifty, and I've pretty much migrated entirely from Joplin. I really love how the entire application is programmable, how it's basically identical server-side and desktop-side, and how many note types and features are built-in. Great work on this application!!

I think there are some simple things that could be done to improve the use of checklists in Trilium. I know there is this big old task list system that uses note attributes, but I prefer the simplicity of checklists because the more complex it is to mark a task as accomplished, the less likely I am to actually engage with task list functionality. I like having my tasks in the main view, as well. So checklists are serving the purpose much better for me, for the most part.

The two suggestions I have are this.

  1. New checklist items should default to being unchecked. Whenever you create a new list item, the next checklist item automatically gets the checked state of the list item that the cursor is on. So if your cursor is on a completed item and you press enter, the new item will automatically be checked. You're usually adding a new checklist item to indicate something you haven't done yet, so it doesn't make much sense for new items to be checked. I don't know if I could change this behavior with the script API. EDIT: It looks like this behavior comes from CKEditor itself... I'll investigate upstream.

  2. A keyboard shortcut for toggling the current checklist item would be great. Not much else to say about this one, but it seems like I might be able to make this with the scripting API, if I can navigate the sprawling API documentation for CKEditor.

  3. Keyboard shortcuts to move list items up or down would be nice. I think this would be helpful for all types of lists, but I bet this would be much harder to do, so I'm not worried so much about this one.

Thank you for your time! 😊

Additional Information

No response

TiZ-HugLife avatar Aug 28 '22 15:08 TiZ-HugLife

Hi!

Regarding your second item: there is such a shortcut, Ctrl+Enter does the thing.

ifsmirnov avatar Dec 04 '22 07:12 ifsmirnov

Hi!

Regarding your second item: there is such a shortcut, Ctrl+Enter does the thing.

So it does; thank you!

TiZ-HugLife avatar Feb 24 '23 00:02 TiZ-HugLife