Shopify / shopify-app-bridge

https://shopify.dev/docs/api/app-bridge
88 stars 9 forks source link

Can the resource picker preserve the user's selection order? #51

Closed macdonaldr93 closed 7 months ago

macdonaldr93 commented 3 years ago

Describe the feature you’d like

When a user selects resources in the resource picker, they are returned in the order that they are displayed. Ideally, the order of the selected resources would be returned in the order that the user selected them in.

Describe alternatives you've considered

The only alternative I have right now is to rebuild the product picker in my app.

Additional context

The selected resources get returned in the onSelection callback. This is where the order is not preserved.

iwoodruff commented 7 months ago

hey @macdonaldr93 this is a great suggestion – i appreciate the input & have taken a note for when we revisit pickers