feat(inventory,dashboard,types,core-flows,js-sdk,medusa): Improve inventory UX (#10630)
* feat(dashboard): Add UI for bulk editing inventory stock (#10556) * progress * cleanup types * add changeset * fix 0 values * format schema * add delete event and allow copy/pasting enabled for some fields * add response types * add tests * work on fixing setValue behaviour * cleanup toggle logic * add loading state * format schema * add support for bidirectional actions in DataGrid and update Checkbox and RadioGroup * update lock * lint * fix 404 * address feedback * update cursor on bidirectional select
This commit is contained in:
committed by
GitHub
parent
c5915451b8
commit
bc22b81cdf
@@ -2649,6 +2649,35 @@
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"stock": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"heading": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"loading": {
|
||||
"type": "string"
|
||||
},
|
||||
"tooltips": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"alreadyManaged": {
|
||||
"type": "string"
|
||||
},
|
||||
"alreadyManagedWithSku": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["alreadyManaged", "alreadyManagedWithSku"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": ["heading", "description", "loading", "tooltips"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"toasts": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -2721,6 +2750,7 @@
|
||||
"variant",
|
||||
"options",
|
||||
"organization",
|
||||
"stock",
|
||||
"toasts"
|
||||
],
|
||||
"additionalProperties": false
|
||||
@@ -3307,6 +3337,46 @@
|
||||
"updateItem"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"stock": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"action": {
|
||||
"type": "string"
|
||||
},
|
||||
"placeholder": {
|
||||
"type": "string"
|
||||
},
|
||||
"disablePrompt_one": {
|
||||
"type": "string"
|
||||
},
|
||||
"disablePrompt_other": {
|
||||
"type": "string"
|
||||
},
|
||||
"disabledToggleTooltip": {
|
||||
"type": "string"
|
||||
},
|
||||
"successToast": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"title",
|
||||
"description",
|
||||
"action",
|
||||
"placeholder",
|
||||
"disablePrompt_one",
|
||||
"disablePrompt_other",
|
||||
"disabledToggleTooltip",
|
||||
"successToast"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3322,7 +3392,8 @@
|
||||
"create",
|
||||
"reservation",
|
||||
"adjustInventory",
|
||||
"toast"
|
||||
"toast",
|
||||
"stock"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user