-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[DataViews] Reordering Items? #61751
Comments
I assume this would be a way to manipulate the In general I'm not sure this is really compatible with the sorting functionality in data views. What happens if you sort by publish date then drag and drop to re-order? It would be helpful to unpack the feature a little more if you have the time :) Why do you need drag and drop here? |
@jameskoster Thanks for replying. I've got all the time in the world :) The need is to have a component that provides an array of post IDs for a block to render the posts in a specific order. (Kind of like Query Loop with a
DataViews is a beautiful component, so I was hoping to be able to leverage it. |
I think it's more likely to have the ability to |
@dannyreaktiv my interpretation is slightly different to Nik's, I think. I want to fully understand. It sounds to me that you'd like to have a block that shows a specific set of posts. In the configuration view for that block the posts are displayed using the data view component. Users can drag/drop posts to change the order that the block displays them in. If that's correct, I'd ask; why not allow users to re-order on the canvas, similar to how images can be re-ordered in Gallery blocks? Otherwise I'm struggling to see a similar use case for core data views, so I'm not sure how it would fit into the roadmap. |
@jameskoster Thanks for getting back to me. I hadn't considered reordering on the canvas. Thanks for the idea! |
What problem does this address?
Is there anything on the DataViews roadmap to include reordering items via drag and drop?
What is your proposed solution?
Allow for items be rendered via drag and drop. In Table view that would mean reordering rows and in Grid that would mean having the cards be reorderable.
The text was updated successfully, but these errors were encountered: