You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sweep: a new link to a root note whose name is not unique can resolve to another note #251
Example: with Plan.md and A/Plan.md, a link from A/X.md to the root Plan.md is written as [[Plan]], which resolves to A/Plan.md.
Why it matters: Completion or a drag inserts a link to the note the user chose, but it opens another note. This is the case that shortest exists to handle (a name that is not unique).
Suggested fix: Check that the written text resolves back to p from the linking note (with markdown.Resolve), and write a rooted path (/Plan) when it does not; add a test with a root note and a same-name note in the linking folder.
Activity
fix: the sweep issues #250, #251, #252 and #253 (#259)