Commit graph

1123 commits

Author SHA1 Message Date
Dawid Tarasiuk
75586aae9f Fix double update order addresses and unclosed dialog 2020-09-08 15:52:25 +02:00
AlicjaSzu
fd6c77adf7 update schema and types 2020-09-07 12:48:19 +02:00
dominik-zeglen
ce6d9d835a Fix en locale, symlinks and use async await 2020-09-04 16:08:24 +02:00
Dominik Żegleń
8e0740372a
Merge pull request #692 from eaglesemanation/fix/lazyload-locales
Fix/lazyload locales
2020-09-04 16:07:26 +02:00
dominik-zeglen
1e1bb03b4e Update fixtures 2020-09-04 13:06:03 +02:00
dominik-zeglen
488a2a02ff Update snapshots 2020-09-04 13:06:02 +02:00
dominik-zeglen
453410b43d Add metadata editor to order view 2020-09-04 13:06:00 +02:00
Dominik Żegleń
591f2eced3
Merge pull request #690 from mirumee/ref/savebar
Update savebar design
2020-09-04 13:05:10 +02:00
Vladimir Romashchenko
54577a1a30
Made locales load lazily. 2020-09-03 22:40:28 -04:00
dominik-zeglen
de309be807 Update background volor 2020-09-03 19:06:47 +02:00
dominik-zeglen
203c5ba696 Update savebar design 2020-09-03 19:01:32 +02:00
AlicjaSzu
7d5d3698e8 update snapshots 2020-09-03 16:19:47 +02:00
AlicjaSzu
092655c16e fix availability date logic 2020-09-03 16:14:23 +02:00
AlicjaSzu
a6db73f189 fix typo in AvailabilityCard 2020-09-03 16:10:15 +02:00
AlicjaSzu
eba4ba2edf
update VisibilityCard component (#679)
* update VisibilityCard component

* add visibleInListings in Product

* update mutations and types with visibleInListings

* update ProductExportDialogInfo with availableForPurchase

* update defaultMessages

* update useDateLocalize hook

* update cypress tests

* update orders with availability info

* revert cypress changes

* update changelog

* update product update handlers

* fix VisibilityCard styles

* create AvailabilityCard component

* update defaultMessages

* update snapshots and messages

* fix ProductCreatePage form data types

* update defaultMessages
2020-09-03 12:25:16 +02:00
Dominik Żegleń
dda68cf6cd
Merge pull request #686 from mirumee/fix/attribute-crash
Fix crashing attribute value creation
2020-09-03 11:29:39 +02:00
Dominik Żegleń
bba1840b92
Merge branch 'master' into metadata/create-views 2020-09-02 17:41:54 +02:00
dominik-zeglen
5ef0da5b1e Simpify logic 2020-09-02 12:12:32 +02:00
dominik-zeglen
0f3b061f18 Add payment authorized event 2020-09-02 11:57:48 +02:00
dominik-zeglen
d720389ba7 Update order history information 2020-09-02 11:43:33 +02:00
dominik-zeglen
a6ce67b6c9 Fix crashing attribute value creation 2020-09-02 11:42:22 +02:00
dominik-zeglen
6181b1139c Update snapshots 2020-09-01 17:31:13 +02:00
dominik-zeglen
cb4e2fd050 Add metadata editor to variant creator 2020-09-01 17:14:49 +02:00
dominik-zeglen
ca78ecc19f Add metadata editor to attribute creator 2020-09-01 17:14:48 +02:00
dominik-zeglen
4391e79a90 Add metadata editor to product type creator 2020-09-01 17:14:47 +02:00
dominik-zeglen
e268ddd3d2 Simpliify code 2020-09-01 17:14:46 +02:00
dominik-zeglen
2353e54ab2 Add metadata editor to collection creator 2020-09-01 17:14:45 +02:00
dominik-zeglen
5737e5f64d Add metadata editor to category creator 2020-09-01 17:14:44 +02:00
dominik-zeglen
dde82e0756 Add metadata editor to product creator 2020-09-01 17:14:43 +02:00
dominik-zeglen
7bb5ca231b Update changelog and snapshots 2020-09-01 17:14:42 +02:00
dominik-zeglen
0abf151073 Update snapshots 2020-09-01 17:13:50 +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 Żegleń
265c8bc0ca
Merge pull request #664 from mirumee/add/data-test-filters
Add test ids to filters
2020-08-27 16:56:00 +02:00
dominik-zeglen
dddfa135a5 Add apps and permission groups to navigator 2020-08-26 11:47:00 +02:00
Dominik Żegleń
03f03d436b
Merge pull request #667 from mirumee/ref/product-update-hooks
Use hooks instead of containers with render props in product mutations
2020-08-25 13:13:15 +02:00
dominik-zeglen
82aa6ea942 Use optional chaining 2020-08-25 11:42:14 +02:00
Krzysztof Wolski
4166bff0a9 All items in menu will have test context 2020-08-25 09:54:24 +02:00
Krzysztof Wolski
44b3b66ff3 Add static test id to the menu items 2020-08-25 09:27:02 +02:00
dominik-zeglen
affb8e031b Use pascal case 2020-08-24 16:23:45 +02:00
dominik-zeglen
ce2624bb9f Use query hooks in category details view 2020-08-24 12:35:10 +02:00
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 Żegleń
8f66954590
Merge pull request #660 from mirumee/fix/plugin-view
Fix minor bugs in plugin details view
2020-08-21 15:39:01 +02:00
dominik-zeglen
5e73440e4f Add test ids to filters 2020-08-21 13:03:14 +02:00
Dominik Żegleń
1badb8a1e2
Merge branch 'master' into fix/navigator-button 2020-08-20 16:39:51 +02:00
Krzysztof Wolski
6f3c8647f0
Merge branch 'master' into fix/unassign_user 2020-08-20 14:13:48 +02:00
Dominik Żegleń
5926f03731
Merge pull request #658 from mirumee/fix/product-filters
Fix attribute filters
2020-08-20 13:45:49 +02:00
Dominik Żegleń
ea40c8dff1
Merge pull request #657 from mirumee/fix/no-permissions-err
Fix Value PermissionDenied not found in enum
2020-08-20 13:45:16 +02:00
dominik-zeglen
48e9fe1366 Fix minor bugs in plugin details view 2020-08-19 13:35:35 +02:00
dominik-zeglen
988fd07cf1 Fix user avatar if no image has been set 2020-08-19 11:00:10 +02:00
dominik-zeglen
daf5c4d6fb Fix storage filter key 2020-08-19 10:59:57 +02:00
dominik-zeglen
7849ebf3f9 Fix Value PermissionDenied not found in enum 2020-08-18 17:20:06 +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
ff41fb4845 Update snapshots 2020-08-18 16:10:19 +02:00
dominik-zeglen
09fd02ddec Update checkboxes to newest design 2020-08-18 16:10:15 +02:00
dominik-zeglen
88168cb157 wip 2020-08-18 16:10:14 +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
70bb077840 Fix rendering on safari browser 2020-08-18 11:38:34 +02:00
dominik-zeglen
091e54e1d0 Fix deleting just one variant 2020-08-17 17:23:56 +02:00
dominik-zeglen
ccee92a8d0 Fix incorrect messages 2020-08-13 16:44:05 +02:00
dominik-zeglen
235eb5a777 Reset modal state after closing 2020-08-13 13:28:57 +02:00
dominik-zeglen
6d5866a81b Fix avatars in permission group member liistt 2020-08-12 14:54:19 +02:00
dominik-zeglen
b9d4129a07 Update types 2020-08-12 14:54:17 +02:00
dominik-zeglen
b45e52dcfd Center user initials and user proper thumbnail sizes 2020-08-12 14:54:16 +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 Żegleń
9a86c6beb5
Merge pull request #635 from mirumee/add/navigator-btn
Add navigator button
2020-08-11 15:35:23 +02:00
Vladimir Romashchenko
3451d58879
Changed MemberErrorDialog variant to "info" 2020-08-11 04:10:32 -04:00
Vladimir Romashchenko
d0422323ba
Added "info" variant for Action Dialog
Info messages should not require any kind of confirmation, so I added
option to disable ConfirmButton by providing "info" as a variant
2020-08-11 04:04:16 -04:00
dominik-zeglen
dbbe2d7287 Update snapshots, messages and changelog 2020-08-10 15:12:21 +02:00
dominik-zeglen
154899704d Add navigator button 2020-08-10 14:43:24 +02:00
dominik-zeglen
3816ebb0a5 Add navigator button 2020-08-08 14:59:09 +02:00
Krzysztof Wolski
fdb8d1e272
Handle situation when email is removed from user (#631) 2020-08-07 17:15:18 +02:00
dominik-zeglen
2bfe1226d5 Update snapshots 2020-07-30 14:28:44 +02:00
dominik-zeglen
8c68903fad Add submit on blur 2020-07-30 14:28:41 +02:00
dominik-zeglen
3ce99ff326 Fix label 2020-07-30 14:28:41 +02:00
dominik-zeglen
3dafeab52b Fix shipping create minimal price bug 2020-07-30 14:28:40 +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
4ffbcd069d Do not match requests by url and headers 2020-07-29 15:10:39 +02:00
dominik-zeglen
dd6f261f78 Remove duplicated functtion 2020-07-27 12:23:49 +02:00
dominik-zeglen
377147f5a1 Apply review changes 2020-07-27 12:23:48 +02:00
dominik-zeglen
d23202bf00 Handle token refreshing 2020-07-27 12:23:47 +02:00
dominik-zeglen
765953c9a8 Sort keys 2020-07-27 12:23:46 +02:00
dominik-zeglen
2823dee161 Fix logging out if token has expired 2020-07-27 12:23:45 +02:00
dominik-zeglen
987315edb2 Fix endless loading screen 2020-07-27 12:23:44 +02:00
Dominik Żegleń
7be748eed7 Apply suggestions from code review
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-07-27 12:23:43 +02:00
dominik-zeglen
41e60b6418 Add tests to auth 2020-07-27 12:23:42 +02:00
dominik-zeglen
b5029deca0 wip 2020-07-27 12:21:25 +02:00
dominik-zeglen
24f4aecd97 Separate hook from component 2020-07-27 12:17:41 +02:00
dominik-zeglen
816e21e4b7 Fail if user errors 2020-07-27 12:17:41 +02:00
dominik-zeglen
4de1a6682c Fix logout 2020-07-27 12:17:39 +02:00
Dawid Tarasiuk
d203a26bde Update auth provider 2020-07-27 12:17:39 +02:00
Dawid Tarasiuk
dd4022dcd7 use Apollo useMutation instead of custom hook 2020-07-27 12:17:38 +02:00
Dawid Tarasiuk
9b97e3279b Use useAuth hook 2020-07-27 12:17:37 +02:00
Dawid Tarasiuk
03a2fff2a5 Refactor AuthProvider 2020-07-27 12:16:14 +02:00
Dawid Tarasiuk
b633e2f470 Create mutation hooks for auth provider 2020-07-27 12:16:13 +02:00