feat(dashboard): refactor location list UI to use data table (#13571)

* wip: convert location list to a table

* chore: changeset

* fix: rm search bluring on loading change

* feat: translations and palceholders, cleanup, make content more compact

* fix: delete message

* chore: optimise use memo

* fix: update toast

* feat: make stock location address searchable

* fix: search input blur on load finish
This commit is contained in:
Frane Polić
2025-09-24 10:29:13 +02:00
committed by GitHub
parent 6e806942c7
commit 10787c865f
15 changed files with 373 additions and 134 deletions
@@ -5834,9 +5834,23 @@
"properties": {
"description": {
"type": "string"
},
"noRecordsMessage": {
"type": "string"
},
"noRecordsMessageEmpty": {
"type": "string"
},
"noRecordsMessageFiltered": {
"type": "string"
}
},
"required": ["description"],
"required": [
"description",
"noRecordsMessage",
"noRecordsMessageEmpty",
"noRecordsMessageFiltered"
],
"additionalProperties": false
},
"create": {
@@ -5876,9 +5890,12 @@
"properties": {
"confirmation": {
"type": "string"
},
"successToast": {
"type": "string"
}
},
"required": ["confirmation"],
"required": ["confirmation", "successToast"],
"additionalProperties": false
},
"fulfillmentProviders": {
@@ -1535,7 +1535,10 @@
"stockLocations": {
"domain": "Locations & Shipping",
"list": {
"description": "Manage your store's stock locations and shipping options."
"description": "Manage your store's stock locations and shipping options.",
"noRecordsMessage": "No records",
"noRecordsMessageEmpty": "No locations found",
"noRecordsMessageFiltered": "No locations found matching the filters"
},
"create": {
"header": "Create Stock Location",
@@ -1548,7 +1551,8 @@
"successToast": "Location {{name}} was successfully updated."
},
"delete": {
"confirmation": "You are about to delete the stock location \"{{name}}\". This action cannot be undone."
"confirmation": "You are about to delete the stock location \"{{name}}\". This action cannot be undone.",
"successToast": "Location \"{{name}}\" was successfully deleted."
},
"fulfillmentProviders": {
"header": "Fulfillment Providers",