Commit graph

925 commits

Author SHA1 Message Date
dominik-zeglen
e167a6450e Improve test coverage 2020-04-28 16:37:18 +02:00
dominik-zeglen
e52b2bb74a Fix attribute stock input 2020-04-28 16:37:18 +02:00
dominik-zeglen
715303e025 Add ability to create stock in multiple warehouses 2020-04-28 16:37:17 +02:00
dominik-zeglen
b776321e0a Add multiple warehouse selection 2020-04-28 16:37:17 +02:00
dominik-zeglen
64371d04a6 wip 2020-04-28 16:37:16 +02:00
dominik-zeglen
688fc83f55 Split components into pricing and stock sections 2020-04-28 16:37:15 +02:00
Dominik Żegleń
1b7eac3596 Apply suggestions from code review
Co-Authored-By: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-04-28 16:37:14 +02:00
dominik-zeglen
61a989a061 Fix types 2020-04-28 16:37:14 +02:00
dominik-zeglen
cd7426c7a9 Update tests 2020-04-28 16:37:13 +02:00
dominik-zeglen
5262e97b20 wip 2020-04-28 16:37:13 +02:00
dominik-zeglen
785c34375e Use reducer action enum 2020-04-28 16:37:12 +02:00
dominik-zeglen
bbdc7f8991 Preserve list order 2020-04-28 16:37:12 +02:00
dominik-zeglen
3ad8440c29 Update test cases 2020-04-28 16:37:11 +02:00
dominik-zeglen
e153b59bc3 Add stock to variant matrix 2020-04-28 16:37:10 +02:00
dominik-zeglen
422ede89a8 Add util functions 2020-04-28 16:37:09 +02:00
dominik-zeglen
e4505cf427 Add missing key 2020-04-28 16:37:09 +02:00
dominik-zeglen
a436b13372 Improve code readability 2020-04-28 16:37:08 +02:00
dominik-zeglen
85b730bce8 Update stories 2020-04-28 16:37:07 +02:00
dominik-zeglen
e41a79fe78 Make variant creator view instead of dialog 2020-04-28 16:33:27 +02:00
dominik-zeglen
50ff050155 Use dedicated wizard hook 2020-04-28 16:33:26 +02:00
dominik-zeglen
5967c71d13 Fix error causing error if product has no variants 2020-04-28 16:33:25 +02:00
dominik-zeglen
8b5b3c81d5 Fix type errors 2020-04-28 16:33:25 +02:00
dominik-zeglen
d0e082dc21 Add error translations 2020-04-28 16:33:24 +02:00
dominik-zeglen
d38fa42462 Add stock in product variant create view 2020-04-28 16:33:24 +02:00
dominik-zeglen
0eb7750321 Add variant stock management 2020-04-28 16:33:23 +02:00
dominik-zeglen
4b661c9bff Add simple product stock management 2020-04-28 16:33:22 +02:00
dominik-zeglen
db3b51f931 Add simple product stock management 2020-04-28 16:33:22 +02:00
dominik-zeglen
c161de1270 Fix product create view 2020-04-28 16:33:21 +02:00
dominik-zeglen
f94fdba7b9 Add warehouse stock edit prototype 2020-04-28 16:33:21 +02:00
dominik-zeglen
65dedb4263 Add warehouse select dialog 2020-04-28 16:33:20 +02:00
dominik-zeglen
4d81c89f58 Add tracking to update 2020-04-28 16:33:19 +02:00
dominik-zeglen
11a10686ce Add stock management components to simple product 2020-04-28 16:33:18 +02:00
dominik-zeglen
0805ff052d Fix assigning shipping zone to warehouse 2020-04-28 16:33:18 +02:00
dominik-zeglen
220f77c20a Update types 2020-04-28 16:33:17 +02:00
dominik-zeglen
490e2a2baa Fix typo 2020-04-28 16:33:17 +02:00
dominik-zeglen
1afafa6732 Fix minor bug causing form not to reload 2020-04-28 16:33:16 +02:00
dominik-zeglen
97ffc07738 Make warehouse and shipping work 2020-04-28 16:33:15 +02:00
dominik-zeglen
61db9d1476 Fix label 2020-04-28 16:33:14 +02:00
dominik-zeglen
2272f038a5 Move label creation logic to util function 2020-04-28 16:33:13 +02:00
dominik-zeglen
1e37867e3e Update stories and messages 2020-04-28 16:33:13 +02:00
dominik-zeglen
369be96850 Fix types 2020-04-28 16:33:11 +02:00
dominik-zeglen
fbc809879f Add warehouse search 2020-04-28 16:33:10 +02:00
dominik-zeglen
93d1d74230 Allow creating warehouse from shipping zone view 2020-04-28 16:33:09 +02:00
dominik-zeglen
60ec16961c Add warehouse create action button 2020-04-28 16:33:08 +02:00
dominik-zeglen
3d838d8428 Simplify code 2020-04-28 16:31:37 +02:00
dominik-zeglen
12c5e40646 Fix dropdown position 2020-04-28 16:30:06 +02:00
dominik-zeglen
ee36d6046c Add variant stock filtering by warehouse 2020-04-28 16:30:06 +02:00
dominik-zeglen
ccc51b1243 Add link with choices component 2020-04-28 16:30:05 +02:00
dominik-zeglen
92d16effb3 Add inventory status to variant list 2020-04-28 16:30:03 +02:00
dominik-zeglen
8f02117865 Add warehouse select 2020-04-28 16:30:02 +02:00
dominik-zeglen
321c9a5712 Use apollo hooks 2020-04-28 16:30:01 +02:00
dominik-zeglen
ed3e9fbc45 wip 2020-04-28 16:30:00 +02:00
dominik-zeglen
34698b7d6f Fix rtypes 2020-04-28 16:29:58 +02:00
dominik-zeglen
e5274afa64 Add warehouse deleting 2020-04-28 16:29:57 +02:00
dominik-zeglen
8445d2d815 Add warehouse details 2020-04-28 16:29:56 +02:00
dominik-zeglen
c9afddd050 Improve headers 2020-04-28 16:29:55 +02:00
dominik-zeglen
2a7829c0f7 Add warehouse create 2020-04-28 16:29:53 +02:00
dominik-zeglen
74ea099824 Make company address shared component 2020-04-28 16:28:37 +02:00
dominik-zeglen
82909e9067 Fix stories 2020-04-28 16:28:36 +02:00
dominik-zeglen
fd1f728415 Add warehouse delete action 2020-04-28 16:28:34 +02:00
dominik-zeglen
414f6d7a3d Add warehouse list view 2020-04-28 16:28:33 +02:00
Dominik Żegleń
e7f6bd1e77
Merge pull request #490 from AdamQuadmon/fix-order-fulfillment-typo
Fix Typo in Order Fulfillment Dialog
2020-04-27 16:29:33 +02:00
Krzysztof Wolski
a595acdda1 Handle disabling unavailable fields 2020-04-27 11:11:21 +02:00
Krzysztof Wolski
a44e96a278 Update chosen pills 2020-04-27 09:53:34 +02:00
Krzysztof Wolski
0516e540f7 Fix typo 2020-04-23 17:52:39 +02:00
Krzysztof Wolski
082a12e0b8
Permission groups section (#406)
* Add permission groups 👪
2020-04-23 17:43:08 +02:00
Maciej Korycinski
75b2487c57 Rename variables service_account to apps 2020-04-22 12:17:19 +02:00
Luciano Amodio
258cb5bf5e Fix Typo in Order Fulfillment Dialog
extraction also removed three strings from defaultMessages.json
2020-04-22 00:23:27 +02:00
Dominik Żegleń
2c46e57271
Merge pull request #474 from gabmartinez/fix/changing-sorting-option-should-reset-pagination
Reset pagination when guest change the sorting of the list
2020-04-21 13:38:54 +02:00
dominik-zeglen
1ede1a33b1 Update types 2020-04-20 13:11:07 +02:00
Mohamed Wael
7ce69ad130
Sort icon childs alphabetically 2020-04-15 20:51:20 +01:00
Mohamed Wael
a7e9953ec6
fix icons colour
The icons' colours were hardcoded in the SVG file, now they are set to the theme primary colour
2020-04-15 19:13:19 +01:00
Mohamed Wael
95797bae99
fix Sales and Orders icons color
The icons color was hardcoded on the svg file, I've set it to theme primary color variable
2020-04-15 19:08:14 +01:00
Gabriel L Martinez
7226a58688
Merge branch 'master' into fix/changing-sorting-option-should-reset-pagination 2020-04-15 07:55:34 -04:00
Gabriel L Martinez
bf3a0b4f59 Move filter method to ProductList view 2020-04-15 05:47:49 -04:00
Gabriel L Martinez
c59ea6ada6 Refactor filterColumnIds and move it to utils 2020-04-15 04:46:17 -04:00
Gabriel L Martinez
21b43295b1
Merge branch 'master' into fix/sending-invalid-ids-to-grid-attributes-request 2020-04-14 06:17:43 -04:00
Gabriel L Martinez
c800de35fc
Merge branch 'master' into fix/changing-sorting-option-should-reset-pagination 2020-04-14 06:16:41 -04:00
Gabriel L Martinez
910f721088 Add story to test not published list of products
Update Stories Snapshot
2020-04-14 00:25:31 -04:00
Gabriel L Martinez
7f2361c025 Add story to test list of products published 2020-04-13 23:46:40 -04:00
Gabriel L Martinez
7970102cb3 Filter column ids before send it to GridAttributes 2020-04-10 20:46:32 -04:00
Gabriel L Martinez
daecc7a128 Use isPublished property correctly in Product List 2020-04-10 20:27:15 -04:00
Gabriel L Martinez
bf4d2495a1 Reset pagination when guest change sorting 2020-04-10 09:28:12 -04:00
Gabriel L Martinez
3ee7ce5777 Pass the errors directly to NewPasswordPage component 2020-04-07 10:00:17 -04:00
Gabriel L Martinez
06e78acbf6 Adding storyshot for password too short error 2020-04-07 09:29:31 -04:00
Gabriel L Martinez
e8375d6627 Display validation errors on NewPassword page 2020-04-06 20:18:14 -04:00
Dominik Żegleń
55512b4d2c Fix case 2020-04-06 13:30:56 +02:00
dominik-zeglen
0806c7b328 Reset state after closing 2020-04-06 11:16:51 +02:00
Dominik Żegleń
680dd8baa2
Merge pull request #452 from mirumee/next/use-form-error-codes
Use translated error messages based on error codes
2020-03-27 11:40:12 +01:00
Dominik Żegleń
704c79aefc
Remove wild comment 2020-03-25 11:29:21 +01:00
dominik-zeglen
381665409f Rebase fixes 2020-03-24 15:05:26 +01:00
dominik-zeglen
7b77d8b126 Update stories 2020-03-24 13:54:35 +01:00
dominik-zeglen
881d9d70a8 Use error codes in discount section 2020-03-24 13:54:33 +01:00
dominik-zeglen
9b542e7837 Update types 2020-03-24 13:54:32 +01:00
dominik-zeglen
6ab6cf4e68 Use error codes in webhook section 2020-03-24 13:54:30 +01:00
dominik-zeglen
d92a8028cb Fix type errors 2020-03-24 13:54:29 +01:00
dominik-zeglen
1446a993a5 Update stories 2020-03-24 13:54:27 +01:00
dominik-zeglen
8f18bd75ce Use error formatting in shipping section 2020-03-24 13:54:25 +01:00
dominik-zeglen
51d1594509 Update stories 2020-03-24 13:54:23 +01:00
dominik-zeglen
e1f1a217da Use error formatting in page views 2020-03-24 13:54:22 +01:00
dominik-zeglen
b4d16517b0 Display order errors 2020-03-24 13:54:20 +01:00
dominik-zeglen
f43326b660 Update types 2020-03-24 13:54:19 +01:00
dominik-zeglen
40a6594688 Update snapshots 2020-03-24 13:54:17 +01:00
dominik-zeglen
61c3eb51fd Use error codes in navigation section 2020-03-24 13:54:16 +01:00
dominik-zeglen
5146386ee5 Update types 2020-03-24 13:54:15 +01:00
dominik-zeglen
b2987cddac Fix type errors 2020-03-24 13:54:14 +01:00
dominik-zeglen
b21b746ee3 Update stories 2020-03-24 13:54:11 +01:00
dominik-zeglen
63ff52349d Use error formatting in site settings view 2020-03-24 13:54:10 +01:00
dominik-zeglen
96c98077d8 Use error codes in account sections 2020-03-24 13:54:08 +01:00
dominik-zeglen
93ba9378ef Update types 2020-03-24 13:54:08 +01:00
dominik-zeglen
20c4340b8f Update snapshots 2020-03-24 13:54:07 +01:00
dominik-zeglen
bae3e461a7 Fix types 2020-03-24 13:54:06 +01:00
dominik-zeglen
6bacb5fb3a wip 2020-03-24 13:53:38 +01:00
dominik-zeglen
ff74c566ab Use error formatting in product section 2020-03-24 13:53:20 +01:00
dominik-zeglen
c94ec7eafa Add error state 2020-03-24 13:53:07 +01:00
dominik-zeglen
490c4c3023 Check shop errors too 2020-03-24 13:53:06 +01:00
dominik-zeglen
a95054ecb3 Add form error stories 2020-03-24 13:53:05 +01:00
dominik-zeglen
2a1abe76b6 Use translated errors in collections 2020-03-24 13:53:03 +01:00
dominik-zeglen
852bd71beb Use translated errors in categories section 2020-03-24 13:53:02 +01:00
dominik-zeglen
e21d4803d4 Fix form error 2020-03-16 10:55:16 +01:00
Dominik Żegleń
bf92214fc3
Revert "Use error formatting in product type section" 2020-03-11 10:56:04 +01:00
Dominik Żegleń
90e5b317d4
Merge pull request #434 from mirumee/form-errors/product-types
Use error formatting in product type section
2020-03-11 10:55:56 +01:00
dominik-zeglen
a8f100c6ac Update snapshots 2020-03-10 13:55:28 +01:00
dominik-zeglen
0f28c8f4f5 Use error codes in product types section 2020-03-10 12:38:01 +01:00
dominik-zeglen
2fd7893df5 Update snapshots 2020-03-05 16:09:41 +01:00
dominik-zeglen
e1a01060f3 Store errors in variable 2020-03-05 14:18:14 +01:00
dominik-zeglen
038a17caf6 Add ready to capture filter 2020-03-04 17:15:55 +01:00
dominik-zeglen
db14154c34 Use error formatting in attribute view 2020-03-04 13:50:25 +01:00
dominik-zeglen
5678719e7a Update snapshots 2020-03-03 14:33:39 +01:00
dominik-zeglen
092284f5df Update messages 2020-03-03 14:33:38 +01:00
dominik-zeglen
ec465ea797 Add missing event 2020-03-03 14:33:36 +01:00
dominik-zeglen
4c27d69229 Fix form errors 2020-03-03 14:33:35 +01:00
dominik-zeglen
8b0bf50ed4 Remove unused code 2020-03-02 11:20:47 +01:00
dominik-zeglen
a1353d20b3 Remove story 2020-03-02 11:20:46 +01:00
dominik-zeglen
1a843e59bd Fix types 2020-03-02 11:20:45 +01:00
dominik-zeglen
c9cf31851e Display error message if invalid content is passed 2020-03-02 11:20:45 +01:00
Dominik Żegleń
fd73e69870
Merge pull request #414 from krzysztofwolski/fix-typo
Typo `successful`
2020-03-02 11:09:22 +01:00
Krzysztof Wolski
6e230e72b2 Typo 2020-02-25 16:19:51 +01:00
Marcin Gębala
16291446a0
Merge pull request #410 from mirumee/ref/do-not-format-errors-in-forms
Do not store errors in form component
2020-02-25 15:54:27 +01:00
Krzysztof Wolski
c508f11a4c Typo 2020-02-25 15:42:07 +01:00
dominik-zeglen
c4863ece60 Do not store errors in form component 2020-02-24 15:14:48 +01:00
dominik-zeglen
fa8231992f Explicitely return not found page 2020-02-20 15:18:22 +01:00
Marcin Gębala
70c679c335
Merge pull request #403 from mirumee/ref/use-icu
Use structurized JSON files instead of PO
2020-02-14 13:50:01 +01:00
Marcin Gębala
205db73fa6
Merge pull request #401 from mirumee/fix/invalid-jwt
Handle invalid token error
2020-02-14 13:49:26 +01:00
dominik-zeglen
537f4a80d5 Simplify code 2020-02-13 16:32:55 +01:00
dominik-zeglen
5c98d870a9 Do not share configs 2020-02-13 12:58:45 +01:00
dominik-zeglen
e20ff94910 Use json files in translations 2020-02-13 12:54:23 +01:00
dominik-zeglen
c4c0f22cec Fix ICU plurals 2020-02-13 12:54:05 +01:00
Marcin Gębala
24cfd20205
Merge branch 'master' into add/order-filter-fields 2020-02-12 14:06:52 +01:00
Marcin Gębala
9a42438ee0
Merge branch 'master' into fix/column-picker 2020-02-12 13:55:38 +01:00