Shopify / ui-extensions

MIT License
266 stars 37 forks source link

[Admin UI] Dropzone component #1309

Open gil-- opened 1 year ago

gil-- commented 1 year ago

Please list the related package(s)

admin-ui-extensions-react

If this related to specific APIs or components, please list them here

new component

Is your feature request related to a problem? Please describe.

Dropzone component (File import)

Describe the changes you are looking for

Looking to accept a .JSON file which contains configuration for importing.

Describe alternatives you’ve considered

n/a

Additional context

CleanShot 2023-09-03 at 11 12 39

https://polaris.shopify.com/components/selection-and-input/drop-zone

leoatech-Sughra commented 2 weeks ago

Hello, when will this be released or if we have an alternate way to create custom components ?

gil-- commented 2 weeks ago

Closing as Dropzone is now on unstable: https://shopify.dev/docs/api/customer-account-ui-extensions/unstable/components/dropzone

leoatech-Sughra commented 2 weeks ago

Hi @gil-- Thanks for sharing this update. When I used the Dropzone element from the customer ui extensions, it gave me an error that its not available with the admin blocks. Can you point me as to how do I use this in my admin UI extensions?

gil-- commented 2 weeks ago

@leoatech-Sughra Sorry, realized this was for Admin UI. The linked component is only available from the customer account pages. There's no Dropzone for admin and we don't support custom components.

If you require a dropzone, I'd recommend using the embedded App Provider experience for now.

leoatech-Sughra commented 2 weeks ago

Ahhh. So i thought. Which means that I have to use the custom/public app interface for now, right?