-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(inventory,dashboard,types,core-flows,js-sdk,medusa): Improve inventory UX #10630
base: develop
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
6 Skipped Deployments
|
🦋 Changeset detectedLatest commit: 2638460 The changes in this PR will be included in the next version bump. This PR includes changesets to release 65 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…js/medusa into feat/inventory-ux-feature
/snapshot-this |
🚀 A snapshot release has been made for this PRTest the snapshots by updating your yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add [email protected] yarn add @medusajs/[email protected] yarn add [email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected] yarn add @medusajs/[email protected]
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐐🐐
@@ -0,0 +1,9 @@ | |||
import { HttpTypes } from "@medusajs/types" | |||
|
|||
// TODO: Create a type in the types package |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo?
@medusajs/dashboard
multiColumnSelection
is true. This allows the users to drag-to-fill, copy/paste, etc, across all columns at once. The feature needs to be enabled with the above flag, as it only makes sense for DataGrids where we can guarantee that all columns are of the same type. Will also enable this for the various price related DataGrids in a follow up PR.framer-motion
dependency withmotion
, as the former was deprecated aftermotion
was separated from the Framer organization.@medusajs/core-flows
@medusajs/medusa
POST /admin/inventory-items/location-levels/batch
endpoint using the above mentioned workflow.POST /admin/inventory-items/:id/location-levels/batch
endpoint to use the above mentioned workflow.ID
of the stock location of said location level. Instead you need to pass the ID of the location level. The body of the endpoint has been changes from{ creates: [], deletes: []}
to{ create: [], update: [], delete: [] }
to bring it inline with other batch endpoints. As an example an accepted payload went from{ deletes: ["sloc_123"] }
to{ delete: ["ilvl_123"] }
.@medusajs/js-sdk
batchInventoryItemsLocationLevels
andbatchInventoryItemLocationLevels
. Notice that one is the plural form of InventoryItems. The two methods correspond toPOST /admin/inventory-items/location-levels/batch
andPOST /admin/inventory-items/:id/location-levels/batch
.batchUpdateLevels
in favour ofbatchInventoryItemLocationLevels
@medusajs/types
@medusajs/ui
Resolves CMRC-784, CMRC-786, CMRC-787