SkepticMystic / breadcrumbs

Add typed-links to your Obsidian notes
https://publish.obsidian.md/breadcrumbs-docs
MIT License
533 stars 36 forks source link

exclude a folder from Ducks view #517

Closed n6id closed 8 months ago

n6id commented 8 months ago

Is your feature request related to a problem? Please describe. i have 2 folders of notes from the Booksidian and Kindle Sync plugins which are not meant to be part of my notes system. im trying to check the Ducks view to find stragglers, but its entirely populated by these book notes.

Describe the solution you'd like i would like there to be an option in the Ducks view settings to exclude folders.

Describe alternatives you've considered there could also be a settings option to exclude certain folders from Breadcrumbs indexing entirely. or maybe an option in the Ducks view panel itself, i could see that being more widely useful for working through a folder at a time (in a use case different from mine)

thanks for the awesome plugin btw! :)

SkepticMystic commented 8 months ago

Hey, thanks for the issue :) I'm currently rebuilding Breadcrumbs from scratch, see the top of the README for more info. As a result, I likely won't be making any changes to V3. I also haven't reimplimented Ducks View in V4, and don't guarentee that I will (it's not a widely used feature).

So with all that in mind, I still recommend updating to V4 (after reading the link in the README). I won't close this issue just yet, in case I do add Ducks View back, but it isn't a certainty right now

n6id commented 8 months ago

I see! Thank you for the answer. I grabbed V4, looks cool!

I think I will be able to manage without Ducks view. A large part of why I opened this issue was that I wanted to try it out, but I couldn't really get to the point where I could figure out if it would be useful to me. I will manage my stragglers in a different way -- it can be quite simple with dendron-style hierarchy, I reckon. Just add something like scratch. in front of notes that will need processing later. Thanks again!

SkepticMystic commented 8 months ago

Here's a quick little script you can paste in the console to find all notes with no outgoing edges in the Breadcrumbs graph:

let BC_graph = app.plugins.plugins.breadcrumbs.graph

BC_graph.nodes().filter(node => 
    BC_graph.get_out_edges(node).length === 0
)

I'll close this issue for now :)