lune
created pr with
124.1
changed status to
closed
Closing as superceded by 126
cmds
checkout latest patchset:
ssh pr.pico.sh print 124 | git am -3checkout any patchset in a patch request:
ssh pr.pico.sh print 124.[rev] | git am -3add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh pr add 124set PR to open (enables RSS notifications):
ssh pr.pico.sh pr open 124set PR to draft (stops RSS notifications):
ssh pr.pico.sh pr draft 124
Patchset
124.1
listing real name of tasks
juan
construction of db for management of decrypted names of tasks
2026-04-21T03:21:16Zjuan
fix UTF8 chracteres
2026-04-21T05:43:09Zjuan
filter by status and coloring types of status
2026-04-21T21:13:24Zjuan
update help
2026-04-21T21:18:53Zjuan
list areas names
2026-04-21T21:21:36Zjuan
adjust table tasks to truncate name and list area
2026-04-21T21:44:53Zjuan
partial implementation of listing tasks by areas
2026-04-21T21:56:40Zjuan
final implementation of listing tasks by areas with UTF-8 chracteres
2026-04-21T22:05:20Zjuan
sort on task list to show first do now
2026-04-21T22:10:20Zjuan
→ update with 8 char of id and db.go
2026-04-21T22:33:29Zjuan
partial implementation of TUI menu on task update
2026-04-21T23:27:54Zjuan
task name correcion on TUI menu of Update task
2026-04-21T23:35:35Zjuan
TUI menu for update task with others flags
2026-04-21T23:38:19Zjuan
helper for TUI update task
2026-04-21T23:43:02Zjuan
search by first 8 char of note id for editing it
2026-04-21T23:49:56Zjuan
partial implementation on note TUI menu for update
2026-04-22T00:00:17Zjuan
TUI menu notebook just with tags
2026-04-22T00:05:46Zjuan
Note update now let you insert only the first 8 char of notebook id in update
2026-04-22T00:20:55Zjuan
implementation of (lune note notebook-list) for listing all notebooks and its ID
2026-04-22T00:25:53Zjuan
partial implementation of lune note show-content ID
2026-04-22T01:10:51Zjuan
convert \n in new line and \ in space for lune note show-content ID
2026-04-22T02:01:11Zjuan
2026-04-22T02:18:42Z
update with 8 char of id and db.go
juan
2026-04-21T23:27:54ZSemantic diff summary
1 added,
4 modified,
0 signature changed,
0 removed
across 3 analyzed files
+5
-1
cmd/note/update.go
#
| ... | ... | @@ -12,6 +12,7 @@ import ( | |
| 12 | 12 | "git.secluded.site/lune/internal/completion" | |
| 13 | 13 | "git.secluded.site/lune/internal/config" | |
| 14 | 14 | "git.secluded.site/lune/internal/dateutil" | |
| 15 | + | "git.secluded.site/lune/internal/db" | |
| 15 | 16 | "git.secluded.site/lune/internal/ui" | |
| 16 | 17 | "git.secluded.site/lune/internal/validate" | |
| 17 | 18 | "github.com/spf13/cobra" |
+5
-1
cmd/task/update.go
#
| ... | ... | @@ -12,6 +12,7 @@ import ( | |
| 12 | 12 | "git.secluded.site/lune/internal/completion" | |
| 13 | 13 | "git.secluded.site/lune/internal/config" | |
| 14 | 14 | "git.secluded.site/lune/internal/dateutil" | |
| 15 | + | "git.secluded.site/lune/internal/db" | |
| 15 | 16 | "git.secluded.site/lune/internal/ui" | |
| 16 | 17 | "git.secluded.site/lune/internal/validate" | |
| 17 | 18 | "github.com/spf13/cobra" |
+18
-0
internal/db/reader.go
#
| ... | ... | @@ -147,6 +147,24 @@ func EnrichTask(taskID string) (string, error) { | |
| 147 | 147 | return nameCache[taskID], nil | |
| 148 | 148 | } | |
| 149 | 149 | ||
| 150 | + | // CompleteID searches for the full UUID by an 8-character prefix. | |
| 151 | + | func CompleteID(prefix string) string { | |
| 152 | + | if len(prefix) != 8 { | |
| 153 | + | return prefix | |
| 154 | + | } | |
| 155 | + | ||
| 156 | + | if !cacheWarmed { | |
| 157 | + | _ = WarmCache() | |
| 158 | + | } | |
| 159 | + | ||
| 160 | + | for id := range nameCache { | |
| 161 | + | if strings.HasPrefix(id, prefix) { | |
| 162 | + | return id | |
| 163 | + | } | |
| 164 | + | } | |
| 165 | + | return prefix | |
| 166 | + | } | |
| 167 | + | ||
| 150 | 168 | // Area represents a Lunatask area found in the local database. | |
| 151 | 169 | type Area struct { | |
| 152 | 170 | ID string |