From 1d760d6ab6ee11e85a65d70bc657eb1fad6d471d Mon Sep 17 00:00:00 2001 From: ayattara Date: Sat, 8 Aug 2026 07:09:40 +0000 Subject: [PATCH 1/3] Add checklist (GFM task-list) toolbar button Adds applyCheckboxList, mirroring the existing bullet/numbered-list toggle transforms: toggles a "- [ ] " marker on every non-blank selected line, converting a plain bullet in-place to "- [ ] " rather than double-prefixing, and toggles all-checked lines back to plain text in one click. Wires a new "checkbox-list" entry into TOOLBAR_ACTIONS so the button shows in MarkdownToolbar for both the notes panel and the kanban modal (both share the same component). Adds unit tests covering empty note, blank-line caret, full-selection toggle on/off, blank-line skipping mid-selection, existing-bullet conversion, and bare-caret behavior. Updates README's toolbar feature list to mention the checklist button. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- README.md | 11 ++++++----- ui/bundle.js | 42 +++++++++++++++++++++++++++++++++++++-- ui/bundle.test.mjs | 49 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5d5036d..d135114 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,12 @@ AI-assisted proofreading. - **Notes task panel** — a dockview panel in the task workspace (`+` → Notes), also available on a phone under the grouped **Panels** bottom-nav action. - **Markdown editing with a formatting toolbar** — a scrollable markdown - `