Commit graph

1329 commits

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