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

Determine behavior on equal titles #89

Open
kmaasrud opened this issue Apr 11, 2022 · 0 comments
Open

Determine behavior on equal titles #89

kmaasrud opened this issue Apr 11, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@kmaasrud
Copy link
Member

Equal titles are allowed, as the IDs serve as the one truth to what note is which. However, ID lookup and internal link creation can be ambiguous when notes share an equal title. We need to determine how mdzk should handle this.

Currently, looking up an ambiguous title returns the last note walked. The walk happens randomly, so this behavior is not consistent, though it might be the best we can get without sacrificing performance. Giving the user a warning would likely be the most sensible solution.

@kmaasrud kmaasrud added the enhancement New feature or request label Apr 11, 2022
@kmaasrud kmaasrud added this to the 1.0.0 milestone Apr 11, 2022
@kmaasrud kmaasrud self-assigned this Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant