Polaris-react: Feature request: add the ability to pass previously selected products/collections to the Resource Picker

Created on 9 May 2017  路  3Comments  路  Source: Shopify/polaris-react

Issue summary

Would like the ability to be able to optionally pass previously selected products/collections when using the Resource Picker.

Expected behavior

Passing the products/collections will show them as already selected in the list when reopening the Resource Picker.

Specifications

  • Polaris version: 1.0.2
EASDK

Most helpful comment

Like @gf3 mentioned, this is on our radar for EASDK and Polaris. We treat all feature requests as part of our backlog.

I鈥檒l close this issue for now, but we encourage everyone who wants this feature to add a 馃憤 to the original issue report. We鈥檒l take your collective interest into account when we look at what to work on next.

馃挏

All 3 comments

I was excited to add this to the Polaris library with a PR, but ResourcePicker is calling the easdk via window.postMessage().

https://github.com/Shopify/polaris/blob/aa9e5d49b4a900aa50f59b482d30c38c26eda22a/src/embedded/easdk/components/ResourcePicker.ts#L36

Is this something that the Shopify team is interested in or planning on pursuing? We're designing around this in our embedded app.

hi @babenzele鈥攚e don't have a timeline for when it'll be implemented but it is definitely on our radar and something we'd like to address in a future update

Like @gf3 mentioned, this is on our radar for EASDK and Polaris. We treat all feature requests as part of our backlog.

I鈥檒l close this issue for now, but we encourage everyone who wants this feature to add a 馃憤 to the original issue report. We鈥檒l take your collective interest into account when we look at what to work on next.

馃挏

Was this page helpful?
0 / 5 - 0 ratings