Repository navigation
Description
Issue Summary
Wikilinks pointing to notes located inside a database (e.g., Test.base) do not resolve successfully when operating in a Remote Vault. The application treats these existing notes as missing. However, the exact same linking behavior works perfectly when using a Local Vault.
Environment
- Failing Workspace: Remote Vault
- Working Workspace: Local Vault
Description
There is a discrepancy in how wikilinks are indexed and resolved depending on the vault type.
Remote Vault (Failing): As seen in the following screenshot, when a wikilink is created targeting a file within a .base directory, the "Connections" side panel lists the link under Links From Here with a "CREATE" badge. The system states: "No note resolves this wikilink yet. Click to create it."
Local Vault (Working): As seen in the following screenshot, when the same link format [[Reference 01]] is used, the "Connections" panel successfully resolves the link to the path inbox/Test.base/Reference 01.md. It displays a "HOVER" badge, and the hover preview successfully loads the contents of the database note.
Steps to Reproduce
- Open ZenNotes and connect to a Remote Vault.
- Ensure you have a database folder structure (e.g.,
inbox/Test.base/). - Create a note that resides within this database (e.g.,
Reference 01.md). - Open a different note in the workspace (e.g., Welcome).
- Type a wikilink targeting the database note (e.g.,
[[Reference 01]]or the full path). - Observe the link failing in the Connections panel (shows "CREATE").
- Switch to a Local Vault and repeat steps 2-5.
- Observe the link resolving successfully in the Connections panel (shows "HOVER" and allows preview).
Expected Behavior
Wikilinks targeting files inside database .base folders should resolve consistently across both Local and Remote Vaults. In the Remote Vault, the Connections panel should register the active outbound link, display the correct file path, and allow hover previews, matching the Local Vault's behavior.
Actual Behavior
The Remote Vault fails to index or resolve the database file path, prompting the user to create a new note instead of linking to the existing one.
Activity
Fix(server): wikilinks into a database resolve on a remote vault (#527)
adibhanna commentedon Aug 2, 2026
Fixed in 4e9f8d3 on the
v2.21.0branch. Thank you for the two screenshots side by side: "same link, works local, fails remote" pointed straight at the server's note list, which is where it was.What was happening
The server walked past
.basefolders when listing notes. That was deliberate once, and half of it still is: a database'sdata.csvandschema.jsonhave no business showing up as loose notes or attachments, and the sidebar should draw the database itself rather than its directory. But the record pages inside are notes. You open them, write in them, and link to them, exactly as your screenshots show. A note the server refuses to list is a note the client cannot resolve a link to, so every wikilink into a database resolved to nothing and the Connections panel offered to create one.Nothing was wrong with the wikilink resolver; it was answering correctly about a list that was missing the note.
The fix is to stop skipping the folder when listing notes. Only
.mdfiles are collected, sodata.csvandschema.jsonstill cannot surface as notes, andListFolders/ListAssetskeep skipping it so the sidebar is unchanged.ScanTaskshad the same skip, so a- [ ] taskwritten in a record page was invisible on a remote vault while showing up locally. Same rule, so it went with it.Verified by running a real server against a vault holding
inbox/Test.base/Reference 01.mdand connecting the app to it as a remote workspace, before and after:inbox/Welcome.mdonlyinbox/Test.base/Reference 01.mdinbox/Test.base/Reference 01.mdThe sidebar still shows
Testas a database rather than a folder full of notes, which was the thing worth not breaking.Ships in 2.21.0.