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

Implicitly Sorted Lists #1026

Open
karger opened this issue Jul 4, 2024 · 0 comments
Open

Implicitly Sorted Lists #1026

karger opened this issue Jul 4, 2024 · 0 comments

Comments

@karger
Copy link
Collaborator

karger commented Jul 4, 2024

Bringing the sort() function into mavo by default was convenient, but deprecating the mv-sort plugin (which now conflicts with sort) eliminates the separately useful feature of a list that is inherently sorted by some key---so that when you add an item, it is placed (or at least shown) in the list at the right spot for its sort order. Without this built-in, to emulate the behavior, you need to create the underlying list as a hidden data structure, then present a sorted version of it---which also requires re-implementing the list editing functionality (adding and removing items) since that is only available by default in the (hidden) underlying list.

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

1 participant