Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.42k stars 1.99k forks source link

Gallery Block: Sorting feature - oldest to newest and newest to oldest #91664

Open mdtanjid0 opened 4 months ago

mdtanjid0 commented 4 months ago

What

There is a missing feature where users can sort their images from oldest to newest and newest to oldest in the backend.

Currently, the only available option is Random, so it would be great to have more sorting options like that for our users.

Why

This feature will help users showcase their gallery images in different orders, such as oldest to newest and newest to oldest. Currently, we need to refer them to a third-party plugin for this. However, for users on plans like Starter or Explorer, we can’t solve their problem except by manually reordering the images.

How

I don't have any illustrations right now, but we can create options like we did for the random order: https://wordpress.com/support/wordpress-editor/blocks/gallery-block/#random-order.

mrfoxtalbot commented 3 months ago

This is a good idea but it should probably be fixed in core. Here's a related issue: https://github.com/WordPress/gutenberg/issues/24578