feat: improve server startup logs and simplify journal input labels

- Add logic to detect the best LAN IPv4 address for easier network
  access
- Display both localhost and LAN access URLs in the CLI
- Remove file path from journal input autocomplete labels
This commit is contained in:
2026-07-07 23:48:04 +08:00
parent 45c8722af8
commit 9a41f541e9
2 changed files with 38 additions and 3 deletions
+1 -1
View File
@@ -259,7 +259,7 @@ export const JournalInput: Component = () => {
];
}
return matches.map((s) => ({
label: `${s.filePath} § ${s.slug} (${s.notation})`,
label: `${s.slug} (${s.notation})`,
kind: "value" as const,
insertText: `/spark ${s.slug}`,
}));