Commit graph

288 commits

Author SHA1 Message Date
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-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
09fd02ddec Update checkboxes to newest design 2020-08-18 16:10:15 +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
091e54e1d0 Fix deleting just one variant 2020-08-17 17:23:56 +02:00
dominik-zeglen
235eb5a777 Reset modal state after closing 2020-08-13 13:28:57 +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-zeglen
3ce99ff326 Fix label 2020-07-30 14:28:41 +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
c09fc4ce00 Apply fixes from 2.10.1 2020-07-16 13:48:00 +02:00
dominik-zeglen
eddec1a5c2 Move fragments to avoid circular imports 2020-07-07 12:14:12 +02:00
AlicjaSzu
1887769055 add status to notifications 2020-07-06 10:46:14 +02:00
Krzysztof Wolski
f4d570c7e5
Fix warnings and better test tag (#582)
* Resolve test warnings

* Tename data-tc to data-test

* Update src/orders/components/OrderFulfillPage/OrderFulfillPage.tsx
2020-07-02 12:59:09 +02:00
Dawid Tarasiuk
9e66d99dca Use productRangeUndiscounted instead of calculating variant prices range 2020-06-18 17:01:36 +02:00
Dawid Tarasiuk
a29ac065a3 Update locale default messages 2020-06-18 11:37:55 +02:00
Dawid Tarasiuk
055d3e63dd Fix optional chaining 2020-06-17 18:14:50 +02:00
Dawid Tarasiuk
79b49ea406 Update product list style 2020-06-17 14:11:31 +02:00
Dawid Tarasiuk
e450dd4c4d Update product type in product list 2020-06-17 12:28:15 +02:00
Dawid Tarasiuk
3f2a75e159 Replace maybe with optional chaining 2020-06-17 12:03:06 +02:00
Dawid Tarasiuk
0f5a49ab48 Update getProductPriceRange 2020-06-17 11:37:11 +02:00
Dawid Tarasiuk
576c7e1b35 Update queries types 2020-06-17 10:33:57 +02:00
Dawid Tarasiuk
eaa85bc795 Update product variant creator 2020-06-16 15:16:08 +02:00
Dawid Tarasiuk
cdfac6de6b Update product update page 2020-06-16 14:57:22 +02:00
Dawid Tarasiuk
2fdda2db55 Update product list UI 2020-06-16 12:48:57 +02:00
Dawid Tarasiuk
1e93827deb Update product list tests 2020-06-12 16:44:35 +02:00
Dawid Tarasiuk
b001c74af2 Display variant price range in product list 2020-06-12 14:39:51 +02:00
Dawid Tarasiuk
43aeff8e68 Update product variant creator 2020-06-12 13:19:44 +02:00
Dawid Tarasiuk
0a32479327 Update product queries 2020-06-12 12:42:19 +02:00
Dawid Tarasiuk
696250feca Removed Pricing card for configurable products 2020-06-12 12:35:38 +02:00
Dawid Tarasiuk
8fa7eb2b8a Revert "Remove base price from product create page"
This reverts commit 0b099e882c.
2020-06-12 12:17:17 +02:00
Dawid Tarasiuk
65e5539173 Remove basePrice from schema 2020-06-10 15:39:10 +02:00
Dawid Tarasiuk
0b099e882c Remove base price from product create page 2020-06-08 13:52:20 +02:00
Krzysztof Wolski
a82de30309
Add circleci config and enhance our linters (#519)
* Add circleci config

* Season linting config

* Apply code style
2020-05-14 11:30:32 +02:00
dominik-zeglen
6af08af910 Update product stock management to newest design 2020-05-04 18:06:36 +02:00
dominik-zeglen
58d4df74ef Update fixtures 2020-04-29 19:10:04 +02:00
dominik-zeglen
e84aefab9a Use quantity allocated to get available variants 2020-04-29 18:51:19 +02:00
dominik-zeglen
89bae127d2 Update translations 2020-04-29 17:11:02 +02:00
dominik-zeglen
ce38bb8352 Update messages 2020-04-29 03:47:07 +02:00
dominik-zeglen
1b3e304c79 Enable submitting in variant creator 2020-04-28 16:37:39 +02:00
dominik-zeglen
bcc4f96f82 Enable assigning multiple warehouses to zone 2020-04-28 16:37:21 +02:00
dominik-zeglen
94dad3e4d7 Improve single warehouse UX 2020-04-28 16:37:19 +02:00
dominik-zeglen
60ed62ecd0 Fix types 2020-04-28 16:37:19 +02:00
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
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