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

Possibility to reorder some user-ordered list/leaf-list entries defined in a template #11

Open
QiufangMa opened this issue Nov 15, 2024 · 2 comments

Comments

@QiufangMa
Copy link

No description provided.

@jsterne
Copy link

jsterne commented Dec 2, 2024

We'll need to carefully consider how to handle user-ordered lists, especially when multiple templates can apply to a list or leaflist, and those templates may have different or conflicting information about the order of the entries.

@QiufangMa
Copy link
Author

I agree we need to be careful, but I think it as a "nice-to-have" capability, in cases where the ordering carries some meaning.

If we allow multiple templates to be applied to a same node, then a priority should be specified with that, as conflict occurs if different templates declares different values for a same node. But I think the user-decided order should always takes the first priority (e.g., the entry marked with position-first should always be the first entry when merging).

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

No branches or pull requests

2 participants