Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Nodes are added using their basename instead of path. Conflict ensues #136

Closed
vitaly opened this issue Sep 30, 2021 · 8 comments
Closed
Labels
bug Something isn't working builders Different methods for adding edges to the BC graph

Comments

@vitaly
Copy link

vitaly commented Sep 30, 2021

I have several journal directories, one per client

this plugin mixes the notes from different journal, but sharing the same file namr

e.g if I have Client A/journal/2021-10-01 that sets client:: [[Client A]] and client B/journal/2021-10-01 that sets client:: [[Client B]], then both of those notes will have both clients as their project (Real).

I enabled the debug logs, and from the looks of it, it only uses the file name for the indexing, ignoring the path.

@SkepticMystic
Copy link
Owner

There is sort of a limitation here, you see.
I only have as much information as is in the wikilink brackets [[info]]. So if I only know that date:: [[2021-10-01]], then that's all I've got to go off of.
There is an option to have the full file path in the brackets, which is something I can try account for. But this will take me some time to work out the kinks

@SkepticMystic SkepticMystic added the bug Something isn't working label Nov 23, 2021
@SkepticMystic SkepticMystic changed the title mix up of the hierarchy between notes sharing the same file name Bug: Nodes are added using their basename instead of path. Conflict ensues Dec 5, 2021
@zsviczian
Copy link

I just bumped into this issue. Why not use getFirstLinkpathDest(linkpath: string, sourcePath: string): TFile when indexing the vault?

@shixinzi
Copy link

Problem still exists?

@wiebe
Copy link

wiebe commented Aug 23, 2022

I can confirm this still exists, i am running into this same issue even when i specify the full path.

@gbeine
Copy link

gbeine commented Dec 23, 2022

I have the same issue currently.
I have multiple files with the same name in different folders.
Even though I alwas use the whole path in the up/next relations, the result is a reference to the wrong file.

@jonnymauser76
Copy link

Hi guys,
any news on this one? After using my vault for quite a while with daily notes in subfolder together with events for that day in respective notes, I increasingly encounter notes with identical names in different subfolders. Is there any workarround or fix for this?

@SkepticMystic
Copy link
Owner

This is one of the longest-standing issues, so I think it's a good place to mention that I'm working on rebuilding Breadcrumbs.
This issue is resolved in the beta release, so you can start using it today.
But please do read more before upgrading: https://github.com/SkepticMystic/breadcrumbs/blob/master/V4.md

I'll keep this issue open until the new version is live

@SkepticMystic SkepticMystic reopened this Feb 3, 2024
@SkepticMystic SkepticMystic moved this to In Progress in Breadcrumbs Mar 19, 2024
@SkepticMystic SkepticMystic added the builders Different methods for adding edges to the BC graph label Mar 19, 2024
@SkepticMystic
Copy link
Owner

Now that I've officially announced V4 on the Discord server, I'm going to finally consider this issue closed :) Again, checkout the V4 changes for more info: https://github.com/SkepticMystic/breadcrumbs/blob/master/V4.md

@github-project-automation github-project-automation bot moved this from In Progress to Done in Breadcrumbs Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working builders Different methods for adding edges to the BC graph
Projects
Status: Done
Development

No branches or pull requests

7 participants