penge / my-notes

Simple and fast note-taking in Chrome with Google Drive support.
https://chrome.google.com/webstore/detail/my-notes/lkeeogfaiembcblonahillacpaabmiop
MIT License
240 stars 34 forks source link

[Feature Request] Check list option for formatting #386

Closed onlytanmoy closed 1 year ago

onlytanmoy commented 2 years ago

Hiya, first things first, really useful Chrome extension, thanks for that. You have covered all most all formatting types baring the check list, please can that be included? see example below You can either fade out or strikethrough once a task is checked-off.

image

penge commented 2 years ago

Hi Troy, this is doable using bulleted (or numbered list) which also has indent (to make nested todos), having just text and ~strikethrough~ (when done). But it's not exactly checkbox so I understand.

Here's a quick preview how this could look. Thing is, checkbox and label have to work together, as one, so it can get tricky to have that easily editable (so it does not disappear when label is empty).

Preview:

todo-preview
onlytanmoy commented 2 years ago

Thanks for your response mate, yes that preview looks all good to me, can that be implemented please?

penge commented 2 years ago

Yeah, sure. I'll check on it and post some updates here in the next days.

onlytanmoy commented 2 years ago

Thanks a lot, I am glad I stumbled upon this extension of yours, it makes it so easy for my brain dump 👍

penge commented 2 years ago

Happy to hear that, thank you :)

penge commented 1 year ago

The problem with having a checkbox + text, is deleting the text, after which the checkbox is removed as well (and we don't want that). This is the behaviour of https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable that My Notes relies on.

Closing for now, as there's no quick solution for that. A simple list with ~Strikethrough~ (Strikethrough) should be good enough.