Commit graph

1776 commits

Author SHA1 Message Date
Tomasz Szymanski
331ab84440 Unmock placeholder 2020-12-30 13:41:37 +01:00
Tomasz Szymanski
5af85e5157 Shipping zone description 2020-12-30 13:25:40 +01:00
Tomasz Szymanski
a6a1a63a2a Update snapshots 2020-12-22 12:22:23 +01:00
Tomasz Szymanski
c0426d5024 Show hidden radio buttons of shipping method zip codes 2020-12-21 14:03:22 +01:00
Marcin Gębala
71b4b329d8
Drop authorization keys section (#913)
* Drop authorization keys section

* Update translations

* Update snapshots

Co-authored-by: dominik-zeglen <flesz3@o2.pl>
2020-12-21 13:50:04 +01:00
Marek Choiński
0ad9d6f487
Saleor 1704 shipping rates rendering issue (#916)
* Fix styles

* Update storybook
2020-12-21 13:47:10 +01:00
Marek Choiński
912dc5d1f4
Fix warnings (#919) 2020-12-21 13:46:34 +01:00
Dawid Tarasiuk
d5ae972b0e
Fix not updated file attribute field on delete (#911) 2020-12-17 10:25:16 +01:00
Dawid Tarasiuk
1e140853ec
File attributes (#884)
* 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>
2020-12-16 11:53:28 +01:00
Marek Choiński
c3d97b9114
Fix clear form (#907) 2020-12-16 11:36:11 +01:00
Dominik Żegleń
556ea52e8f
Update quantity column in Inventory part of Product Variant view (#904)
* Add allocated quantity column

* Remove unused prop

* Update snapshots and messages

* Update changelog
2020-12-15 10:50:29 +01:00
Krzysztof Wolski
5a16f929bb
Use proper fragment for price range (#897) 2020-12-10 16:09:08 +01:00
Marek Choiński
5bb2d597a2
Saleor 1531 add metadata UI for shipping zones and methods (#895)
* 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
2020-12-10 13:38:41 +01:00
Marek Choiński
29a7ef644c
Fix null voucher name handle (#891)
* Fix null voucher name handle

* Fix behavior for optional name

* Fix voucher list

* Fix loading voucher

* Update storybook
2020-12-09 11:15:13 +01:00
Marek Choiński
82bbb93d94
Fix order behavior (#890)
* Fix order behavior

* Compare variants by id
2020-12-08 14:43:12 +01:00
Marek Choiński
2d8fc85ac3
Saleor 1606 send invoice button not visible (#889)
* Fix send button on invoice card

* Fix highlight border on hover

* Update storybook
2020-12-04 18:29:41 +01:00
AlicjaSzu
2f9eddd9ee
Saleor 1659 use query params in channels picker (#886)
* use Query params in channels picker

* update urls
2020-12-04 18:09:28 +01:00
mmarkusik
bdb7837ccc
SALEOR-1658 Add fulfill finalize button display logic (#885)
* Add logic for displaying finalize button in order fulfillment

* Update story
2020-12-04 13:54:27 +01:00
Dominik Żegleń
c7cd531aeb
Fix Chrome 87 fieldset rendering bug (#883)
* Fix order page gray box

* Fix shipping page gray boxes

* Do not put background to fieldsets

Fixes Chrome 87 bug

* Fix disabled style

* Update snapshots

* Trigger CI

* Revert card changes
2020-12-04 13:45:49 +01:00
AlicjaSzu
b774cc9002
Excluded Products in shipping view (#866)
* 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>
2020-12-02 12:35:02 +01:00
Dominik Żegleń
f97ddd0128
Fix react-intl missing translation error (#882)
* Improve error handling

* Remove unused import
2020-12-01 18:18:58 +01:00
AlicjaSzu
09625eb486
use MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES permission (#881) 2020-12-01 16:43:08 +01:00
Dominik Żegleń
e55805a79d
Add zip code exclusion (#877)
* 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>
2020-12-01 16:42:25 +01:00
Dawid Tarasiuk
eb351b396a
Refunds (#870)
* 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
2020-12-01 14:13:05 +01:00
Marek Choiński
b16206dfa8
Saleor 1662 sort just added channel availability (#878)
* Sort channels on ProductUpdate

* Update sorting channels after refactor

* Sort channels on every view
2020-12-01 12:26:10 +01:00
Krzysztof Wolski
07f8f4b0b8
Order confirmation (#840)
* Order confirmed webhook

* Add status chip component and update order details page header

* refactor

* refactor and update types

* Remove rebase leftovers

* Create order settings page

* Add order setting query

* Connct order settings view with api

* Show order settings update error message

* Popup menu routing to order settings

* Fix circular import error with order settings form types

* Update order settings story

* Update order settings messages

* wip

* Add order confirm mutation and types

* Add confirm order feature to order details

* Update global types

* refactor after review

* refactor after review

* update types

* Revert settings menu removal

* Add changelog entry

Co-authored-by: Tomasz Szymanski <lime129@gmail.com>
Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2020-11-30 14:19:57 +01:00
AlicjaSzu
6456cd21d2
disable Manage channels for user without permission (#858)
* create ChannelsAvailabilityWithPermission component

* revert changes in ChannelsAvailability, update snapshots

* replace hasManageChannelPermission with hasManageChannelsPermission

* use RequirePermissions in ChannelsAvailability, create UserDecorator
2020-11-30 14:08:09 +01:00
Marek Choiński
375de15a6b
Add PasswordCredential type (#868) 2020-11-30 11:26:51 +01:00
Krzysztof Wolski
6762e7bf3f
[chore] Update dependencies, fix warnings during tests (#845)
* Fix attr name typo

* Use proper string serialization

* Use proper image URL

* Remove unused draft component

* Fix classname for invoice card

* Update deps

* Remove unused testcafe

* Resolve issue with missing intl in one of the stories, bump intl package version

* Update packages

* Update commit hooks

* Bump ts to last pre4.0 version

* Center metadata image

* Unused property

* Bump enzyme

* Revert

* Fix logo on login screen

* Fix console errors on entering translations pages

* Fix styles for invoice card
2020-11-27 17:32:12 +01:00
Marek Choiński
9069b6bc80
Saleor 1680 add shipping methods to translation section (#864)
* Add update shipping method translations query

* Added queries and types for shipping method translation tab

* Fix tab view for shipping method

* Fix query and view for shipping method

* Revert password credentials type any

* Update storybook

* Update locale

* Update CHANGELOG.md
2020-11-27 16:53:48 +01:00
Dominik Żegleń
44bbe5842c
Fix not loading variants (#865) 2020-11-26 18:01:27 +01:00
AlicjaSzu
1845111537
fix SaleCreate view (#857)
* fix SaleCreate view

* fix SaleValue input styles, update snapshots

* add success status to create sale notification
2020-11-26 11:43:05 +01:00
Jakub Majorek
b0091b23b9 [1753] Update channel default choice on change 2020-11-25 13:49:14 +01:00
Karolka
2970e203ee
Add transaction reference input at order page (#837)
* Add transaction reference input at order page

* Add spacer between cards in order details

Co-authored-by: Karolina Kuźniewicz <karolina.kuzniewicz@mirumee.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-11-24 17:02:50 +01:00
Marek Choiński
ba1c06d999
Fix wrong placeholder text (#856) 2020-11-24 14:18:22 +01:00
AlicjaSzu
51548af8d3
fix shipping forms save button disabled state (#855)
* fix shipping forms save button disabled state

* update defaultMessages
2020-11-24 14:17:03 +01:00
Marek Choiński
101e2c7cdc
Saleor 1670 visual improvements for dashboard homepage (#850)
* Fix overflow for card hover

* Add padding on arrow icon

* Update storybook for homepage
2020-11-24 14:16:44 +01:00
Dominik Żegleń
2765dc1324
Use product pricing instead of discounted price (#847)
* Use product pricing instead of discountedPrice

* Fix input width

* Update snapshots

* Fix reading price range of null pricing

Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2020-11-23 14:04:24 +01:00
Dawid Tarasiuk
48a68ed1bf
Update GraphQL schema and its types (#853) 2020-11-23 12:38:28 +01:00
Jakub Majorek
4eb628018d [1611] Use modal action query params 2020-11-23 11:56:08 +01:00
Jakub Majorek
cf7329ccce [1611] Create channel picker for draft order creation 2020-11-23 11:35:31 +01:00
Dominik Żegleń
a175fb9497
Add global channel picker (#841)
* Move theme switch to user menu

* Add global channel picker

* Fix picker styles

* Use app channel state

* Improve prop naming to indicate id vs slug

* Disable picker if no reason to pick channel

* Remove settings modal leftovers

* Remove channel settings dialog

* Remove unused props

* Skip channel fetching if user is not authenticated

* Remove channel selection from components

* Update messages

* Fix e2e tests

* Remove channel picker leftover

* Revert ChannelSettingsDialog deletion

* Update snapshots

* Update messages
2020-11-23 10:39:24 +01:00
Dominik Żegleń
607eba6a10
Use proper loading and null value logic (#848) 2020-11-23 10:38:46 +01:00
Marek Choiński
c96d252fd1
Remove zero opacity for placeholders (#846) 2020-11-20 15:23:50 +01:00
Krzysztof Wolski
439e5b249e
Remove im ready message (#843) 2020-11-20 10:44:50 +01:00
Karolka
e2e5f7f7a5
Add rating input at Create/Edit Product page (#828)
* Add rating input at Create/Edit Product page

* Fix cypress tests

Co-authored-by: Karolina Kuźniewicz <karolina.kuzniewicz@mirumee.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-11-19 18:07:42 +01:00
Dawid Tarasiuk
fc02fce701
Page types (#807)
* Create attribute class selector

* Use ProductAttributeType to check if product is simple or with variants

* Allow attribute class selection only during its creation

* Update attribute type selection translations

* Show only product attributes in columns picker on product list view

* Cleanups in Attribute Organization component

* Create Page Types list page

* Create content management section in settings

* Implement page types list view

* Remove unused imports from page type list

* Updatte page type list style

* Remove legacy code from page type list component

* Update PageTypeListPage component

* Create Page Types details page

* Fix page type attribute reordering

* Implement PageType create view

* Implement PageType update view

* gUpdate page type details components

* Fix page type update component

* Update page type components stories

* Update page type errors handling

* Update page type details view

* Create Page Types details page

* Implement PageType create view

* Update product attribute assignment mutations

* Add page types attribute assignment mutations

* Add page types attribute assignment handling

* Temporarily fix page create mutation

* Update page type error messages

* Remove legacy storybook page type stories

* Update attribute assignment dialogs stories

* Update page type details error handling

* Update props for page type components

* Create attribute class selector

* Implement page types list view

* Add page type selector on page create and details views

* Add attributes list to page details views

* Update page types list

* Use attribute errors for attributes muatations

* Save attribute values on page create and update

* Update messages for page view

* Update page attributes fragment

* Use AttributeError in AttributeBulkDelete

* Update page type and its attribute selection

* Handle page types deleting

* Update page types deleting messages

* Handle page types attribute reorder

* Fix PageOrganizeContent component types

* Update graphqql types

* Fix page fixture

* Update messages

* Update test snapshots

* Pass pageTypes to PageForm

* Update changelog with page type addition note

* Update package-lock

* Update test snapshots

* Fix malformed generated type

* Update messages after rebase
2020-11-19 15:42:14 +01:00
Jakub Majorek
aa9df18fa8 [1516] Move product remove logic to create handler 2020-11-19 13:22:43 +01:00
Jakub Majorek
c59a7f4349 [1516] Create product when all required fields are valid 2020-11-19 11:57:13 +01:00
Dominik Żegleń
33d680639b
Add new side menu navigation (#819)
Update snapshots

Fix savebar

Fix cypress

Update messages

Fix cypress
2020-11-18 16:11:15 +01:00
Krzysztof Wolski
6d31be7c2c
Fix select all channels checkbox (#838)
* Fix select all channels checkbox

* Clarify checkout description
2020-11-18 15:32:22 +01:00
Jakub Majorek
b91d8d77c4 [1599] Do not redirect on channel details edit 2020-11-17 18:35:17 +01:00
Dominik Żegleń
6f9060144a
Multichannel (#833)
* add multichannel to configuration view

* create multichannels list view

* create multichannels list view

* add ChannelsCreate view

* update channels in configuration

* add stories

* update default messages

* fix ChannelForm props

* update channels list styles

* update snapshots

* update channel form currency input

* update Channels fragments

* extract messages

* remove tabs from channelsList

* channel details, channel delete modal (#598)

* create Channel details view

* create ChannelDeleteDialog

* add channels delete dialog to channels list

* update messages and types

* fixes after review

* channels availability (#609)

* create Channel details view

* update messages and types

* create ChannelsAvailability component

* create more product channels components

* create channels stories, update fixtures, types

* update product views with channels data

* update schema and snapshots

* update defaultMessages

* update ProductUpdate view

* create ChannelsAvailabilityDropdown component

* add product channels to local storage

* update globalTypes

* Update to new schema and resolve issues

* Update messages

* create deleteChannel mutation

* add channels availability component to product create view

* refactor ProductCreate and ProductUpdate views

* CollectionProducts view cleanup

* add disabled prop to ActionDialog

* use updateChannels mutation in ProductCreate view

* ProductCreate - update submit function

* fixes after review

* update snapshots and messages

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>

* channels shipping components (#655)

* create PricingCard, OrderValue and OrderWeight components

* create ShippingZoneRatesPage and DeleteShippingRateDialog

* update ChannelsAvailability component

* updates after review

* channels shipping views (#662)

* update ChannelsAvailability component

* updates after review

* create PriceRate views, update types

* create weight rates views

* update shipping views, stories, messages

* update snapshots

* update snapshots

* update useChannels hook

* orders channels components (#698)

* create OrderChannelSectionCard component

* update OrderDetailsPage

* update DraftOrderChannelCard

* update snapshots

* update fixtures

* small change after review, update snapshots

* product pricing (#702)

* update product types

* update Pricing in simple product view

* use productVariantCreate mutation in simple product view

* update snapshots and messages

* handle create variant (#715)

* update product types

* update Pricing in simple product view

* handle product create and update errors

* update snapshots and messages

* fix update and create product handlers

* update pricing types

* channels modal - new styles, search input (#717)

* update product types

* update Pricing in simple product view

* handle product create and update errors

* update pricing types

* add search input in ChannelsAvailabilityDialog

* update ChannelsAvailabilityDialog in all views

* update snapshots

* fix search input label styles

* update toggleAllChannels function

* update variant creator (#724)

* update product types

* update Pricing in simple product view

* handle product create and update errors

* update pricing types

* add search input in ChannelsAvailabilityDialog

* update ChannelsAvailabilityDialog in all views

* update snapshots

* add channelLisitngs to variant creator

* update variant creator price styles

* update product variant creator reducer tests

* update createVariants tests

* update error handling in product variant creator

* add Skip pricing for now option

* use PriceField instead of TextField in ProductVariantCreatorSummary

* create price validation function

* fix errors handling in ProductVariantPrice component

* fixes after review

* Product List - remove publish/unpublish buttons (#727)

* ProductList - remove publish and unpublish buttons

* update messages

* update snapshots, messages

* revert changes in ChannelsAvailabilityDropdown

* products/shipping/discount list settings (#739)

* create ChannelSettingsDialog component

* update snapshots

* ProductList - open settings modal when there is no selected channel

* add settings modal to vouchers list

* add settings dialog to sales list

* add setting modal to shipping list

* update shipping

* update snapshots, messages

* useChannelsSettings - remove selectedChannelSlug

* fix channels update handler in product and shipping view

* messages update in ChannelSettingsDialog

* handle product/discount list when there is no channels

* update onSettingsOpen prop

* collection availability dropdown (#743)

* add availability dropdown to collection products list

* update channelListingProduct fragment name

* update voucher view/components with channels (#746)

* update voucher view/components with channels

* update VoucherSummary, remove defaultCurrency from voucher components

* update snapshots

* move getChannelsVariables func to discounts handlers

* update voucher messages

* sale view/components with channels (#750)

* update sale views with channels

* small fixes in discounts

* order views with channels (#752)

* update draft orders with channels

* add channel activate/deactivate mutations

* remove sort by total in orders list

* add error notification on channel activate/deactivate

* product variants channel select (#755)

* add channels selector to ProductVariants component

* remove selectedChannel from ProductUpdate, update messages and snapshots

* update product fragments

* update translations (#762)

* update translations

* fix translation types

* update messages

* update Availability component (#766)

* update ChannelsAvailability component

* update product fixtures

* update collection and channel fixtures

* ChannelsAvailability - handle errors

* update product handlers

* update ChannelsAvailability styles

* update ProductVariant

* update snapshots

* fix missing things in multichannel  (#785)

* add availability dropdown to discount products list

* fix error handling in shipping components

* update product views and components

* update messages

* update category view/components

* update CategoryProducts styles

* remove defaultCurrency from shipping components

* create ChannelsSelect component

* update channels error handling after review

* another fixes after review

* Add channels to collection views/components (#791)

** update collection components and views

* update create collection view

* update error handling in collection

* remove filter bar from collection list

* update products fragments

* small fix in collection create view

* use collectionFragment in useCatalogSearch

* update defaultMessages and snapshots

* update homepage view/drop defaultCurrency (#801)

* update homepage view

* drop defaultCurrency prop

* fix onChannelChange function in home view

* remove visibility from product list filters

* update export products with channels (#803)

* update ProductExportDialog with channels

* add new channel error code

* remover VISIBLE from product export dialog Financial information

* fix input size in ProductVariantCreatorSummary (#804)

* channels currency code select (#806)

* create select with currency codes

* fix ChannelDeleteDialog

* update defaultMessages, remove unneeded ChannelDetails handlers

* fixes after rebase

* replace channelListing with channelListings

* [multichannel] Update schema]

* Fix product create test

Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 17:10:42 +01:00
Karolina Kuźniewicz
b7294e9cbc Support multiline text in plugin configuration secret field 2020-11-13 17:55:20 +01:00
Krzysztof Wolski
054c067653
Update schema - remove webhooks (#827)
* Remove unused code and update schema

* Remove old code
2020-11-12 14:47:44 +01:00
dominik-zeglen
b2e6baf4e9 Use proper submit return type 2020-11-06 11:54:03 +01:00
dominik-zeglen
3de9ae58df Update tests 2020-11-06 09:34:05 +01:00
dominik-zeglen
4d15fa52b8 Add undo ability 2020-11-05 17:32:55 +01:00
dominik-zeglen
02e93b06d6 Use rich text editor in translations 2020-11-05 17:30:38 +01:00
dominik-zeglen
55d9a1c986 Fix selection styles 2020-11-05 15:31:00 +01:00
dominik-zeglen
8bc0b18e4f wip 2020-11-05 15:16:39 +01:00
dominik-zeglen
bc78c03e29 Improve dark mode 2020-11-05 15:10:46 +01:00
dominik-zeglen
dfc063caa1 Improve component encapsulation 2020-11-05 14:56:29 +01:00
dominik-zeglen
44df6225ad Add todo 2020-11-04 13:59:28 +01:00
dominik-zeglen
7c90ec1c72 Fix types 2020-11-04 13:59:26 +01:00
dominik-zeglen
f4dfbe7e90 Fix header styling 2020-11-04 13:59:25 +01:00
dominik-zeglen
7c9f2a93d4 Add rich text editor to pages 2020-11-04 13:59:23 +01:00
dominik-zeglen
aa3559117d Fix isPublished flag 2020-11-04 13:59:04 +01:00
dominik-zeglen
b27f28c822 Add rich text editor to collection pages 2020-11-04 13:59:03 +01:00
dominik-zeglen
06ef285d15 Fix metadata 2020-11-04 13:59:02 +01:00
dominik-zeglen
9adde24a48 Add rich text editor to category pages 2020-11-04 13:59:01 +01:00
dominik-zeglen
28cc74c954 Add rich text editor to product pages 2020-11-04 13:58:38 +01:00
dominik-zeglen
437df6fe9a wip 2020-11-04 13:58:36 +01:00
dominik-zeglen
88bd52763c Add ability to save data 2020-11-04 13:58:34 +01:00
dominik-zeglen
393b4a5860 Fix styles 2020-11-04 13:58:33 +01:00
dominik-zeglen
815941fc82 Fix types 2020-11-04 13:58:31 +01:00
dominik-zeglen
dab8064e26 Use editorjs instead of draftail 2020-11-04 13:58:30 +01:00
Dominik Żegleń
d16cf2c6da
Merge branch 'master' into SALEOR-1403-cannot-fulfill-order-when-product-quantity-is-one 2020-11-03 12:15:39 +01:00
Dominik Żegleń
f217366fbf
Merge pull request #815 from mirumee/alias-form-errors-as-any
Use dedicated type to return error promise
2020-11-03 11:49:34 +01:00
Dominik Żegleń
f72ac516e7
Merge pull request #809 from mirumee/SALEOR-1507-add-company-name-to-create-warehouse-form
Add company name to create warehouse form submission
2020-11-03 11:47:27 +01:00
Marcin Gębala
27bc372ac5
Merge pull request #793 from mirumee/lush-collection-load-more
Add missing infinite scroll to searches
2020-11-03 11:36:14 +01:00
dominik-zeglen
6988316fbc Use dedicated type to return error promise 2020-11-02 14:26:02 +01:00
Dominik Żegleń
3b5c2b26c1
Merge pull request #799 from mirumee/feature/1347-savebar-design
Implement new savebar design
2020-11-02 14:20:08 +01:00
dominik-zeglen
f07fe61c17 Add array operator 2020-11-02 14:19:45 +01:00
dominik-zeglen
6ee5038f6c Wait for notification to disappear 2020-11-02 13:20:52 +01:00
dominik-zeglen
a13d9dc547 Flatten error list 2020-10-30 16:10:08 +01:00
dominik-zeglen
623ec69e1f Fix types 2020-10-30 16:10:07 +01:00
dominik-zeglen
a27a029452 Pass promise to reset form state 2020-10-30 16:10:06 +01:00
dominik-zeglen
dfb2258406 Remove unused import 2020-10-30 16:10:04 +01:00
dominik-zeglen
ba602a6bf6 Dock savebar even if it's disabled 2020-10-30 16:10:03 +01:00
dominik-zeglen
63f042a91b Improve typing 2020-10-30 16:10:02 +01:00
dominik-zeglen
a34d22de8f Fix undefined and null objects handling 2020-10-30 16:10:00 +01:00
dominik-zeglen
16d9d28033 Fix types 2020-10-30 16:09:59 +01:00
dominik-zeglen
37541c24e1 Extract variant update form outside page 2020-10-30 16:09:58 +01:00
dominik-zeglen
78bb07e948 Extarct variant create form component 2020-10-30 16:09:56 +01:00
dominik-zeglen
2830dd7b55 Add ability to reset change state after success 2020-10-30 16:09:55 +01:00
dominik-zeglen
2abe680093 Fix change trigger 2020-10-30 16:09:35 +01:00
dominik-zeglen
374a072bf7 Extract product update form to separate component 2020-10-30 16:09:34 +01:00
dominik-zeglen
d192bcac34 Add custom form component to product create 2020-10-30 16:07:46 +01:00
Dominik Żegleń
e39f24cc0c
Merge branch 'master' into lush-collection-load-more 2020-10-30 15:38:37 +01:00
dominik-zeglen
573cda058f Make category and collection assign dialog common 2020-10-30 15:00:43 +01:00
Magdalena Markusik
e694122a42 Add company name to form submission 2020-10-30 14:57:01 +01:00
Grzegorz Derdak
e14b144636 Merge branch 'master' into SALEOR-1403-cannot-fulfill-order-when-product-quantity-is-one 2020-10-30 14:13:02 +01:00
Grzegorz Derdak
cbdda30a3a Update logic based on new API fields 2020-10-30 14:11:10 +01:00
mmarkusik
68593f67ac
Merge pull request #797 from mirumee/SALEOR-1453-fix-order-updated-on-address-change
Call proper mutation on address change for draft / non draft order
2020-10-30 11:27:43 +01:00
mmarkusik
ddd988191c
Merge pull request #805 from mirumee/SALEOR-1482-fix-single-autocomplete-select
Update condition for falsy values in Single autocomplete select field to also include null
2020-10-30 10:43:36 +01:00
Magdalena Markusik
6c74ae5591 Update condition for falsy values in Single autocomplete select field 2020-10-29 15:30:31 +01:00
Magdalena Markusik
b5d92f3c44 Refactor 2020-10-29 12:59:48 +01:00
mmarkusik
f128253c06
Merge pull request #795 from mirumee/SALEOR-1463-fix-adding-warehouses-to-products
fix adding warehouses to products
2020-10-29 09:53:34 +01:00
Tomasz Szymanski
66f435bba0 Call proper mutation on address change for draft / non draft order 2020-10-28 14:11:22 +01:00
Dominik Żegleń
a0939a58f4
Merge pull request #782 from mirumee/add/pages-metadata-1413
Add metadata editor to page views
2020-10-28 13:59:25 +01:00
Tomasz Szymański
e4fc4489df
Merge pull request #784 from mirumee/SALEOR-1264-avatax-address-fix
Remove the finalization dialog on draft order complete
2020-10-28 09:57:09 +01:00
Magdalena Markusik
9f3ae6e4ae fix adding warehouses to products 2020-10-27 16:02:46 +01:00
dominik-zeglen
a855a95246 Filter out products with no variant 2020-10-27 09:55:06 +01:00
dominik-zeglen
1f92b380c5 Remove developer code 2020-10-26 14:17:24 +01:00
dominik-zeglen
bc6a832af7 Fix story 2020-10-26 14:07:51 +01:00
dominik-zeglen
3df64beb59 Fix product assign styling 2020-10-26 14:04:04 +01:00
dominik-zeglen
fb0a503b91 Add load more to category and collection selection 2020-10-26 12:20:52 +01:00
dominik-zeglen
96d8aa101c Add infinite scroll to product selection 2020-10-26 11:29:41 +01:00
Grzegorz Derdak
9036294491 Changes after code review 2020-10-23 13:21:04 +02:00
dominik-zeglen
93b6560da4 Add metadata editor to page views 2020-10-23 12:28:13 +02:00
Marcin Gębala
1bfc13c8b5
Merge pull request #786 from mirumee/Fix-single-autocomplete-select-inputs
Fix single autocomplete select inputs
2020-10-23 10:04:28 +02:00
Magdalena Markusik
c597362024 Fix product create publication date 2020-10-22 16:11:29 +02:00
Magdalena Markusik
10d8319073 fix 2020-10-22 12:28:15 +02:00
Grzegorz Derdak
c9040d9e8b Fix for fulfilling order when product quantity is 1 2020-10-22 11:58:20 +02:00
Magdalena Markusik
bfdeb0d654 Fix single autocomplete inputs 2020-10-22 11:38:10 +02:00
Magdalena Markusik
03aafd8b63 wip 2020-10-22 11:38:09 +02:00
Magdalena Markusik
e9b32486b3 fix 2020-10-22 11:15:49 +02:00
mmarkusik
6fa2d5810a
Merge pull request #780 from mirumee/Fix-publish-and-available-for-purchase-behaviour
Fix publish and available for purchase behaviour
2020-10-21 13:00:40 +02:00
Magdalena Markusik
568e1b1792 fix publish date not resetting when changed radio field value 2020-10-21 11:06:32 +02:00
Tomasz Szymanski
6d5b3a6b57 Fix tests 2020-10-21 10:48:46 +02:00
Tomasz Szymanski
f66be95b57 Remove the finalization dialog 2020-10-20 15:19:58 +02:00
Magdalena Markusik
fddd3c8f3b update tests 2020-10-20 11:31:59 +02:00
Magdalena Markusik
e7c2c65b2f add alt prop to close icon 2020-10-20 10:15:36 +02:00
Magdalena Markusik
2bc7d88227 fix 2020-10-19 12:59:43 +02:00
Magdalena Markusik
374aab6603 fix 2020-10-19 12:28:43 +02:00
dominik-zeglen
03fc4c2dae Fix multiple value dropdown 2020-10-19 11:33:51 +02:00
Magdalena Markusik
e472bea95f fix 2020-10-19 11:19:07 +02:00
Dominik Żegleń
de31431af3
Merge pull request #768 from mirumee/refactor/product-permissions
Add manage product types and attributes permission
2020-10-16 10:47:05 +02:00
Dominik Żegleń
2d59e4e0df
Merge pull request #769 from mirumee/fix/redundant-code-and-custom-attribute-value
Fix custom attribute value
2020-10-16 10:35:04 +02:00
Dominik Żegleń
32de699216
Merge pull request #764 from mirumee/fix/price-errors-1244
Do not allow negative values and display errors
2020-10-16 10:12:47 +02:00
Dawid Tarasiuk
e0a1d11991 Update product permission pages access 2020-10-15 14:43:38 +02:00
dominik-zeglen
33c52788b1 Remove unused component state 2020-10-15 13:56:22 +02:00
Dawid Tarasiuk
0f3a2907d3 Update product permissions 2020-10-15 13:37:30 +02:00
dominik-zeglen
787a5f95c8 Fix custom attribute value 2020-10-15 13:24:15 +02:00
dominik-zeglen
952dd37747 wip 2020-10-15 10:00:31 +02:00
dominik-zeglen
dbdb93445b Remove unused import 2020-10-14 10:19:30 +02:00
dominik-zeglen
b2a8229dc0 Dock savebar even if it's disabled 2020-10-14 10:17:23 +02:00
Dawid Tarasiuk
bf450de822 Handle case when there is no default variant selected 2020-10-13 18:36:45 +02:00
Dawid Tarasiuk
a9979f6743 Fix defaulrt variant type duplication 2020-10-13 18:16:06 +02:00
Krzysztof Wolski
10c44d3ac5 Update translation contextCo-authored-by: Patryk Zawadzki <81205+patrys@users.noreply.github.com> 2020-10-13 18:10:55 +02:00
Krzysztof Wolski
db1c33d1fe Add default variant indicator for variant nav 2020-10-13 18:10:12 +02:00
Marcin Gębala
1334729b3c
Merge pull request #761 from mirumee/fix/variant-attribute-no-value-1242
Fix overlapping input placeholder
2020-10-13 17:13:40 +02:00
Marcin Gębala
5cc005da96
Merge pull request #759 from mirumee/fix/variant-table-header-1319
Fix delete icon placement
2020-10-13 17:13:24 +02:00
Marcin Gębala
efc4eca689
Merge pull request #758 from mirumee/fix/attribute-table-bins-1324
Fix column width
2020-10-13 17:13:01 +02:00
dominik-zeglen
264f2ba8c8 Handle empty input in variant creation 2020-10-13 15:54:35 +02:00
dominik-zeglen
7d397606f0 Disable set as default if variant is default 2020-10-13 15:43:10 +02:00
Dominik Żegleń
fca8d7ab28
Merge pull request #737 from mirumee/fix/handle-attribute-errors
Fix handle attribute errors
2020-10-13 15:14:26 +02:00
Dominik Żegleń
a90a1f0157
Merge pull request #760 from mirumee/fix/slug-length-1159
Limit slug to 255 characters
2020-10-13 15:07:52 +02:00
dominik-zeglen
9396f62df1 Fix debug value 2020-10-13 13:31:53 +02:00
dominik-zeglen
7aebb67cfd Do not allow negative values and display errors 2020-10-13 13:29:42 +02:00
dominik-zeglen
8625660db3 Fix overlapping input placeholder 2020-10-12 16:45:21 +02:00
dominik-zeglen
450b3bf15c Limit slug to 255 characters 2020-10-12 16:32:19 +02:00
dominik-zeglen
85099e1113 Fix delete icon placement 2020-10-12 15:15:00 +02:00
dominik-zeglen
7052027b1d Fix column width 2020-10-12 14:47:44 +02:00
dominik-zeglen
d514cd3d88 Remove unused imports 2020-10-12 12:56:11 +02:00
dominik-zeglen
87ece837db Show empty option only when prop is passed 2020-10-12 12:56:10 +02:00
dominik-zeglen
c15aaa833b Fix attribute empty option 2020-10-12 12:56:08 +02:00
dominik-zeglen
c60d5bff56 Update snapshots 2020-10-12 12:56:07 +02:00
dominik-zeglen
60fb2266a9 Use dedicated error fragment 2020-10-12 12:56:05 +02:00
dominik-zeglen
ee1ecff1f8 Handle attribute errors in product views 2020-10-12 12:56:04 +02:00
dominik-zeglen
369fd09853 Display attribute errors in product view 2020-10-12 12:56:03 +02:00
Dawid Tarasiuk
f85ca42d36 Use non negative value change handler for quantity input 2020-10-09 13:15:19 +02:00
Dawid Tarasiuk
8abe279248 Require minimum quantity equals one 2020-10-09 13:09:12 +02:00
Dawid Tarasiuk
484780dcc3 Fix order draft negative quantity 2020-10-09 13:09:11 +02:00
Dawid Tarasiuk
1fda14d2aa Update test snapshots 2020-10-09 13:08:24 +02:00
Dawid Tarasiuk
66a049b2dd Create non negative value change handler 2020-10-09 13:08:24 +02:00
Dawid Tarasiuk
a10fc62819 Update test snapshots 2020-10-09 13:08:23 +02:00
Dawid Tarasiuk
5d1361f352 Prevent negative price setting in input 2020-10-09 13:08:22 +02:00
Dawid Tarasiuk
bf295e4dce
Merge pull request #751 from mirumee/fix/set-default-variant-dalert
Fix set default variant alert
2020-10-09 12:46:04 +02:00
Dawid Tarasiuk
12dab278a6
Merge pull request #749 from mirumee/fix/order-fullfilment-redirect
Fix order fulfillment redirect
2020-10-09 11:05:08 +02:00
Dawid Tarasiuk
3df1f0c041 Fix set default variant alert 2020-10-09 11:00:06 +02:00
Dawid Tarasiuk
12f56b3c96 Fix order draft back button redirect 2020-10-08 12:45:39 +02:00
Dawid Tarasiuk
46cadf0c48
Merge pull request #713 from mirumee/fix/no-warehouses-in-variant-creator
Add no warehouses info when working with stock quantities
2020-10-08 12:42:10 +02:00
Dawid Tarasiuk
992816c641 Update storybook with no warehouses case 2020-10-08 11:54:15 +02:00
Dawid Tarasiuk
758c22770f
Merge pull request #744 from mirumee/fix/product-type-attributes-empty-table
Fix style of product type attributes empty table
2020-10-07 15:54:15 +02:00
Dawid Tarasiuk
62e844449b Fix order fullfilment redirect 2020-10-06 11:44:57 +02:00
Dawid Tarasiuk
2c18669a16
Merge pull request #740 from mirumee/fix/shipping-weight-error-label
Fix shipping weight error label state
2020-10-02 17:25:36 +02:00
Dawid Tarasiuk
8dcb263cd3 Update product type test snapshot 2020-10-02 12:50:58 +02:00
Dawid Tarasiuk
5adcc77e14 Fix style of product type attributes empty table 2020-10-02 12:36:41 +02:00
Dominik Żegleń
769f30e135
Use regex instead of string to replace all "\n" occurences (#736)
* Use regex instead of string to replace all

* Add global flag to regex to replace all occurences

Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2020-10-02 11:05:52 +02:00
Krzysztof Wolski
7e95d53155
Fix Variant Details console errors (#742)
* Add default empty unit when there is no specified one

* Add index required in draggable tables

* Select fields should get undefined value instead of null
2020-10-02 11:04:54 +02:00
Dominik Żegleń
287a2eb8ed
Hide save bar if no action is available (#735) 2020-10-01 17:50:17 +02:00
Dawid Tarasiuk
1df93cddaf Fix shipping weight error label state 2020-09-30 13:33:25 +02:00
Krzysztof Wolski
7cd3409bb3
Fix failing cypress test (#738)
* Add test selector for autocomplete field

* Update snapshot
2020-09-30 11:48:00 +02:00
Dawid Tarasiuk
61723bd045 Fix warehouse configure link translation 2020-09-29 18:01:36 +02:00
Dawid Tarasiuk
dc43578d5a Update configure warehouse link 2020-09-29 15:18:07 +02:00
Dominik Żegleń
30c411179f
Merge pull request #733 from mirumee/fix/table-layout
Fix staff members table
2020-09-29 12:56:45 +02:00
Dawid Tarasiuk
bf18651f7d Remove leave screen dialog 2020-09-29 12:08:54 +02:00
Dawid Tarasiuk
4b01781157 Use ref to persist leave action 2020-09-29 11:06:42 +02:00
Dawid Tarasiuk
b9bccd07f3 Refactor leave action in product update 2020-09-28 17:41:24 +02:00
Dawid Tarasiuk
4aefafda9c Remove unused callback 2020-09-28 14:50:46 +02:00
Dawid Tarasiuk
ce812aaab4 Fix translations 2020-09-28 14:46:56 +02:00
Dawid Tarasiuk
73fe19011b Update submit next action handling 2020-09-28 14:46:55 +02:00
Dawid Tarasiuk
6d39899db3 Revert changes of product urls 2020-09-28 14:46:55 +02:00
Dawid Tarasiuk
e8e1162698 Update submit next action logic 2020-09-28 14:46:54 +02:00
Dawid Tarasiuk
1aaa5c5c3a Add redirect on warehouse configuration action 2020-09-28 14:45:38 +02:00
Dawid Tarasiuk
6065c5ded6 Add no warehouses info in variant and product details 2020-09-28 14:43:36 +02:00
Dawid Tarasiuk
9e8f453c99 Add no warehouses info in variant creator 2020-09-28 14:40:53 +02:00
dominik-zeglen
3d3f2fa924 Fix staff members table 2020-09-28 12:32:32 +02:00
Marcin Gębala
7e24e4a14f
Merge pull request #720 from mirumee/feat/add-slug-to-seo-form
Add slug field to category, product, collection & page details
2020-09-25 18:44:08 +02:00
Marcin Gębala
354b0f5b90
Merge pull request #732 from mirumee/fix/table-layout
Fix exploding table layout
2020-09-25 18:43:44 +02:00
dominik-zeglen
dd6695070c Update snapshots 2020-09-25 18:18:07 +02:00
Marcin Gębala
55d748e3c6
Merge pull request #731 from mirumee/revert-menu
Revert menu
2020-09-25 18:16:18 +02:00
Magdalena Markusik
70815b0d51 fixes 2020-09-25 18:02:28 +02:00
Magdalena Markusik
8f43226e95 Merge branch 'master' into feat/add-slug-to-seo-form 2020-09-25 17:41:58 +02:00
Dominik Żegleń
b571eef598
Merge pull request #728 from mirumee/add/taxes-per-product
Allow taxes to be configured per product
2020-09-25 17:28:56 +02:00
dominik-zeglen
85b4d13ba2 Hide navigator button on mobile devices 2020-09-25 17:27:50 +02:00
dominik-zeglen
80c57ae0c0 Revert "Fix return to previous page on screen size change (#710)"
This reverts commit 45d33c3920.
2020-09-25 17:23:07 +02:00
dominik-zeglen
56b331aef2 Fix typo 2020-09-25 17:02:27 +02:00
dominik-zeglen
45f12f4f72 Update snapshots 2020-09-25 17:00:18 +02:00
dominik-zeglen
4849adbe8f Fix colSpan 2020-09-25 17:00:18 +02:00
dominik-zeglen
e13086fef3 Fix exploding table layout 2020-09-25 17:00:17 +02:00
Marcin Gębala
cf91edaaf9 Revert "Merge pull request #697 from mirumee/ref/sidebar"
This reverts commit b1623eaaf5, reversing
changes made to 14da39ebfa.
2020-09-25 16:45:27 +02:00
Magdalena Markusik
f956be3fbc refactor after review 2020-09-25 16:44:11 +02:00
Marcin Gębala
42931a1d31 Revert "Merge pull request #703 from mirumee/ref/sidebar-mobile"
This reverts commit acfd04e81a, reversing
changes made to 40d27a9280.
2020-09-25 16:38:59 +02:00
mmarkusik
c8e06812e6
Merge branch 'master' into feat/add-slug-to-seo-form 2020-09-25 15:39:05 +02:00
Magdalena Markusik
cc166f463c refactor after review 2020-09-25 15:27:57 +02:00
Tomasz Szymański
4cecf238d6
Allow product variant to be set as default (#721)
* Add drag-and-drop to allow variants reordering

* Handle variants reordering

* Allow product variant to be set as default

* Display default variant and perform refresing after set

* Move ProductVariantSetDefault to separate component

* Changes to new schema


Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2020-09-25 14:33:01 +02:00
Dawid Tarasiuk
4da205bb24
Merge pull request #730 from mirumee/fix/disable-autocomplete-in-email-field
add autocomplete off to email field in site settings
2020-09-25 13:50:57 +02:00
Dawid Tarasiuk
388c4c97ec
Merge pull request #729 from mirumee/fix/showing-skeleton-for-price-in-product-list
Fix skeleton showing for price in product list
2020-09-25 13:49:30 +02:00
Magdalena Markusik
4457da981e update tests 2020-09-24 16:07:48 +02:00
Magdalena Markusik
cb977c4516 add type url to email field in site settings 2020-09-24 15:56:44 +02:00
Magdalena Markusik
c2039f751e add autocomplete off to email field in site settings 2020-09-24 15:38:21 +02:00
Magdalena Markusik
c0d02d6943 refactor 2020-09-24 15:31:29 +02:00
Magdalena Markusik
2519ed9496 add pattern matching for slug field not to use special characters 2020-09-24 15:30:16 +02:00
Magdalena Markusik
dbbb0ac990 fix tests 2020-09-24 14:56:42 +02:00
Magdalena Markusik
41209ce8dc fix types 2020-09-24 14:33:14 +02:00
Magdalena Markusik
4a8b8e3c2f Fix mutation for simple product update 2020-09-24 14:17:26 +02:00
Magdalena Markusik
828e207209 add error handling to seo form 2020-09-24 14:11:30 +02:00
dominik-zeglen
5b6a420199 Update changelog, stories and messages 2020-09-24 13:49:49 +02:00
dominik-zeglen
9a9c6a01a1 Fix stories 2020-09-24 13:49:48 +02:00
dominik-zeglen
a028c69810 Add support for changing tax type for products 2020-09-24 13:46:51 +02:00
dominik-zeglen
baff4413a5 Improve rendering of large lists 2020-09-24 13:46:50 +02:00
dominik-zeglen
2b92211b99 Add tax section to product view 2020-09-24 13:46:48 +02:00
Dawid Tarasiuk
2805b752f0
Merge pull request #726 from mirumee/disable-autocomplete-for-auth-keys-inputs
Disable autocomplete for plugin auth key field and site settings auth field
2020-09-24 09:08:09 +02:00
Dawid Tarasiuk
30ab1bb439 Fix misaligned rich text draft controls 2020-09-23 17:58:25 +02:00
Magdalena Markusik
0faf70aea6 wip 2020-09-23 14:03:15 +02:00
Magdalena Markusik
edb03e81b0 Disable autocomplete for plugin auth key field and site settings auth fields 2020-09-23 10:19:18 +02:00
mmarkusik
8093876c7b
Merge branch 'master' into feat/add-slug-to-seo-form 2020-09-23 09:39:29 +02:00
mmarkusik
ce77c9df10
Fix strings containing "informations" (#722)
* update

* update changelog

Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2020-09-22 18:04:06 +02:00
Magdalena Markusik
c20c84da35 refactor 2020-09-22 13:10:53 +02:00
mmarkusik
c7124ffc41
Merge branch 'master' into feat/add-slug-to-seo-form 2020-09-22 09:58:33 +02:00
dominik-zeglen
b0053e1f92 Fix table horizontal scrolling 2020-09-21 17:19:33 +02:00
Magdalena Markusik
e69c7057bd fix lint 2020-09-21 16:30:18 +02:00
Magdalena Markusik
ca644c9bb0 refactor 2020-09-21 15:34:32 +02:00
dominik-zeglen
35624d3008 Fix uncontrolled to controlled input change 2020-09-21 15:34:15 +02:00
Magdalena Markusik
0f4d0f1195 fix types and lint 2020-09-21 14:57:12 +02:00
Magdalena Markusik
77063deb4f fix seo form to work with null values from some props 2020-09-21 14:45:57 +02:00
Magdalena Markusik
37e0ecce26 add slug field to category update and create 2020-09-21 12:47:03 +02:00
Magdalena Markusik
6ae8fcebcd update product create mutation create handler 2020-09-21 12:24:11 +02:00
Magdalena Markusik
52cf01ed72 update mutation and fixtures 2020-09-21 12:05:43 +02:00
Dominik Żegleń
a78af2b9db
Merge branch 'master' into fix/avatar-change-button 2020-09-21 11:12:56 +02:00
Dawid Tarasiuk
8d9162cd1d Update test snapshots 2020-09-21 10:34:34 +02:00
Dawid Tarasiuk
ffaf56a51b Handle variants reordering 2020-09-21 10:33:25 +02:00
Dawid Tarasiuk
88b8950408 Add drag-and-drop to allow variants reordering 2020-09-21 10:33:24 +02:00
Dawid Tarasiuk
e474f90a8e Update test snapshots 2020-09-18 17:01:36 +02:00
Dawid Tarasiuk
f7936fa3fc Fix avatar change button 2020-09-18 17:01:17 +02:00
Magdalena Markusik
d20b58dd79 fixes afer merge 2020-09-18 16:40:48 +02:00
Magdalena Markusik
7631a7a281 Merge branch 'master' into feat/add-slug-to-seo-form 2020-09-18 15:35:22 +02:00
Dawid Tarasiuk
45d33c3920
Fix return to previous page on screen size change (#710)
* Fix header responsiveness

* Update changelog
2020-09-18 15:08:50 +02:00
AlicjaSzu
cd88102af7
fix product availability date (#696)
* VisibilityCard - fix product availability date

* revert changes in VisibilityCard, refetch data on successfully updated availability

* fix availability in ProductCreate and ProductUpdate

* ProductUpdate - remove unneeded refetch

* create  getProductAvailabilityVariables handler
2020-09-18 15:01:00 +02:00
Dawid Tarasiuk
acfd04e81a
Merge pull request #703 from mirumee/ref/sidebar-mobile
Improve sidebar responsiveness
2020-09-18 12:16:27 +02:00
Dawid Tarasiuk
62b5219af8 Update translations 2020-09-18 11:42:36 +02:00
Dawid Tarasiuk
40d27a9280
Merge pull request #711 from mirumee/fix/order-details-update
Fix updating order details on address change
2020-09-17 16:16:21 +02:00
Magdalena Markusik
8a80f3dd4d Add slug field for page details wip 2020-09-17 16:06:13 +02:00
Maciej Korycinski
24ea28f987
Pass missing isVisibleListing variable to mutation (#712)
* Pass missing arguments

* Update types
2020-09-16 15:28:05 +02:00
Dawid Tarasiuk
d3102c2a62 Update order details on address change 2020-09-15 15:18:50 +02:00
Dominik Żegleń
2600767431
Add error info when fetching taxes (#701)
* Add error info

* Update changelog
2020-09-15 14:03:39 +02:00
dominik-zeglen
bf752d1ee7 Add mobile drawer menu 2020-09-11 15:58:15 +02:00
dominik-zeglen
989f66f7de Add SquareButton component 2020-09-11 12:43:55 +02:00
dominik-zeglen
6fcc0eaf79 Improve userbar styles 2020-09-11 12:29:08 +02:00
dominik-zeglen
95f11a3032 Fix app header responsiveness 2020-09-10 17:37:25 +02:00
dominik-zeglen
a7c65f77e4 Move userbar to separate component 2020-09-10 17:20:22 +02:00
dominik-zeglen
ed3d168d22 Fix app header 2020-09-10 17:11:36 +02:00
dominik-zeglen
668290d500 Update snapshots 2020-09-09 13:21:29 +02:00
dominik-zeglen
14b32db8ec Fix test selectors 2020-09-09 13:15:18 +02:00
dominik-zeglen
297fa35edd Fix menu hiding 2020-09-09 12:59:59 +02:00
dominik-zeglen
155dcbecb3 Listen to all clickAways 2020-09-09 12:59:58 +02:00
dominik-zeglen
89c33deb3d Fix submenu shadow 2020-09-09 12:59:56 +02:00
dominik-zeglen
a1b8cba07b Do not break white space 2020-09-09 12:59:55 +02:00
dominik-zeglen
c862cc1eae Align text to left 2020-09-09 12:59:54 +02:00
dominik-zeglen
4fa7730611 Improve dom nesting 2020-09-09 12:59:53 +02:00
dominik-zeglen
3d571e3f4f Visual improvements 2020-09-09 12:59:52 +02:00
dominik-zeglen
e8a69cd9fc Fix sidebar positiion 2020-09-09 12:59:51 +02:00
dominik-zeglen
da0677ca42 Fix submenu text color 2020-09-09 12:59:49 +02:00
dominik-zeglen
ac0e8f03fc Remove obsolete files 2020-09-09 12:59:47 +02:00
dominik-zeglen
97c3d06241 Improve accessibility 2020-09-09 12:59:46 +02:00
dominik-zeglen
f1960281f8 Add styles to expand button 2020-09-09 12:59:45 +02:00
dominik-zeglen
da16d8a087 Remove unused style 2020-09-09 12:59:44 +02:00
dominik-zeglen
c1c5713592 Add styles to menu 2020-09-09 12:59:43 +02:00
dominik-zeglen
2711292315 Add menu skeleton 2020-09-09 12:59:41 +02:00
Marcin Gębala
984e794fd9
Merge branch 'master' into feature/update-default-decimal-places 2020-09-09 11:33:54 +02:00
Dawid Tarasiuk
75586aae9f Fix double update order addresses and unclosed dialog 2020-09-08 15:52:25 +02:00
AlicjaSzu
fd6c77adf7 update schema and types 2020-09-07 12:48:19 +02:00
dominik-zeglen
ce6d9d835a Fix en locale, symlinks and use async await 2020-09-04 16:08:24 +02:00
Dominik Żegleń
8e0740372a
Merge pull request #692 from eaglesemanation/fix/lazyload-locales
Fix/lazyload locales
2020-09-04 16:07:26 +02:00
dominik-zeglen
1e1bb03b4e Update fixtures 2020-09-04 13:06:03 +02:00
dominik-zeglen
488a2a02ff Update snapshots 2020-09-04 13:06:02 +02:00
dominik-zeglen
453410b43d Add metadata editor to order view 2020-09-04 13:06:00 +02:00
Dominik Żegleń
591f2eced3
Merge pull request #690 from mirumee/ref/savebar
Update savebar design
2020-09-04 13:05:10 +02:00
Vladimir Romashchenko
54577a1a30
Made locales load lazily. 2020-09-03 22:40:28 -04:00
dominik-zeglen
de309be807 Update background volor 2020-09-03 19:06:47 +02:00
dominik-zeglen
203c5ba696 Update savebar design 2020-09-03 19:01:32 +02:00
AlicjaSzu
7d5d3698e8 update snapshots 2020-09-03 16:19:47 +02:00
AlicjaSzu
092655c16e fix availability date logic 2020-09-03 16:14:23 +02:00
AlicjaSzu
a6db73f189 fix typo in AvailabilityCard 2020-09-03 16:10:15 +02:00
AlicjaSzu
eba4ba2edf
update VisibilityCard component (#679)
* update VisibilityCard component

* add visibleInListings in Product

* update mutations and types with visibleInListings

* update ProductExportDialogInfo with availableForPurchase

* update defaultMessages

* update useDateLocalize hook

* update cypress tests

* update orders with availability info

* revert cypress changes

* update changelog

* update product update handlers

* fix VisibilityCard styles

* create AvailabilityCard component

* update defaultMessages

* update snapshots and messages

* fix ProductCreatePage form data types

* update defaultMessages
2020-09-03 12:25:16 +02:00
Dominik Żegleń
dda68cf6cd
Merge pull request #686 from mirumee/fix/attribute-crash
Fix crashing attribute value creation
2020-09-03 11:29:39 +02:00
Dominik Żegleń
bba1840b92
Merge branch 'master' into metadata/create-views 2020-09-02 17:41:54 +02:00
dominik-zeglen
5ef0da5b1e Simpify logic 2020-09-02 12:12:32 +02:00
dominik-zeglen
0f3b061f18 Add payment authorized event 2020-09-02 11:57:48 +02:00
dominik-zeglen
d720389ba7 Update order history information 2020-09-02 11:43:33 +02:00
dominik-zeglen
a6ce67b6c9 Fix crashing attribute value creation 2020-09-02 11:42:22 +02:00
dominik-zeglen
6181b1139c Update snapshots 2020-09-01 17:31:13 +02:00
dominik-zeglen
cb4e2fd050 Add metadata editor to variant creator 2020-09-01 17:14:49 +02:00
dominik-zeglen
ca78ecc19f Add metadata editor to attribute creator 2020-09-01 17:14:48 +02:00
dominik-zeglen
4391e79a90 Add metadata editor to product type creator 2020-09-01 17:14:47 +02:00
dominik-zeglen
e268ddd3d2 Simpliify code 2020-09-01 17:14:46 +02:00
dominik-zeglen
2353e54ab2 Add metadata editor to collection creator 2020-09-01 17:14:45 +02:00
dominik-zeglen
5737e5f64d Add metadata editor to category creator 2020-09-01 17:14:44 +02:00
dominik-zeglen
dde82e0756 Add metadata editor to product creator 2020-09-01 17:14:43 +02:00
dominik-zeglen
7bb5ca231b Update changelog and snapshots 2020-09-01 17:14:42 +02:00
dominik-zeglen
0abf151073 Update snapshots 2020-09-01 17:13:50 +02:00
Dominik Żegleń
7770ae34df
Add metadata (#670)
* Add metadata editor component

* Add tests

* Fix plurals

* Use pascal case in selectors

* Update product metadata

* Add metadata handler decorator

* Update snapshots

* wip

* Remove operation provider component

* Add metadata to collections

* Add metadata editor to variant

* Add metadata editor to categories

* Add metadata to product types

* Simplify code

* Add metadata to attributes

* Drop maybe

* Rename Metadata to MetadataFragment

* Update changelog and snapshots
2020-08-28 14:45:11 +02:00
Dominik Żegleń
265c8bc0ca
Merge pull request #664 from mirumee/add/data-test-filters
Add test ids to filters
2020-08-27 16:56:00 +02:00
dominik-zeglen
dddfa135a5 Add apps and permission groups to navigator 2020-08-26 11:47:00 +02:00
Dominik Żegleń
03f03d436b
Merge pull request #667 from mirumee/ref/product-update-hooks
Use hooks instead of containers with render props in product mutations
2020-08-25 13:13:15 +02:00
dominik-zeglen
82aa6ea942 Use optional chaining 2020-08-25 11:42:14 +02:00
Krzysztof Wolski
4166bff0a9 All items in menu will have test context 2020-08-25 09:54:24 +02:00
Krzysztof Wolski
44b3b66ff3 Add static test id to the menu items 2020-08-25 09:27:02 +02:00
dominik-zeglen
affb8e031b Use pascal case 2020-08-24 16:23:45 +02:00
dominik-zeglen
ce2624bb9f Use query hooks in category details view 2020-08-24 12:35:10 +02:00
dominik-zeglen
419525f493 Use query hooks in product variant view 2020-08-24 12:29:54 +02:00
dominik-zeglen
0fc4d1afb2 Use query hooks in product variant create view 2020-08-24 12:18:58 +02:00
dominik-zeglen
b1fd1c3243 Use query hooks in product image viiew 2020-08-24 12:14:59 +02:00
dominik-zeglen
4df1c71a79 Use query hooks in product list 2020-08-24 12:10:48 +02:00
dominik-zeglen
7726bacb77 Remove ProductUpdateOperations component 2020-08-24 11:50:55 +02:00
Dominik Żegleń
8f66954590
Merge pull request #660 from mirumee/fix/plugin-view
Fix minor bugs in plugin details view
2020-08-21 15:39:01 +02:00
dominik-zeglen
5e73440e4f Add test ids to filters 2020-08-21 13:03:14 +02:00
Dominik Żegleń
1badb8a1e2
Merge branch 'master' into fix/navigator-button 2020-08-20 16:39:51 +02:00
Krzysztof Wolski
6f3c8647f0
Merge branch 'master' into fix/unassign_user 2020-08-20 14:13:48 +02:00
Dominik Żegleń
5926f03731
Merge pull request #658 from mirumee/fix/product-filters
Fix attribute filters
2020-08-20 13:45:49 +02:00
Dominik Żegleń
ea40c8dff1
Merge pull request #657 from mirumee/fix/no-permissions-err
Fix Value PermissionDenied not found in enum
2020-08-20 13:45:16 +02:00
dominik-zeglen
48e9fe1366 Fix minor bugs in plugin details view 2020-08-19 13:35:35 +02:00
dominik-zeglen
988fd07cf1 Fix user avatar if no image has been set 2020-08-19 11:00:10 +02:00
dominik-zeglen
daf5c4d6fb Fix storage filter key 2020-08-19 10:59:57 +02:00
dominik-zeglen
7849ebf3f9 Fix Value PermissionDenied not found in enum 2020-08-18 17:20:06 +02:00
dominik-zeglen
7cdb120d38 Update messages and changelog 2020-08-18 16:20:52 +02:00
dominik-zeglen
0b5c9e35eb Add warehouse choice 2020-08-18 16:20:50 +02:00
dominik-zeglen
ff41fb4845 Update snapshots 2020-08-18 16:10:19 +02:00
dominik-zeglen
09fd02ddec Update checkboxes to newest design 2020-08-18 16:10:15 +02:00
dominik-zeglen
88168cb157 wip 2020-08-18 16:10:14 +02:00
Dominik Żegleń
cc2fb0ae4e
Fix updating product that has no variants (#649)
* Fix updating product that has no variants

* Update changelog
2020-08-18 16:09:01 +02:00
dominik-zeglen
70bb077840 Fix rendering on safari browser 2020-08-18 11:38:34 +02:00
dominik-zeglen
091e54e1d0 Fix deleting just one variant 2020-08-17 17:23:56 +02:00
dominik-zeglen
ccee92a8d0 Fix incorrect messages 2020-08-13 16:44:05 +02:00
dominik-zeglen
235eb5a777 Reset modal state after closing 2020-08-13 13:28:57 +02:00
dominik-zeglen
6d5866a81b Fix avatars in permission group member liistt 2020-08-12 14:54:19 +02:00
dominik-zeglen
b9d4129a07 Update types 2020-08-12 14:54:17 +02:00
dominik-zeglen
b45e52dcfd Center user initials and user proper thumbnail sizes 2020-08-12 14:54:16 +02:00
dominik-zeglen
ac48ba4d96 Fix missing save button 2020-08-12 12:49:05 +02:00
dominik-zeglen
6d8a06af41 Update to newest schema 2020-08-12 11:28:45 +02:00
Dominik Żegleń
9a86c6beb5
Merge pull request #635 from mirumee/add/navigator-btn
Add navigator button
2020-08-11 15:35:23 +02:00
Vladimir Romashchenko
3451d58879
Changed MemberErrorDialog variant to "info" 2020-08-11 04:10:32 -04:00
Vladimir Romashchenko
d0422323ba
Added "info" variant for Action Dialog
Info messages should not require any kind of confirmation, so I added
option to disable ConfirmButton by providing "info" as a variant
2020-08-11 04:04:16 -04:00
dominik-zeglen
dbbe2d7287 Update snapshots, messages and changelog 2020-08-10 15:12:21 +02:00
dominik-zeglen
154899704d Add navigator button 2020-08-10 14:43:24 +02:00
dominik-zeglen
3816ebb0a5 Add navigator button 2020-08-08 14:59:09 +02:00
Krzysztof Wolski
fdb8d1e272
Handle situation when email is removed from user (#631) 2020-08-07 17:15:18 +02:00
dominik-zeglen
2bfe1226d5 Update snapshots 2020-07-30 14:28:44 +02:00
dominik-zeglen
8c68903fad Add submit on blur 2020-07-30 14:28:41 +02:00
dominik-zeglen
3ce99ff326 Fix label 2020-07-30 14:28:41 +02:00
dominik-zeglen
3dafeab52b Fix shipping create minimal price bug 2020-07-30 14:28:40 +02:00
Dominik Żegleń
df5aea6200
Add product export (#620)
* Add component backbone

* Make step component generic and typed

* Add step tabs

* Add settings view

* Encapsulate all dialog components in one directory

* Move types to separate file

* Add mutations

* Use gql types

* Add error handling

* Do not keep separate types file

* Allow products to be exported

* Fix types

* Update snapshots

* Update to latest schema

* Add disabled option

* Use wizard hook

* Update type definitions

* Queue export check task

* Fix bug causing jobs to be endless and duplicated

* Fix minor bugs

* Add accordion component

* Allow selection of fields  to be exported

* Add attribute export

* Update snapshots

* Update messages

* Update changelog

* Add missing key

* Add quick peek to accordioin

* Sort imports

* Remove unused files

* Add chiips to attribute selection

* Change menu positioning

* Add product counter

* Add select all option

* Update snapshots

* Update messages

* Remove unused import

* Add chips

* Add test tags

* Update snapshots

* Change number of max chips

* Add accordion tags

* Update messages
2020-07-30 11:54:16 +02:00
dominik-zeglen
4ffbcd069d Do not match requests by url and headers 2020-07-29 15:10:39 +02:00
dominik-zeglen
dd6f261f78 Remove duplicated functtion 2020-07-27 12:23:49 +02:00
dominik-zeglen
377147f5a1 Apply review changes 2020-07-27 12:23:48 +02:00
dominik-zeglen
d23202bf00 Handle token refreshing 2020-07-27 12:23:47 +02:00
dominik-zeglen
765953c9a8 Sort keys 2020-07-27 12:23:46 +02:00
dominik-zeglen
2823dee161 Fix logging out if token has expired 2020-07-27 12:23:45 +02:00
dominik-zeglen
987315edb2 Fix endless loading screen 2020-07-27 12:23:44 +02:00
Dominik Żegleń
7be748eed7 Apply suggestions from code review
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-07-27 12:23:43 +02:00
dominik-zeglen
41e60b6418 Add tests to auth 2020-07-27 12:23:42 +02:00
dominik-zeglen
b5029deca0 wip 2020-07-27 12:21:25 +02:00
dominik-zeglen
24f4aecd97 Separate hook from component 2020-07-27 12:17:41 +02:00
dominik-zeglen
816e21e4b7 Fail if user errors 2020-07-27 12:17:41 +02:00
dominik-zeglen
4de1a6682c Fix logout 2020-07-27 12:17:39 +02:00
Dawid Tarasiuk
d203a26bde Update auth provider 2020-07-27 12:17:39 +02:00
Dawid Tarasiuk
dd4022dcd7 use Apollo useMutation instead of custom hook 2020-07-27 12:17:38 +02:00
Dawid Tarasiuk
9b97e3279b Use useAuth hook 2020-07-27 12:17:37 +02:00
Dawid Tarasiuk
03a2fff2a5 Refactor AuthProvider 2020-07-27 12:16:14 +02:00
Dawid Tarasiuk
b633e2f470 Create mutation hooks for auth provider 2020-07-27 12:16:13 +02:00
AlicjaSzu
211b0b892d
Apps (#599)
* create Apps view

* create more app components, generate types and messages

* apps refactor, update snapshots

* show error message in tooltip  when app installation fail

* update apps components and view, add apps list to storybook

* update defaultMessages

* create app details view

* update AppListPage with Skeleton component

* create app activate/deactivate dialogs, create app details stories

* add AppHeader to AppDetailsPage

* update defaultMessages

* update AppDetails view and components after review

* create custom app details view

* refactor webhooks

* update webhooks fixtures

* update WebhookDetailsPage story

* update strings

* create CustomAppCreate view and components

* update AppListPage story

* create AppInstall view and page

* handle errors in AppInstall view

* update defaultMessages

* add AppInstallPage to storybook

* add status prop to MessageManager

* update defaultMessages

* remove service account section

* remove service account routes

* remove as operator from notify status

* add notifications for app installations

* update styles for deactivated app

* update app installations with local storage

* update defaultMessages

* AppInstall update

* dd delete button to ongoin installations table

* fix active installations condition

* fix error messages in AppsList

* update defaultMessages

* add iframe to AppDetailsPage

* create AppDetailsSettingsPage

* install macaw-ui

* apps styles clean up

* update schema, fixtures

* few apps updates

* WebhookCreate - fix onBack button name

* WebhookCreatePage story update

* rename apps table from external to thirdparty

* update defaultMessages

* fix test, update snapshots

* AppDetailsSettings - add token to headers

* fix first number in local apps query

* app details settings - use shop domain host

* add onSettingsRowClick to InstalledApps

* resolve conflicts

* update changelog and messages

* add noopener noreferrer do app privacy link

* update snapshots

* update snapshots

* updates after review

* update defaultMessages

* CustomAppDetails - add missing notify status
2020-07-22 12:54:15 +02:00
Dominik Żegleń
df85de6779
Merge pull request #619 from mirumee/feature/order_event_updated
Order updated history event
2020-07-22 12:02:27 +02:00
Krzysztof Wolski
c778c200ed
Move from test cafe to Cypress (#584)
* Typo

* Add cypress config

* Login and logout tests

* Typo

* Add basic test for warehouse

* Wrong password test

* Fixes and docs

* Remove testcafe

* Add gh action

* Update changelog

* Fix typo

* Update msgs

* Work on GH action

* Record artifacts

* Fix warehouse test
2020-07-20 11:42:44 +02:00
Tomasz Szymanski
79144e6fe4 Order updated history event 2020-07-17 10:10:01 +02:00
dominik-zeglen
fe08829360 Update fixtures 2020-07-16 14:26:09 +02:00
dominik-zeglen
c6f36de80d Fix rebase errors 2020-07-16 13:48:02 +02:00
dominik-zeglen
c09fc4ce00 Apply fixes from 2.10.1 2020-07-16 13:48:00 +02:00
Tomasz Szymański
97938a6018
Order history events for invoicing (#610)
* Order history events for invoicing

* Added missing translations
2020-07-15 19:19:50 +02:00
Carl-Philip Majgaard
71ca341538
Clears all filters on filter reset 2020-07-14 15:57:52 -04:00
dominik-zeglen
ff7a6ef581 Fix weight based rate update 2020-07-13 16:44:59 +02:00
dominik-zeglen
d5f6f27b2c Display correct weight unit 2020-07-13 12:17:31 +02:00
dominik-zeglen
8173624fca Fix order note when no user was given 2020-07-13 11:21:52 +02:00
dominik-zeglen
1bbc7aa9b9 Update snapshots 2020-07-09 15:47:08 +02:00
dominik-zeglen
e066d3171f Add weight to simple products 2020-07-09 14:53:08 +02:00
dominik-zeglen
4efce141da Add weight to variant 2020-07-09 13:45:01 +02:00
Dawid Tarasiuk
8a22155b6e Update order invoices list design 2020-07-08 15:29:47 +02:00
Mohamed Wael
8d6d50fbc8
Add/edit tracking number (#562)
* edit tracking number button

* Update snapshot

* Update messages

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-07-08 12:33:50 +02:00
Dawid Tarasiuk
114993ed75 Partially revert update queries 2020-07-08 10:44:38 +02:00
dominik-zeglen
0baa065896 Fix queries 2020-07-08 10:44:37 +02:00
Dawid Tarasiuk
fea369be80 Update test snapshots 2020-07-08 10:44:37 +02:00
dominik-zeglen
a907862b82 Fix key name 2020-07-08 10:44:36 +02:00
Dawid Tarasiuk
43ae37d229 Update invoice fragment 2020-07-08 10:44:35 +02:00
Dawid Tarasiuk
c4c9895a56 Create story for invoice list 2020-07-08 10:44:34 +02:00
Dawid Tarasiuk
a1624508eb Refactor order details props types 2020-07-08 10:44:34 +02:00
Dawid Tarasiuk
724df1939e Add index in errors list 2020-07-08 10:44:34 +02:00
Dawid Tarasiuk
7481822254 Fix formatting 2020-07-08 10:44:33 +02:00
Dawid Tarasiuk
3c49c28968 Remove form from OrderInvoiceEmailSendDialog 2020-07-08 10:44:33 +02:00
Dawid Tarasiuk
acef5b7f44 Update invoice request mutation 2020-07-08 10:44:32 +02:00
Dawid Tarasiuk
b0c62d7ad9 Update invoice request types 2020-07-08 10:44:32 +02:00
Dawid Tarasiuk
c88572356f Queue invoice status check 2020-07-08 10:44:32 +02:00
Dawid Tarasiuk
18603cd97a Update schema invoice types 2020-07-08 10:44:31 +02:00
Dawid Tarasiuk
81115da9e0 Update invoice error messages 2020-07-08 10:44:31 +02:00
Dawid Tarasiuk
8a756f539b Create invoice email send dialog 2020-07-08 10:44:31 +02:00
Dawid Tarasiuk
6dfe582fe8 Display invoice actions notifications 2020-07-08 10:44:30 +02:00
Dawid Tarasiuk
a612b2dfb0 Implement send invoice email mutation 2020-07-08 10:44:30 +02:00
Dawid Tarasiuk
80ace6e435 Update test snapshots 2020-07-08 10:44:29 +02:00
Dawid Tarasiuk
25b0082455 Implement generate invoice mutation 2020-07-08 10:44:29 +02:00
Dawid Tarasiuk
cd761d0990 Query invoices for order 2020-07-08 10:44:28 +02:00
Dawid Tarasiuk
624f3954df Update invoice callback names 2020-07-08 10:44:28 +02:00
Dawid Tarasiuk
7f5f0c056c Fix imports 2020-07-08 10:44:27 +02:00
Dawid Tarasiuk
e48e0a030e Query invoices for order 2020-07-08 10:44:27 +02:00
Dawid Tarasiuk
8b06b6ddf7 Create invoice cart in order deatials view 2020-07-08 10:44:26 +02:00
dominik-zeglen
eddec1a5c2 Move fragments to avoid circular imports 2020-07-07 12:14:12 +02:00
Dominik Żegleń
9a7c8553e5
Merge pull request #588 from mirumee/fix/task-queue
Handle task failure and fix task duplication
2020-07-06 19:05:15 +02:00
dominik-zeglen
b28bd31aaa Commit review suggestioins 2020-07-06 19:04:51 +02:00
dominik-zeglen
b1ac074b1e Improve comment 2020-07-06 17:06:01 +02:00
dominik-zeglen
a6dda68d50 Handle task failure and fix task duplication 2020-07-06 16:24:54 +02:00