Commit graph

28 commits

Author SHA1 Message Date
Dawid Tarasiuk
6065c5ded6 Add no warehouses info in variant and product details 2020-09-28 14:43:36 +02:00
Tomasz Szymański
4cecf238d6
Allow product variant to be set as default (#721)
* Add drag-and-drop to allow variants reordering

* Handle variants reordering

* Allow product variant to be set as default

* Display default variant and perform refresing after set

* Move ProductVariantSetDefault to separate component

* Changes to new schema


Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2020-09-25 14:33:01 +02:00
Dawid Tarasiuk
ffaf56a51b Handle variants reordering 2020-09-21 10:33:25 +02:00
Dawid Tarasiuk
88b8950408 Add drag-and-drop to allow variants reordering 2020-09-21 10:33:24 +02:00
Dominik Żegleń
7770ae34df
Add metadata (#670)
* Add metadata editor component

* Add tests

* Fix plurals

* Use pascal case in selectors

* Update product metadata

* Add metadata handler decorator

* Update snapshots

* wip

* Remove operation provider component

* Add metadata to collections

* Add metadata editor to variant

* Add metadata editor to categories

* Add metadata to product types

* Simplify code

* Add metadata to attributes

* Drop maybe

* Rename Metadata to MetadataFragment

* Update changelog and snapshots
2020-08-28 14:45:11 +02:00
dominik-zeglen
82aa6ea942 Use optional chaining 2020-08-25 11:42:14 +02:00
dominik-zeglen
419525f493 Use query hooks in product variant view 2020-08-24 12:29:54 +02:00
dominik-zeglen
c09fc4ce00 Apply fixes from 2.10.1 2020-07-16 13:48:00 +02:00
AlicjaSzu
1887769055 add status to notifications 2020-07-06 10:46:14 +02:00
Dawid Tarasiuk
43aeff8e68 Update product variant creator 2020-06-12 13:19:44 +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
8b5b3c81d5 Fix type errors 2020-04-28 16:33:25 +02:00
dominik-zeglen
0eb7750321 Add variant stock management 2020-04-28 16:33:23 +02:00
dominik-zeglen
bae3e461a7 Fix types 2020-03-24 13:54:06 +01:00
dominik-zeglen
fa8231992f Explicitely return not found page 2020-02-20 15:18:22 +01:00
dominik-zeglen
f2e083dfa0 Fix variant stock input 2020-01-20 13:42:45 +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
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
33e956ea57 Use FC instead of deprecated StatelessComponent 2019-11-07 12:34:54 +01:00
dominik-zeglen
4d27960d79 Fix attribute errors 2019-10-21 16:52:54 +02:00
Dominik Żegleń
63e4f9bd34 Refactor product section translations (#125) 2019-08-29 14:42:16 +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
5d959e6d6e Initial commit 2019-06-19 16:40:52 +02:00