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

Hierarchy neighbors #496

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

adzcai
Copy link

@adzcai adzcai commented Dec 21, 2023

A new feature for the Hierarchy Notes alternative hierarchy: e.g. given the following hierarchy note:

---
BC-hierarchy-note-next: next
BC-hierarchy-note-prev: prev
---
- [[A]]
	- [[AA]]
	- [[AB]]
		- [[ABA]]
		- [[ABB]]
	- [[AC]]
		- [[ACA]]
		- [[ACB]]
	- [[AD]]

Then from AB, the "next" field points to AC and "prev" points in the opposite direction; from ABA, the next field points to ABB and "prev" points in the opposite direction; etc.

This was requested in a few different issues:
Closes #392
Closes #327
Closes #476

@SkepticMystic
Copy link
Owner

Hey @adzcai, thank you for your contribution, I appreciate the effort that's gone into this!
I'm not sure if you've seen, but I'm working on a full rewrite of the plugin, more info here: https://github.com/SkepticMystic/breadcrumbs/blob/master/V4.md. Most features have already been reimplemented, including Hierarchy Notes (now called List Notes).

I'm considering whether to merge your changes into the existing v3, or if they should go into v4 only.. Would you be open to migrating your changes to v4 instead? The code is different, but should be simpler to understand. Let me know your thoughts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants