From 6fd65285ae08a09af4ec9e648e8ebca3173617b1 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Wed, 10 May 2023 19:27:33 +0200 Subject: [PATCH] chore: another TODO --- gshmm.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gshmm.go b/gshmm.go index d49443d..cf76639 100644 --- a/gshmm.go +++ b/gshmm.go @@ -143,6 +143,9 @@ func loadDatasheets(m model) loadedDatasheetsMsg { var datasheets []datasheet var datasheetNames []string + // TODO: have this gradually update the UI as files are walked/parsed instead + // of blocking until everything is done in one big go. the current loading + // spinner will be there for a while on actually many manuals // TODO: handle error in interface? _ = filepath.Walk(".", func(path string, info os.FileInfo, err error) error { if err != nil {