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

Automatic prev-next ordered hierarchy notes #392

Closed
Cammagno opened this issue Apr 30, 2022 · 8 comments · May be fixed by #496
Closed

Automatic prev-next ordered hierarchy notes #392

Cammagno opened this issue Apr 30, 2022 · 8 comments · May be fixed by #496

Comments

@Cammagno
Copy link

Now that there is a way to specify a prev-next order in hierarchy notes,
what about setting it to consider by default that the following item in a list (at the same level) is next to the previous one?

e.g.:

  • [[1]]
    • [[1.1]]
      • [[1.1.1]]
      • [[1.1.2]]
      • [[1.1.3]]
    • [[1.2]]
      1.2 is next of 1.1 (unless differently specified)
      1.1.3 is next of 1.1.2 which is next of 1.1.1 (unless differently specified)

This will make it much easier to set a long list of ordered items

@jiajiala
Copy link

I really need this, too

@jiajiala
Copy link

jiajiala commented Aug 31, 2023

- [[xx]]
    - [[dd]]
         - [[dd~]]
         - [[dd~x]]
    - [[oo]]

Structures like this should be recognizable by nature
oo is next of dd

@SkepticMystic
Copy link
Owner

SkepticMystic commented Mar 17, 2024

You can now enable this for an entire List Note (previously Hierarchy Note) by adding the BC-list-note-neighbour-field: <field> to your List Notes. In this example, it would be BC-list-note-neighbour-field: next, but it can also be same, or any other field.
This only works in V4, see here for more info: https://github.com/SkepticMystic/breadcrumbs/blob/master/V4.md

Really quite happy with this feature :)

@Cammagno
Copy link
Author

In this example, it would be BC-list-note-neighbour-field: next, but it can also be same

Great!
Is next the default, or the BC-list-note-neighbour-field` is mandatory?

@SkepticMystic
Copy link
Owner

Mandatory for now, but it's reasonable for this to be a setting to apply to all List Notes. Will you open a separate FR for that?

@Cammagno
Copy link
Author

Mandatory for now, but it's reasonable for this to be a setting to apply to all List Notes. Will you open a separate FR for that?

Done: #515 (comment)
Thanks!

@SkepticMystic
Copy link
Owner

For sure! Is it all working as expected?

@Cammagno
Copy link
Author

Is it all working as expected?

Not tested it yet because I'm travelling, but I'll do it ASAP!

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

Successfully merging a pull request may close this issue.

3 participants