Add the upload modal to Medusa UI components #4960
mortenengel
started this conversation in
Feature Requests
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First off, thumbs up on the new admin extensibility, and the Medusa UI components that has been added. Great work!
I would like to request that one of your current components from the admin UI is exported - preferably though the UI, but alternatively just from the current version in the admin-ui project.
We have created a custom strategy for importing customers and gift-cards from CSV files, and would very much like to use the same import modal that is used for the products and pricing import;
https://github.com/medusajs/medusa/blob/develop/packages/admin-ui/ui/src/components/organisms/upload-modal/index.tsx
Being able to use it exactly the same way as it's used from the price import today, would be perfect:
Note, that in order to use the polling and notification context, we would need the useNotification and usePolling to be exported as well (which might make it hard to move it to the UI components?) https://github.com/medusajs/medusa/blob/develop/packages/admin-ui/ui/src/domain/pricing/batch-job/import.tsx
Beta Was this translation helpful? Give feedback.
All reactions