Commit graph

1469 commits

Author SHA1 Message Date
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