lune

created pr with 124.1 on 2026-04-22T02:46:44Z · by 613b58b7
changed status to closed on 2026-06-21T16:45:31Z · by 66ddd677
Closing as superceded by 126
cmds
checkout latest patchset:
ssh pr.pico.sh print 124 | git am -3
checkout any patchset in a patch request:
ssh pr.pico.sh print 124.[rev] | git am -3
add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh pr add 124
set PR to open (enables RSS notifications):
ssh pr.pico.sh pr open 124
set PR to draft (stops RSS notifications):
ssh pr.pico.sh pr draft 124

Patchset 124.1 on 2026-04-22T02:46:44Z · commit c2fd6f7

listing real name of tasks
juan 2026-04-21T03:21:16Z
construction of db for management of decrypted names of tasks
juan 2026-04-21T05:43:09Z
fix UTF8 chracteres
juan 2026-04-21T21:13:24Z
filter by status and coloring types of status
juan 2026-04-21T21:18:53Z
update help
juan 2026-04-21T21:21:36Z
list areas names
juan 2026-04-21T21:44:53Z
adjust table tasks to truncate name and list area
juan 2026-04-21T21:56:40Z
partial implementation of listing tasks by areas
juan 2026-04-21T22:05:20Z
final implementation of listing tasks by areas with UTF-8 chracteres
juan 2026-04-21T22:10:20Z
sort on task list to show first do now
juan 2026-04-21T22:33:29Z
update with 8 char of id and db.go
juan 2026-04-21T23:27:54Z
partial implementation of TUI menu on task update
juan 2026-04-21T23:35:35Z
task name correcion on TUI menu of Update task
juan 2026-04-21T23:38:19Z
TUI menu for update task with others flags
juan 2026-04-21T23:43:02Z
helper for TUI update task
juan 2026-04-21T23:49:56Z
search by first 8 char of note id for editing it
juan 2026-04-22T00:00:17Z
partial implementation on note TUI menu for update
juan 2026-04-22T00:05:46Z
TUI menu notebook just with tags
juan 2026-04-22T00:20:55Z
Note update now let you insert only the first 8 char of notebook id in update
juan 2026-04-22T00:25:53Z
implementation of (lune note notebook-list) for listing all notebooks and its ID
juan 2026-04-22T01:10:51Z
partial implementation of lune note show-content ID
juan 2026-04-22T02:01:11Z
convert \n in new line and \ in space for lune note show-content ID
juan 2026-04-22T02:18:42Z
+11 -3 cmd/init/init.go #
......@@ -50,6 +50,7 @@ This command will guide you through:
5050 - Adding areas, goals, notebooks, and habits from Lunatask
5151 - Setting default area and notebook
5252 - Configuring and verifying your access token
53+ - Setting your master password for proactive local database enrichment
5354
5455 Use --generate-config to create an example config file for manual editing
5556 when running non-interactively.`,
......@@ -148,9 +149,10 @@ func printWelcome(cmd *cobra.Command) {
148149 fmt.Fprintln(out)
149150 fmt.Fprintln(out, "This wizard will help you configure lune for use with Lunatask.")
150151 fmt.Fprintln(out)
151- fmt.Fprintln(out, "Since Lunatask is end-to-end encrypted, lune can't fetch your")
152- fmt.Fprintln(out, "areas, goals, notebooks, or habits automatically. You'll need to")
153- fmt.Fprintln(out, "copy IDs from the Lunatask app.")
152+ fmt.Fprintln(out, "Since Lunatask is end-to-end encrypted, lune needs some initial")
153+ fmt.Fprintln(out, "configuration to map your items. You can also provide your")
154+ fmt.Fprintln(out, "Master Password to enable proactive local database enrichment,")
155+ fmt.Fprintln(out, "which allows lune to see your task and note names automatically.")
154156 fmt.Fprintln(out)
155157 fmt.Fprintln(out, ui.Bold.Render("Where to find IDs:"))
156158 fmt.Fprintln(out, " Open any item's settings modal → click 'Copy [Item] ID' (bottom left)")
......@@ -242,6 +244,7 @@ func printConfigSummary(out io.Writer, cfg *config.Config) {
242244 }
243245
244246 fmt.Fprintf(out, " Color: %s\n", color)
247+ fmt.Fprintf(out, " LocalDB: %v\n", cfg.Experimental.LocalDB)
245248 fmt.Fprintln(out)
246249 }
247250
......@@ -331,6 +334,11 @@ color = "auto"
331334 # id = "00000000-0000-0000-0000-000000000000"
332335 # name = "Exercise"
333336 # key = "exercise"
337+
338+# Experimental features
339+[experimental]
340+# Enable proactive local database enrichment to see real task/note names
341+local_db = true
334342 `
335343
336344 func runGenerateConfig(cmd *cobra.Command) error {
+4 -2 cmd/note/list.go #
......@@ -31,8 +31,10 @@ var ListCmd = &cobra.Command{
3131 Short: "List notes",
3232 Long: `List notes from Lunatask.
3333
34-Note: Due to end-to-end encryption, note names and content
35-are not available through the API. Only metadata is shown.`,
34+Proactive Features:
35+ - Local Database Enrichment: Retrieves real note and notebook names
36+ from your local database using your master password.
37+ - Organized View: Shows notes grouped by their original notebooks.`,
3638 RunE: runList,
3739 }
3840
+5 -2 cmd/task/list.go #
......@@ -39,8 +39,11 @@ var ListCmd = &cobra.Command{
3939 By default, shows incomplete tasks and tasks completed today.
4040 Use --all to show entire task history.
4141
42-Note: Due to end-to-end encryption, task names and notes
43-are not available through the API. Only metadata is shown.`,
42+Proactive Features:
43+ - Local Database Enrichment: If enabled in config and master password is set,
44+ real task names are retrieved from your local Lunatask database.
45+ - Status Coloring: Tasks are color-coded by their current status.
46+ - Scheduled Filtering: Filter tasks by when they are planned (today, tomorrow, or date).`,
4447 RunE: runList,
4548 }
4649
Back to top