From 1d0d31c25e45bc5d535b8452c16da31ae95f1510 Mon Sep 17 00:00:00 2001
From: Kevin Lyda <kevin@lyda.ie>
Date: Sun, 11 May 2025 21:04:19 +0100
Subject: [PATCH] Add notes.

---
 NOTES.md | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/NOTES.md b/NOTES.md
index abe4eb1..8a8151e 100644
--- a/NOTES.md
+++ b/NOTES.md
@@ -27,6 +27,9 @@ repl.commands?
 
 ## Things to do
 
+  * Move to a storage layer.  Next: this.Folder should be a storage.Folder.
+  * Implement batch jobs - and have install populate the database with some
+    test data.
   * Implement each command.
     * Next: folder commands - ~~CREATE~~, ~~REMOVE~~, MODIFY, ~~INDEX~~, ~~SELECT~~
     * Messages: ~~ADD~~, CURRENT, ~~DIRECTORY~~, BACK, CHANGE, FIRST, REMOVE, NEXT, ~~READ~~
@@ -34,14 +37,6 @@ repl.commands?
     * Moving messages: COPY, MOVE
     * Compound commands: SET and SHOW - make HELP work for them.
     * Mail: MAIL, FORWARD, 
-    * Implement batch jobs
-  * ~~Editor - need an embedded editor~~ Implemented using tview; good enough
-    * An EDT inspired [editor](https://sourceforge.net/projects/edt-text-editor/)
-    * [gkilo](https://github.com/vcnovaes/gkilo)
-    * This [kilo editor](https://viewsourcecode.org/snaptoken/kilo/) tutorial
-    * Using giu, a [text-editor](https://serge-hulne.medium.com/coding-a-simple-text-editor-in-go-using-giu-quick-and-dirty-b9b97ab41e4a) (needs cgo, no)
-    * [bubbletea](https://github.com/charmbracelet/bubbletea) seems to be the tui that's winning
-    * Another option is tview - [simpler](https://github.com/rivo/tview).
   * Handle broadcast messages - have bulletin watch a directory and
     display files from it.  Then have them delete the file if it's older
     than 5 minutes (allow for failure)
@@ -63,6 +58,16 @@ repl.commands?
   * ~~SHOW VERSION~~
   * Check db version; notify user if it changes; refuse to write to db if it has.
 
+Done:
+
+  * ~~Editor - need an embedded editor~~ Implemented using tview; good enough
+    * An EDT inspired [editor](https://sourceforge.net/projects/edt-text-editor/)
+    * [gkilo](https://github.com/vcnovaes/gkilo)
+    * This [kilo editor](https://viewsourcecode.org/snaptoken/kilo/) tutorial
+    * Using giu, a [text-editor](https://serge-hulne.medium.com/coding-a-simple-text-editor-in-go-using-giu-quick-and-dirty-b9b97ab41e4a) (needs cgo, no)
+    * [bubbletea](https://github.com/charmbracelet/bubbletea) seems to be the tui that's winning
+    * Another option is tview - [simpler](https://github.com/rivo/tview).
+
 ## Module links
 
   * cli - [docs](https://cli.urfave.org/v3/getting-started/)
-- 
GitLab