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

Improve sorting of mask elements in the backend module #493

Open
m41r opened this issue Jun 17, 2022 · 7 comments
Open

Improve sorting of mask elements in the backend module #493

m41r opened this issue Jun 17, 2022 · 7 comments

Comments

@m41r
Copy link
Contributor

m41r commented Jun 17, 2022

In the mask backend panel, the content elements are sorted by creation order - which is sometimes a bit impractical.
An ordering with the label or key of the element would be IMHO more helpful.

Maybe you could add a button with which we can choose how to sort the list, with variants like:

  • label (ASC/DESC)
  • key (ASC/DESC)
  • creation-order (ASC/DESC)

I saw there is a sorting property in the mask.json which we can manually change, but this feels also impractical and maybe i'm doing more harm than good ;)

@m41r m41r changed the title Improve sorting of mask elements in the backend module [FEATURE] Improve sorting of mask elements in the backend module Jun 17, 2022
@nhovratov
Copy link
Collaborator

Hey, thanks for the feature request. Yes you are correct, right now elements are sorted in creation order. This is how it always worked. The sorting property, which you found, was added recently in preparation for a future manual sorting in the backend.

Adding the possibility to order the elements in the Mask module by key or label wouldn't be too hard. Good idea!

@m41r
Copy link
Contributor Author

m41r commented Jun 17, 2022

Awesome! Thank you :)

@nhovratov nhovratov changed the title [FEATURE] Improve sorting of mask elements in the backend module Improve sorting of mask elements in the backend module Jun 20, 2022
@nhovratov
Copy link
Collaborator

@birgitberlin Please create a new issue. This here is about the sorting inside the Mask module.

@creativekallol
Copy link

@nhovratov Any update on this? In one of my projects client has 16 mask elements. It is essential to order it by title (A-Z). Would be cool if this sorting feature inside the Mask module is added.

@nhovratov
Copy link
Collaborator

No, I don't have the resources to work on new features right now, as I'm occupied with Content Blocks. You can however already adjust the sorting by manually setting the sorting key in the mask json file.

@TheRealMadMesi
Copy link

@nhovratov Any update here? Would be a nice feature.

@nhovratov
Copy link
Collaborator

@TheRealMadMesi Currently there will be no new features developed for Mask. I'm focusing on Content Blocks for Core right now.

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

No branches or pull requests

4 participants