From d5ea938ea7efd9c65738741b25e69b832f848cb4 Mon Sep 17 00:00:00 2001 From: Chris McCormick Date: Mon, 5 Jan 2026 14:51:51 +0800 Subject: [PATCH] New refactor items. --- TODO.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/TODO.md b/TODO.md index e18bcad..36cc2ff 100644 --- a/TODO.md +++ b/TODO.md @@ -9,9 +9,21 @@ ## TODO - [ ] Display sub-lines of the form `key: value` immediately after item +- [ ] Make it a proper PWA with the minimal-pwa technique ## Bugs +## Refactor + +- [ ] Consolidate modal logic into generic modal handler +- [ ] Extract file operations into higher-level abstraction +- [ ] Simplify drop indicator logic +- [ ] Consolidate menu creation (card menus and burger menu) +- [ ] Extract line parsing logic - separate parsing from state management +- [ ] Reduce IndexedDB boilerplate with generic DB operation wrapper +- [ ] Make createAddForm more generic to handle both columns and cards +- [ ] Extract and consolidate indent detection functions + ## Done - [x] Warning colored note on home and about page if browser doesn't support FileSystem Access API.