Commit graph

532 commits

Author SHA1 Message Date
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
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
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
220f77c20a Update types 2020-04-28 16:33:17 +02:00
dominik-zeglen
2272f038a5 Move label creation logic to util function 2020-04-28 16:33:13 +02:00
dominik-zeglen
369be96850 Fix types 2020-04-28 16:33:11 +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
92d16effb3 Add inventory status to variant list 2020-04-28 16:30:03 +02:00
dominik-zeglen
414f6d7a3d Add warehouse list view 2020-04-28 16:28:33 +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
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
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
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
4c27d69229 Fix form errors 2020-03-03 14:33:35 +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
dominik-zeglen
c4c0f22cec Fix ICU plurals 2020-02-13 12:54:05 +01:00
Marcin Gębala
59751313b8
Merge branch 'master' into fix/publish-error-indicator 2020-02-12 13:45:51 +01:00
dominik-zeglen
35d433f7ca Improve form error handling 2020-01-31 14:48:39 +01:00
dominik-zeglen
d677919b76 Fix crash when one product is selected 2020-01-31 14:21:34 +01:00
dominik-zeglen
13db408919 Fix collection filtering 2020-01-20 16:47:52 +01:00
dominik-zeglen
bd0593b1f6 Fix minor bugs 2020-01-20 16:47:51 +01:00
dominik-zeglen
5f3024d0b4 Update snapshots 2020-01-20 16:47:49 +01:00
dominik-zeglen
5ca01db4eb Fix types 2020-01-20 16:47:48 +01:00
dominik-zeglen
8ddf66f134 Add attribute filter 2020-01-20 16:47:46 +01:00
dominik-zeglen
5dcc8c76e3 Fix types 2020-01-20 16:47:34 +01:00
dominik-zeglen
3bdd0dab6f Add product type filter 2020-01-20 16:47:30 +01:00
dominik-zeglen
aeb209744a Add category and collection filter 2020-01-20 16:47:18 +01:00
dominik-zeglen
943232acb3 Add query param getters 2020-01-20 16:46:58 +01:00
dominik-zeglen
8361ef0917 Remove unused import 2020-01-20 16:46:57 +01:00
dominik-zeglen
83e1f62da4 Add filter tests 2020-01-20 16:46:56 +01:00
dominik-zeglen
15849ff2af Separate visual and app layer in products 2020-01-20 16:46:10 +01:00
dominik-zeglen
be649e32ea Use generic handlers 2020-01-20 16:46:03 +01:00
dominik-zeglen
d3bd6a6c22 Simplify code 2020-01-20 16:45:46 +01:00
dominik-zeglen
e49e685c09 Update snapshots 2020-01-20 16:45:44 +01:00
dominik-zeglen
bfd754b9b2 Simplify code 2020-01-20 16:45:16 +01:00
dominik-zeglen
9e00800956 Fix filter toggling 2020-01-20 16:45:14 +01:00
dominik-zeglen
1f3cbfda82 Code cleanup 2020-01-20 16:45:10 +01:00
dominik-zeglen
32cdb56e6f Make order filters work 2020-01-20 16:45:08 +01:00
dominik-zeglen
aafa6b62dc Refactor filter components 2020-01-20 16:45:07 +01:00
Marcin Gębala
3fbaaf0783
Merge pull request #377 from mirumee/fix/variant-stock
Fix variant stock input
2020-01-20 15:55:36 +01:00
dominik-zeglen
f2e083dfa0 Fix variant stock input 2020-01-20 13:42:45 +01:00
dominik-zeglen
4b218dc9d8 Update schema 2020-01-17 16:17:14 +01:00
dominik-zeglen
c53d0fadd1 Stop using deprecated fields 2020-01-09 12:13:24 +01:00
dominik-zeglen
5ff1521b26 Unify dialog handling 2019-12-18 13:20:59 +01:00
dominik-zeglen
9c688d3aef Add sorting to lists 2019-12-18 11:22:02 +01:00
dominik-zeglen
bf0bad5a5e Rename state to status prop 2019-12-06 18:17:44 +01:00
dominik-zeglen
6b62f5cc40 Do not use getMutationState explicitly 2019-12-06 18:11:46 +01:00
dominik-zeglen
96176924f9 Add missing style names 2019-12-03 16:28:40 +01:00
Marcin Gębala
fee6686734
Merge branch 'master' into ref/use-eslint 2019-12-03 13:49:00 +01:00
Tomasz Szymański
3f7be053a6
Added useEffect so error fix will work when browser history changes 2019-12-03 13:26:07 +01:00
Tomasz Szymański
2660fe40dd
Fixed error cleanup when switching product variants 2019-12-03 10:17:01 +01:00
dominik-zeglen
421da92cb3 Use eslint instead of tslint 2019-12-02 16:33:58 +01:00
dominik-zeglen
b77962f53a Use default export 2019-11-29 11:21:36 +01:00
dominik-zeglen
a2f7cdd6b2 Add multiple image upload 2019-11-28 16:27:11 +01:00
dominik-zeglen
3665daf0fc Fix types 2019-11-27 11:00:36 +01:00
dominik-zeglen
44ba4c5fd5 Fix import paths 2019-11-21 15:59:41 +01:00
dominik-zeglen
13a8d398d2 Use product type search hook 2019-11-21 15:59:37 +01:00
dominik-zeglen
3f28673c94 Use collection search hook 2019-11-21 15:59:34 +01:00
dominik-zeglen
e67727af03 Use category search hook 2019-11-21 15:59:33 +01:00
Krzysztof Bialoglowicz
9911f2b278 Use responsive table component 2019-11-19 13:41:36 +01:00
dominik-zeglen
ccd5be1322 Fix disappearing products description 2019-11-19 12:30:07 +01:00
dominik-zeglen
afec633272 Fix shadowing labels 2019-11-14 15:40:02 +01:00
dominik-zeglen
56a5586b15 Fix product bulk actions 2019-11-07 14:42:06 +01:00
dominik-zeglen
4b574c5d6c Fix messages 2019-11-07 14:40:28 +01:00
dominik-zeglen
74d6794679 Update @material-ui to v4 2019-11-07 14:29:07 +01:00
dominik-zeglen
d84ba84e91 Update @material-ui 2019-11-07 14:22:40 +01:00
dominik-zeglen
33e956ea57 Use FC instead of deprecated StatelessComponent 2019-11-07 12:34:54 +01:00
Marcin Gębala
7ff92b6afb
Merge branch 'master' into fix/attributes 2019-10-23 10:39:26 +02:00
Marcin Gębala
3b6044d865
Merge pull request #224 from mirumee/fix/copy
Use back instead of cancel
2019-10-22 10:11:32 +02:00
dominik-zeglen
4d27960d79 Fix attribute errors 2019-10-21 16:52:54 +02:00
dominik-zeglen
3732a7ba68 Use back instead of cancel 2019-10-21 16:46:12 +02:00
dominik-zeglen
88df8f0136 Use replace instead of push 2019-10-21 15:58:50 +02:00
dominik-zeglen
f9dd50e297 Fix types 2019-10-21 13:11:52 +02:00
dominik-zeglen
04b22ab878 Fix empty attribute values 2019-10-18 13:19:43 +02:00
dominik-zeglen
1f3d3be072 Fix types 2019-10-16 17:52:50 +02:00
dominik-zeglen
035271adf0 Use selects with loadMore option 2019-10-16 17:52:49 +02:00
dominik-zeglen
d295804778 Refactor searches 2019-10-16 17:52:21 +02:00
dominik-zeglen
7ce4008c47 Fix types 2019-10-15 17:52:15 +02:00
dominik-zeglen
da58dabeb6 Add right padding 2019-10-09 13:31:45 +02:00
dominik-zeglen
8a2f240719 Reset form state after closing it 2019-10-09 12:52:51 +02:00
dominik-zeglen
b75ceed7cc Add attribute values to matrix 2019-10-09 12:45:27 +02:00
dominik-zeglen
12aed6457e Fix story 2019-10-09 12:26:42 +02:00
dominik-zeglen
0318074806 Fix types 2019-10-09 12:26:42 +02:00
dominik-zeglen
03374fb00b Minor fixes 2019-10-09 12:24:54 +02:00
dominik-zeglen
a770c464c7 Remove unused value 2019-10-09 12:24:54 +02:00
dominik-zeglen
a1e270ff6b Fix bug after taking step back 2019-10-09 12:24:54 +02:00
dominik-zeglen
be674522e1 Shorten inputs 2019-10-09 12:24:54 +02:00
dominik-zeglen
8e9e412865 Fix ripple clipping 2019-10-09 12:24:54 +02:00
dominik-zeglen
542bda9c47 Fix checkbox selection 2019-10-09 12:24:54 +02:00
dominik-zeglen
13458a929b Fix tests 2019-10-09 12:24:54 +02:00
dominik-zeglen
3bb73bbbe5 Update tests 2019-10-09 12:23:39 +02:00
dominik-zeglen
36396c9d3e Remove attribute selection 2019-10-09 12:23:39 +02:00
dominik-zeglen
0148bc4527 Fix build warnings 2019-10-09 12:23:39 +02:00
dominik-zeglen
9b9a6648cd Allow variant deleting 2019-10-09 12:23:39 +02:00
dominik-zeglen
7bb26784e6 Add error handling 2019-10-09 12:23:39 +02:00
dominik-zeglen
6190c4ff45 Update snapshots 2019-10-09 12:19:06 +02:00
dominik-zeglen
52f458e739 Add ability to modify sku 2019-10-09 12:19:06 +02:00
dominik-zeglen
cc1a42c5ef Update snapshots 2019-10-09 12:19:06 +02:00
dominik-zeglen
41cc4b0cf8 Darken colors a bit 2019-10-09 12:19:06 +02:00
dominik-zeglen
fcfdd432b4 Make it work 2019-10-09 12:19:06 +02:00
dominik-zeglen
4d9171faa4 Visual fixes 2019-10-09 12:19:06 +02:00
dominik-zeglen
038d6e5580 Add value coloring 2019-10-09 12:19:06 +02:00
dominik-zeglen
ddb2bc1bd4 Fill cell with input 2019-10-09 12:19:06 +02:00
dominik-zeglen
2879a80d0d Add variant matrix generation 2019-10-09 12:19:06 +02:00
dominik-zeglen
742523bac7 Fix variant create query 2019-10-09 12:19:06 +02:00
dominik-zeglen
5a40f619e1 Add variant creator wip 2019-10-09 12:19:06 +02:00
dominik-zeglen
d19a07f319 Hide variants and attributes if none 2019-09-30 17:27:01 +02:00
Marcin Gębala
7b0b99fbcd
Merge pull request #189 from mirumee/fix/product-type-search
Fix product type selection
2019-09-30 14:41:04 +02:00
Marcin Gębala
9b3c25d74a
Merge branch 'master' into add/attribute-sort 2019-09-30 14:33:35 +02:00
dominik-zeglen
62cf5b80de Fix types 2019-09-30 14:04:18 +02:00
dominik-zeglen
bba9aea6ac Fix product type selection 2019-09-30 12:55:22 +02:00
dominik-zeglen
d923d2d483 Fix testcafe tags 2019-09-27 15:27:04 +02:00
dominik-zeglen
b9962f80da Sort imports 2019-09-27 13:34:06 +02:00
dominik-zeglen
2b6b0f888d Add tc tags 2019-09-27 12:25:39 +02:00
dominik-zeglen
1eca4dd050 Allow sorting products by attribute 2019-09-26 12:14:07 +02:00
dominik-zeglen
cd6940ae4d Remove unused import 2019-09-16 17:45:25 +02:00
dominik-zeglen
c231de44b5 Code cleanup 2019-09-16 17:11:07 +02:00
dominik-zeglen
0311790550 Merge page and querystring abstraction 2019-09-16 17:11:07 +02:00
dominik-zeglen
9570aebc5f Sort imports 2019-09-16 17:11:07 +02:00
dominik-zeglen
87fca41f07 Add sorting ability to product list 2019-09-16 17:11:07 +02:00
dominik-zeglen
f64e8537c2 Fix type errors 2019-09-16 16:45:52 +02:00
dominik-zeglen
b842e85759 Fix type errors 2019-09-16 15:47:12 +02:00
dominik-zeglen
544d13754a Split filters, searches and tabs 2019-09-16 15:47:12 +02:00
Krzysztof Bialoglowicz
fdcf2ce872 Separate visibility Card messages context 2019-09-16 03:36:04 +02:00
Krzysztof Bialoglowicz
6d0aacd7ce Fix visibility card component 2019-09-16 03:00:38 +02:00
Krzysztof Bialoglowicz
78132229af Fix types 2019-09-12 12:43:35 +02:00
Krzysztof Bialoglowicz
2e488f9436 Fix issues 2019-09-12 12:38:23 +02:00
Krzysztof Bialoglowicz
aaede4b586 Fix types and small isssues 2019-09-12 10:46:46 +02:00
Krzysztof Bialoglowicz
4cc48250b2 Fix small issues 2019-09-11 16:25:27 +02:00
Krzysztof Białogłowicz
9879990fcc
Merge branch 'master' into ui-improvements 2019-09-11 12:48:34 +02:00
Krzysztof Bialoglowicz
258e6ad2a7 Remove Add icon from buttons 2019-09-10 14:11:47 +02:00
dominik-zeglen
3917e13613 Refacto filters to handle multiple values 2019-09-10 12:59:39 +02:00
Krzysztof Bialoglowicz
c5bc5cf579 Fix visibility card 2019-09-09 16:07:09 +02:00
Krzysztof Bialoglowicz
a709ab8830 Fix add/create/assing buttons naming 2019-09-05 15:33:50 +02:00
Krzysztof Bialoglowicz
048f55b0d6 Replace remove with delete in copy 2019-09-05 12:44:10 +02:00
Krzysztof Bialoglowicz
f5fb676966 Hide product variant hint when variants added 2019-09-05 12:25:39 +02:00
Krzysztof Bialoglowicz
6277ad4a83 Fix name field width 2019-09-05 12:24:41 +02:00
dominik-zeglen
585cd25332 Fix table cell padding 2019-09-02 12:46:30 +02:00
dominik-zeglen
609c99ace2 Update snapshots 2019-09-02 11:53:13 +02:00
dominik-zeglen
85cd2e875e Add attributes as columns in product list view 2019-09-02 11:50:06 +02:00
dominik-zeglen
bc2c6a9c71 wip 2019-09-02 11:50:05 +02:00
dominik-zeglen
faaaea773a Clean any trace of i18next 2019-08-29 14:43:00 +02:00
dominik-zeglen
cb16d68060 Fix snapshot testing 2019-08-29 14:42:59 +02:00
Dominik Żegleń
63e4f9bd34 Refactor product section translations (#125) 2019-08-29 14:42:16 +02:00
dominik-zeglen
6eb3e6d2dd Add tc tags for e2e tests 2019-08-27 15:29:00 +02:00
dominik-zeglen
f427edf550 Fix types 2019-08-09 15:13:50 +02:00
dominik-zeglen
24cd398146 Sort imports 2019-08-09 13:55:45 +02:00
dominik-zeglen
bd211a6720 Update from saleor/master 2019-08-09 13:14:35 +02:00
dominik-zeglen
0c53e9883a Do not use asterisk imports 2019-08-09 12:26:22 +02:00
dominik-zeglen
a2dd1a1404 Add missing files 2019-08-09 12:17:04 +02:00
dominik-zeglen
5d959e6d6e Initial commit 2019-06-19 16:40:52 +02:00