* Make sure invoices card is visible only on orders other than unconfirmed
* Replace div with React.Fragment
* Use short form of fragment and remove key
* Add possibility to filter through channels in order view
* Update storybook and locale
* Refactor
* Refactor to mapNodetoChoice
* Fix conditional value in array implicit syntax
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* Add shipping delivery days
* Update changelog with shipping delivery days
* Update data-test and messages
* Add shipping delivery days to shipping rate create page
* Update shipping test snapshots
* Make max delivery time of shipping optional
* Update changelog with file attributes
* Add file type attribute
* Update attribute properties form
* Update translation messages with file upload
* Create generic attributes component (#832)
* Create generic Attributes component
* Add story for Attributes component
* Remove deprecated attribute value type field from queries
* Update test snapshots of attributes component
* Add file upload field to atributes (#888)
* Add story for Attributes component
* Update test snapshots of attributes component
* Create file upload field in attributes
* Update upload file input data-test
* Update storybook test snapshots of attributes
* Add dedicated input props to file field
* Run Cypress using custom API
* Add missing error handling in file upload field
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* Add file attribute upload to page attributes (#894)
* Support upload file attribute for pages
* Update after review
* Add file attribute upload to variant attributes (#892)
* Support upload file attribute for variants
* Update after review
* Refactor attribute values errors merging
* Update after review
* Add file attribute upload to product attributes (#826)
* Support upload file attribute for products
* Update after review
* Refactor attribute values errors merging
* Refactor product attribute value delete handling
* Fix deleting file in file upload field
* Fix delete attribute values errors handling
* Add link to file upload field (#898)
* Update file attributes updates (#899)
* Update file attributes updates
* Refactor file uploads handling
* Move attributes utils to attributes directory
* Fix product channel listing updates
* Clear file field value if file is not passed as prop
* Delete attribute values before update (#908)
* Delete file attributes after file update
* Triggr CI
* Show skeleton in file upload field during loading
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* Add public and private metadata to shipping zones
* Update initial form
* Fix types
* Update types for metadata in shipping method
* Filter typename of metadata
* Fix price shipping method metadata
* Fetch metadata in weight rate update
* Update storybook
* Clean up stories
* Add missing props
* Add zip codes section (#861)
* Add zip code listing
* Add list wrapping
* Update snapshots
* Set up API data
* Fix lgtm warning
* Update snapshots
* Run Actions on all PR
* Checks on PR
* Test envs on PR
* Cleanup action on PR
* Update messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* Allow zip codes to be assigned to shipping method
* Add zip code deletion (#871)
* Add zip code range dialog
* Fix path management
* Use query params to handle modal actions
* Allow zip codes to be assigned to shipping method
* Make params optional
* Fix types
* Clean up urls
* Add zip code range delete action
* Update snapshots and messages
* Update schema
* Refresh zip code list after assigning them
* Update types and snapshots
* Update snapshots
* Fix error message, checkbox default value (#880)
* Fix error message, checkbox default value
* Update snapshots
* Update schema and types
* Update stories
* add excluded products section in shipping methods views
* create UnassignDialog component
* use priceRangeFragment in shipping queries
* remove unneeded price from ShippingMethodAddProductsDialog
* update messages in ShippingMethodProducts
* updates after rebase
* update snapshots, fix lint errors
* fix ShippingMethodProductsAddDialog
* update snapshots
* small fix in ShippingMethodProducts
* update snapshots after rebase
* add handleClose func in ShippingMethodProductsAddDialog
* Fix metadata not showing in category update
* update snapshots again
* update ShippingMethodProductsAddDialog
* updates after rebase
* update Price and Weight rates views
Co-authored-by: dominik-zeglen <flesz3@o2.pl>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Tomasz Szymański <lime129@gmail.com>
Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
* Clean up stories
* Add missing props
* Add zip codes section (#861)
* Add zip code listing
* Add list wrapping
* Update snapshots
* Set up API data
* Fix lgtm warning
* Update snapshots
* Run Actions on all PR
* Checks on PR
* Test envs on PR
* Cleanup action on PR
* Update messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* Add zip code range dialog
* Fix path management
* Use query params to handle modal actions
* Allow zip codes to be assigned to shipping method
* Make params optional
* Fix types
* Add zip code deletion (#871)
* Add zip code range dialog
* Fix path management
* Use query params to handle modal actions
* Allow zip codes to be assigned to shipping method
* Make params optional
* Fix types
* Clean up urls
* Add zip code range delete action
* Update snapshots and messages
* Update testing and changelog
* Update schema
* Simplify code
* Refresh zip code list after assigning them
* Update view after zip code deletion
* Update types and snapshots
* Update snapshots
* Fix error message, checkbox default value (#880)
* Fix error message, checkbox default value
* Update snapshots
* Use price instead of weight variant
* Update schema and types
* Hide exclude/include zip codes section
* Update stories
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Tomasz Szymański <lime129@gmail.com>
* 1721 - add refunds miscellaneous view (#860)
* Create new page for Miscellaneous Refunds
* Replace refund order dialog with dedicated page
* Add data test ids
* Update order details view for refunds (#874)
* 1719 - add refund entry to order history (#875)
* Add refund order history entry
* Update refund event with the right query
* 1722 - add refunds product view (#873)
* Create new page for Miscellaneous Refunds
* Replace refund order dialog with dedicated page
* Add data test ids
* Create refund products table
* Implement refund products view
* Update refund mutation with product lines input
* Fix products quantities on refund page
* Fix order refund submission
* Fix products refund submission input variables
* Filter out fulfillments on refund page
* Update refund page in storybook
* Fix test snapshots after wrong refunds rebase
* Set max refund as captured amount
* Refund queries adjustments
* Display refund values with nullish coalescing operator
* Update test snapshots with refunds
* Refactor order refund values calculation
* Create and use refund order line fragment
* Use old simple refund mutation for miscellaneous refund
* Submit for refund only lines with non-zero quantity set
* Fix showing refund error
* Fix refund details on order details page (#879)
* Update order details view for refunds (#874)
* 1719 - add refund entry to order history (#875)
* Add refund order history entry
* Update refund event with the right query
* 1722 - add refunds product view (#873)
* Create new page for Miscellaneous Refunds
* Replace refund order dialog with dedicated page
* Add data test ids
* Create refund products table
* Implement refund products view
* Update refund mutation with product lines input
* Fix products quantities on refund page
* Fix order refund submission
* Fix products refund submission input variables
* Filter out fulfillments on refund page
* Update refund page in storybook
* Fix test snapshots after wrong refunds rebase
* Set max refund as captured amount
* Refund queries adjustments
* Display refund values with nullish coalescing operator
* Update test snapshots with refunds
* Refactor order refund values calculation
* Create and use refund order line fragment
* Use old simple refund mutation for miscellaneous refund
* Submit for refund only lines with non-zero quantity set
* Fix showing refund error
* Add missing refund amount to order history
* Merge repeated order lines in fulfillment lines
* Update order history events types and test snapshots
* Update changelog with refunds changes