v0.46.1
Patch Changes
-
Files whose name carries a doubled markdown extension now get their own row in the Files sidebar. A
notes.md.mdsitting next to a realnotes.mdresolved to the same sidebar path as its neighbour, and the sidebar kept only the first of the two, so the other file had no row, no badge, and no warning even though it was still on disk and still reachable everywhere else. Each file now appears under its real name, so a stray doubled extension is visible and can be renamed or deleted. Same-name.mdand.mdxpairs are unchanged, since those already resolved to separate rows. -
With "Show .ok folders" turned on in the sidebar, clicking
.okor one of its subfolders such astemplatesno longer opens an error tab reading "This file could not be found" for a name liketemplates.md. Those rows are folders, but OpenKnowledge was reading the folder path as the name of a missing file, and the bad tab came back on its own every time the file list refreshed.The
.okfolder view still lists no documents of its own, because.okcontents stay out of the file index. -
Dropping a file into a document now explains why an upload failed instead of showing a bare "Upload failed" toast. When the dropped file's contents can no longer be read — it was moved, deleted, or had not finished downloading between the drop and the upload — the message names the file and says so, rather than implying a server problem. Genuine connectivity failures are now reported as such. The same distinction applies to uploads started from the property panel's file picker.
Both paths also record the file's name, type, size at drop time, size at send time, and the underlying error, so a failed upload leaves enough evidence in a diagnostic bundle to identify which file failed and why. Previously the entire record of a failure was
TypeError: Failed to fetch, which is the same message the browser produces for an unreachable server, a denied read, and a vanished file alike — and because the request never leaves the app in these cases, nothing was recorded on the server either.