feat(admin-ui, medusa, medusa-react, medusa-js): Price List UI revamp (#5233)
* progress on cleanup * rm forceMount * close modal on succesful submit * fix: invalidate price list query on useAdminCreatePriceListPrices * sync translation keys * add last translations * sync translation keys * improve tabbing between cells * add comment * fix: remove double variant, set collision boundary on column dropdown * add widgets * update lock file * decrease details info size, and add missing status update function * sync translation keys * add snapshots and remove min/max * add missing filter menu for customer groups table * add translation keys for filter menu * rm unused code * Create tall-apricots-run.md * Update tall-apricots-run.md * fix: discard invalid paste values * add translation keys * bump snapshots + minor fixes * rm console.log * bump snapshots * bump ui packages, and add missing tax inclusive display in New form * update lock file * fix filter menu * update snapshot * update ui package and fix sub menu position --------- Co-authored-by: Sebastian Rindom <skrindom@gmail.com> Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
86 files changed
+9910
-2667
No files matched your search
@@ -1,5 +1,13 @@
|
||||
{
|
||||
"back-button-go-back": "Go back",
|
||||
"filter-menu-trigger": "View",
|
||||
"filter-menu-clear-button": "Clear",
|
||||
"filter-menu-select-item-default-placeholder": "Select filter",
|
||||
"filter-menu-select-item-clear-button": "Clear the selected options",
|
||||
"filter-menu-select-item-selected": "Selected",
|
||||
"filter-menu-date-item-before": "Before",
|
||||
"filter-menu-date-item-after": "After",
|
||||
"filter-menu-date-item-between": "Between",
|
||||
"sales-channels-display-available-count": "Available in <2>{{availableChannelsCount}}</2> out of <6>{{totalChannelsCount}}</6> Sales Channels",
|
||||
"activity-drawer-activity": "Activity",
|
||||
"activity-drawer-no-notifications-title": "It's quiet in here...",
|
||||
@@ -111,13 +119,13 @@
|
||||
"login-card-password": "Password",
|
||||
"login-card-forgot-your-password": "Forgot your password?",
|
||||
"metadata-add-metadata": "Add Metadata",
|
||||
"product-attributes-section-title": "Attributes",
|
||||
"product-attributes-section-edit-attributes": "Edit Attributes",
|
||||
"product-attributes-section-dimensions": "Dimensions",
|
||||
"product-attributes-section-configure-to-calculate-the-most-accurate-shipping-rates": "Configure to calculate the most accurate shipping rates",
|
||||
"product-attributes-section-customs": "Customs",
|
||||
"product-attributes-section-cancel": "Cancel",
|
||||
"product-attributes-section-save": "Save",
|
||||
"product-attributes-section-title": "Attributes",
|
||||
"product-attributes-section-height": "Height",
|
||||
"product-attributes-section-width": "Width",
|
||||
"product-attributes-section-length": "Length",
|
||||
@@ -1380,89 +1388,161 @@
|
||||
"form-use-new-order-form-must-be-used-within-new-order-form-provider": "useNewOrderForm must be used within NewOrderFormProvider",
|
||||
"new-order-created": "Order created",
|
||||
"new-create-draft-order": "Create Draft Order",
|
||||
"batch-job-price-list-prices": "Price List prices",
|
||||
"batch-job-upload-a-csv-file-with-variants": "Upload a CSV file with variants and prices to update your price list. Note that any existing prices will be deleted.",
|
||||
"batch-job-unsure-about-how-to-arrange-your-list": "Unsure about how to arrange your list?",
|
||||
"batch-job-download-the-template-file-below-and-update-your-prices": "Download the template file below and update your prices",
|
||||
"details-back-to-pricing": "Back to Pricing",
|
||||
"details-raw-price-list": "Raw price list",
|
||||
"sections-customer-groups": "Customer groups",
|
||||
"sections-last-edited": "Last edited",
|
||||
"sections-price-overrides": "Price overrides",
|
||||
"sections-more": "more",
|
||||
"sections-delete-price-list-heading": "Delete Price list",
|
||||
"sections-are-you-sure-you-want-to-delete-this-price-list": "Are you sure you want to delete this price list?",
|
||||
"sections-success": "Success",
|
||||
"sections-price-list-deleted-successfully": "Price list deleted successfully",
|
||||
"sections-edit-price-list-details": "Edit price list details",
|
||||
"sections-delete-price-list": "Delete price list",
|
||||
"edit-prices-overrides-edit-price-overrides": "Edit price overrides",
|
||||
"edit-prices-overrides-success": "Success",
|
||||
"edit-prices-overrides-price-overrides-updated": "Price overrides updated",
|
||||
"edit-prices-overrides-cancel": "Cancel",
|
||||
"edit-prices-overrides-save": "Save",
|
||||
"edit-prices-overrides-count_one": "{{count}}",
|
||||
"edit-prices-overrides-count_other": "{{count}}",
|
||||
"edit-prices-overrides-add-prices": "Add prices",
|
||||
"prices-details-edit-prices": "Edit prices",
|
||||
"prices-details-prices": "Prices",
|
||||
"prices-details-you-will-be-able-to-override-the-prices-for-the-products-you-add-here": "You will be able to override the prices for the products you add here",
|
||||
"prices-details-remove-from-list": "Remove from list",
|
||||
"prices-details-edit-manually": "Edit manually",
|
||||
"prices-details-import-price-list": "Import price list",
|
||||
"prices-table-search-by-name-or-sku": "Search by name or SKU...",
|
||||
"prices-table-edit-prices": "Edit prices",
|
||||
"prices-table-remove-product": "Remove product",
|
||||
"prices-table-success": "Success",
|
||||
"prices-table-deleted-prices-of-product": "Deleted prices of product: {{title}}",
|
||||
"prices-table-error": "Error",
|
||||
"prices-table-name": "Name",
|
||||
"prices-table-collection": "Collection",
|
||||
"prices-table-no-collection": "No collection",
|
||||
"prices-table-variants": "Variants",
|
||||
"pricing-add-price-list": "Add price list",
|
||||
"pricing-price-lists": "Price lists",
|
||||
"form-header-error": "Error",
|
||||
"form-header-success": "Success",
|
||||
"form-header-successfully-updated-price-list": "Successfully updated price list",
|
||||
"form-header-publish-price-list": "Publish price list",
|
||||
"form-header-save-as-draft": "Save as draft",
|
||||
"form-header-save-changes": "Save changes",
|
||||
"form-header-cancel": "Cancel",
|
||||
"pricing-form-create-new-price-list": "Create new price list",
|
||||
"pricing-form-edit-price-list": "Edit price list",
|
||||
"sections-configuration": "Configuration",
|
||||
"sections-optional-configuration-for-the-price-list": "Optional configuration for the price list",
|
||||
"sections-price-overrides-time-application": "The price overrides apply from the time you hit the publish button and forever if left untouched.",
|
||||
"sections-price-overrides-has-a-start-date": "Price overrides has a start date?",
|
||||
"sections-schedule-the-price-overrides-to-activate-in-the-future": "Schedule the price overrides to activate in the future.",
|
||||
"sections-price-overrides-has-an-expiry-date": "Price overrides has an expiry date?",
|
||||
"sections-schedule-the-price-overrides-to-deactivate-in-the-future": "Schedule the price overrides to deactivate in the future.",
|
||||
"sections-end-date": "End date",
|
||||
"sections-customer-availabilty": "Customer availabilty",
|
||||
"sections-specifiy-which-customer-groups-the-price-overrides-should-apply-for": "Specifiy which customer groups the price overrides should apply for.",
|
||||
"sections-customer-groups-label": "Customer Groups",
|
||||
"sections-general": "General",
|
||||
"sections-general-information-for-the-price-list": "General information for the price list.",
|
||||
"sections-name": "Name",
|
||||
"sections-b-2-b-black-friday": "B2B, Black Friday...",
|
||||
"sections-for-our-business-partners": "For our business partners...",
|
||||
"sections-tax-inclusive-prices": "Tax inclusive prices",
|
||||
"sections-choose-to-make-all-prices-in-this-list-inclusive-of-tax": "Choose to make all prices in this list inclusive of tax.",
|
||||
"sections-prices": "Prices",
|
||||
"sections-you-will-be-able-to-override-the-prices-for-the-products-you-add-here": "You will be able to override the prices for the products you add here",
|
||||
"sections-define-the-price-overrides-for-the-price-list": "Define the price overrides for the price list",
|
||||
"sections-edit-prices-label": "Edit prices",
|
||||
"sections-remove-from-list": "Remove from list",
|
||||
"sections-search-by-name-or-sku": "Search by name or SKU...",
|
||||
"sections-edit-prices": "Edit Prices",
|
||||
"sections-price-list-type": "Price list type",
|
||||
"sections-select-the-type-of-the-price-list": "Select the type of the price list",
|
||||
"sections-sale-prices-compare-to-price-override": "Unlike with sale prices a price override will not communicate to the customer that the price is part of a sale.",
|
||||
"sections-sale": "Sale",
|
||||
"sections-use-this-if-you-are-creating-prices-for-a-sale": "Use this if you are creating prices for a sale.",
|
||||
"sections-override": "Override",
|
||||
"sections-use-this-to-override-prices": "Use this to override prices.",
|
||||
"price-list-product-filter-created-at": "Created at",
|
||||
"price-list-product-filter-updated-at": "Updated at",
|
||||
"price-list-details-drawer-prompt-title": "Are you sure?",
|
||||
"price-list-details-drawer-prompt-description": "You have unsaved changes, are you sure you want to exit?",
|
||||
"price-list-details-notification-succes-title": "Price list updated",
|
||||
"price-list-details-drawer-notification-success-message": "Successfully updated price list",
|
||||
"price-list-details-drawer-notification-error-title": "An error occurred",
|
||||
"price-list-details-drawer-title": "Edit Price List Details",
|
||||
"price-list-details-drawer-cancel-button": "Cancel",
|
||||
"price-list-details-drawer-save-button": "Save",
|
||||
"price-list-details-section-prompt-confirm-text": "Delete",
|
||||
"price-list-details-section-prompt-cancel-text": "Cancel",
|
||||
"price-list-details-section-prompt-title": "Delete price list",
|
||||
"price-list-details-section-prompt-description": "Are you sure you want to delete the price list \"{{name}}\"?",
|
||||
"price-list-details-section-delete-notification-success-title": "Successfully deleted price list",
|
||||
"price-list-details-section-delete-notification-success-message": "The price list \"{{name}}\" was successfully deleted",
|
||||
"price-list-details-section-delete-notification-error-title": "Failed to delete price list",
|
||||
"price-list-details-section-customer-groups": "Customer Groups",
|
||||
"price-list-details-section-last-edited": "Last edited",
|
||||
"price-list-details-section-number-of-prices": "Prices",
|
||||
"price-list-details-section-status-menu-expired": "Expired",
|
||||
"price-list-details-section-status-menu-draft": "Draft",
|
||||
"price-list-details-section-status-menu-scheduled": "Scheduled",
|
||||
"price-list-details-section-status-active": "Active",
|
||||
"price-list-details-section-status-menu-notification-success-title": "Successfully updated price list status",
|
||||
"price-list-details-section-status-menu-notification-success-message": "The price list status was successfully updated to {{status}}",
|
||||
"price-list-details-section-status-menu-notification-error-title": "Failed to update price list status",
|
||||
"price-list-details-section-status-menu-item-draft": "Draft",
|
||||
"price-list-details-section-status-menu-item-activate": "Activate",
|
||||
"price-list-details-menu-item-edit": "Edit details",
|
||||
"price-list-details-menu-item-delete": "Delete",
|
||||
"price-list-edit-error": "An error occurred while loading price list. Reload the page and try again. If the issue persists, try again later.",
|
||||
"price-list-new-form-prompt-title": "Are you sure?",
|
||||
"price-list-new-form-prompt-exit-description": "You have unsaved changes, are you sure you want to exit?",
|
||||
"price-list-new-form-prompt-back-description": "You have unsaved changes, are you sure you want to go back?",
|
||||
"price-list-add-products-modal-success-title": "New prices added",
|
||||
"price-list-add-products-modal-success-message": "The new prices have been added to the price list.",
|
||||
"price-list-add-products-modal-error-title": "An error occurred",
|
||||
"price-list-add-products-modal-back-button-cancel": "Cancel",
|
||||
"price-list-add-products-modal-back-button": "Back",
|
||||
"price-list-add-products-modal-next-button-continue": "Continue",
|
||||
"price-list-add-products-modal-next-button-submit-and-close": "Submit and Close",
|
||||
"price-list-add-products-modal-next-button-continue-save-prices": "Save Prices",
|
||||
"price-list-add-products-modal-products-tab": "Choose Products",
|
||||
"price-list-add-products-modal-prices-tab": "Edit Prices",
|
||||
"price-list-add-products-modal-error": "An error occurred while preparing the form. Reload the page and try again. If the issue persists, try again later.",
|
||||
"price-list-edit-prices-modal-prompt-title": "Unsaved changes",
|
||||
"price-list-edit-prices-modal-prompt-exit-description": "You have unsaved changes, are you sure you want to exit?",
|
||||
"price-list-edit-prices-modal-prompt-back-description": "You have unsaved changes, are you sure you want to go back?",
|
||||
"price-list-edit-prices-modal-notification-update-error": "An error occurred",
|
||||
"price-list-edit-prices-modal-notification-remove-error-title": "An error occurred",
|
||||
"price-list-edit-prices-modal-notification-remove-error-description": "Some prices were not updated correctly. Try again.",
|
||||
"price-list-edit-prices-modal-notification-update-success-title": "Prices updated",
|
||||
"price-list-edit-prices-modal-notification-update-success-description": "Successfully updated prices",
|
||||
"price-list-edit-prices-modal-next-button-save-and-close": "Save and Close",
|
||||
"price-list-edit-prices-modal-next-button-save": "Save Prices",
|
||||
"price-list-edit-prices-modal-back-button-cancel": "Cancel",
|
||||
"price-list-edit-prices-modal-back-button-back": "Back",
|
||||
"price-list-edit-prices-modal-overview-tab": "Edit Prices",
|
||||
"price-list-edit-prices-modal-error-loading": "An error occurred while preparing the form. Reload the page and try again. If the issue persists, try again later.",
|
||||
"price-list-prices-section-prompt-title": "Are you sure?",
|
||||
"price-list-prices-section-prompt-description": "This will permanently delete the product prices from the list",
|
||||
"price-list-prices-secton-delete-success-title": "Prices deleted",
|
||||
"price-list-prices-section-delete-success-description_one": "Successfully deleted prices for {{count}} products",
|
||||
"price-list-prices-section-delete-success-description_other": "Successfully deleted prices for {{count}} products",
|
||||
"price-list-prices-section-delete-error-title": "An error occurred",
|
||||
"price-list-prices-section-heading": "Prices",
|
||||
"price-list-prices-section-search-placeholder": "Search products",
|
||||
"price-list-prices-section-prices-menu-edit": "Edit prices",
|
||||
"price-list-prices-section-prices-menu-add": "Add products",
|
||||
"price-list-prices-section-table-load-error": "An error occured while fetching the products. Try to reload the page, or if the issue persists, try again later.",
|
||||
"price-list-prices-section-bar-count_one": "{{count}} selected",
|
||||
"price-list-prices-section-bar-count_other": "{{count}} selected",
|
||||
"price-list-prices-section-edit-command": "Edit",
|
||||
"price-list-prices-section-delete-command": "Delete",
|
||||
"price-list-prices-section-select-all-checkbox-label": "Select all products on the current page",
|
||||
"price-list-prices-section-select-checkbox-label": "Select row",
|
||||
"price-list-prices-section-table-product": "Product",
|
||||
"price-list-prices-section-table-thumbnail-alt": "{{title}} thumbnail",
|
||||
"price-list-prices-section-table-collection": "Collection",
|
||||
"price-list-prices-section-table-variants": "Variants",
|
||||
"price-list-details-form-type-heading": "Type",
|
||||
"price-list-details-form-type-description": "Choose the type of price list you want to create.",
|
||||
"price-list-details-form-type-label-sale": "Sale",
|
||||
"price-list-details-form-type-hint-sale": "Use this if you are creating a sale.",
|
||||
"price-list-details-form-type-label-override": "Override",
|
||||
"price-list-details-form-type-hint-override": "Use this if you are overriding prices.",
|
||||
"price-list-details-form-general-heading": "General",
|
||||
"price-list-details-form-general-description": "Choose a title and description for the price list.",
|
||||
"price-list-details-form-general-name-label": "Name",
|
||||
"price-list-details-form-general-name-placeholder": "Black Friday Sale",
|
||||
"price-list-details-form-general-description-label": "Description",
|
||||
"price-list-details-form-general-description-placeholder": "Prices for the Black Friday sale...",
|
||||
"price-list-details-form-tax-inclusive-label": "Tax inclusive prices",
|
||||
"price-list-details-form-tax-inclusive-hint": "Choose to make all prices in this list inclusive of tax.",
|
||||
"price-list-details-form-dates-starts-at-heading": "Price list has a start date?",
|
||||
"price-list-details-form-dates-starts-at-description": "Schedule the price overrides to activate in the future.",
|
||||
"price-list-details-form-dates-starts-at-label": "Start date",
|
||||
"price-list-details-form-ends-at-heading": "Price list has an expiry date?",
|
||||
"price-list-details-form-ends-at-description": "Schedule the price overrides to deactivate in the future.",
|
||||
"price-list-details-form-ends-at-label": "End date",
|
||||
"price-list-details-form-customer-groups-name": "Name",
|
||||
"price-list-details-form-customer-groups-members": "Members",
|
||||
"price-list-details-form-customer-groups-error": "An error occurred while loading customer groups. Reload the page and try again. If the issue persists, try again later.",
|
||||
"price-list-details-form-customer-groups-no-groups": "No customer groups found.",
|
||||
"price-list-details-form-customer-groups-heading": "Customer availability",
|
||||
"price-list-details-form-customer-groups-description": "Specify which customer groups the price overrides should apply for.",
|
||||
"price-list-details-form-customer-groups-content-heading": "Customer Groups",
|
||||
"price-list-details-form-customer-groups-search-placeholder": "Search",
|
||||
"price-list-prices-form-products-error": "An error occurred while preparing the form. Reload the page and try again. If the issue persists, try again later.",
|
||||
"price-list-prices-form-heading": "Edit prices",
|
||||
"price-list-prices-form-variant": "Variant",
|
||||
"price-list-prices-form-sku": "SKU",
|
||||
"price-list-prices-form-prices": "Prices",
|
||||
"price-list-prices-form-prices-variant-count_one": "{{count}} variants",
|
||||
"price-list-prices-form-prices-variant-count_other": "{{count}} variants",
|
||||
"price-list-prices-form-add-prices-button": "Add prices",
|
||||
"price-list-prices-form-prices-count_one": "{{count}} prices",
|
||||
"price-list-prices-form-prices-count_other": "{{count}} prices",
|
||||
"price-list-product-prices-form-invalid-data-title": "Invalid data",
|
||||
"price-list-product-prices-form-invalid-data-body": "The data you pasted contains values that are not numbers.",
|
||||
"price-list-product-prices-form-column-visibility-button": "View",
|
||||
"price-list-product-prices-form-column-visibility-currencies-label": "Currencies",
|
||||
"price-list-product-prices-form-column-visibility-regions-label": "Regions",
|
||||
"price-list-product-prices-form-column-product-label": "Product",
|
||||
"price-list-product-prices-form-column-currencies-price-label": "Price {{code}}",
|
||||
"price-list-product-prices-form-column-regions-price-label": "Price {{code}}",
|
||||
"price-list-products-form-select-all": "Select all products on the current page",
|
||||
"price-list-products-form-select-row": "Select row",
|
||||
"price-list-products-form-product-label": "Product",
|
||||
"price-list-products-form-product-thumbnail": "{{title}} thumbnail",
|
||||
"price-list-products-form-collection-label": "Collection",
|
||||
"price-list-products-form-sales-channels-label": "Availability",
|
||||
"price-list-products-form-sales-channels-value": "{{first}} + {{remaining}} more",
|
||||
"price-list-products-form-status-label": "Status",
|
||||
"price-list-products-form-inventory-label": "Inventory",
|
||||
"price-list-products-form-inventory-value": "{{totalStock}} in stock across {{variants}} variants",
|
||||
"price-list-products-form-loading": "Loading products",
|
||||
"price-list-products-form-error": "An error occurred while loading products. Reload the page and try again. If the issue persists, try again later.",
|
||||
"price-list-products-form-no-products": "No products found.",
|
||||
"price-list-products-form-heading": "Choose products",
|
||||
"price-list-products-form-search-placeholder": "Search",
|
||||
"price-list-new-form-notification-success-title": "Price list created",
|
||||
"price-list-new-form-notification-success-message": "Successfully created price list",
|
||||
"price-list-new-form-notification-error-title": "An error occurred",
|
||||
"price-list-new-form-next-button-save-and-publish": "Save and Publish",
|
||||
"price-list-new-form-next-button-save": "Save Prices",
|
||||
"price-list-new-form-next-button-continue": "Continue",
|
||||
"price-list-new-form-back-button-cancel": "Cancel",
|
||||
"price-list-new-form-back-button-back": "Back",
|
||||
"price-list-new-form-details-tab": "Create Price List",
|
||||
"price-list-new-form-products-tab": "Choose Products",
|
||||
"price-list-new-form-prices-tab": "Edit Prices",
|
||||
"price-list-new-form-save-as-draft": "Save as Draft",
|
||||
"price-list-new-form-error-loading-products": "An error occurred while preparing the form. Reload the page and try again. If the issue persists, try again later.",
|
||||
"components-success": "Success",
|
||||
"components-successfully-updated-category-tree": "Successfully updated category tree",
|
||||
"components-error": "Error",
|
||||
@@ -1509,6 +1589,7 @@
|
||||
"batch-job-failed-to-delete-the-csv-file": "Failed to delete the CSV file",
|
||||
"batch-job-failed-to-cancel-the-batch-job": "Failed to cancel the batch job",
|
||||
"batch-job-products-list": "products list",
|
||||
"batch-job-unsure-about-how-to-arrange-your-list": "Unsure about how to arrange your list?",
|
||||
"batch-job-download-template": "Download the template below to ensure you are following the correct format.",
|
||||
"batch-job-imports-description": "Through imports you can add or update products. To update existing products/variants you must set an existing id in the Product/Variant id columns. If the value is unset a new record will be created. You will be asked for confirmation before we import products.",
|
||||
"products-filters": "Filters",
|
||||
|
||||
Reference in new issue
Block a user