Commit graph

1123 commits

Author SHA1 Message Date
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
AlicjaSzu
211b0b892d
Apps (#599)
* create Apps view

* create more app components, generate types and messages

* apps refactor, update snapshots

* show error message in tooltip  when app installation fail

* update apps components and view, add apps list to storybook

* update defaultMessages

* create app details view

* update AppListPage with Skeleton component

* create app activate/deactivate dialogs, create app details stories

* add AppHeader to AppDetailsPage

* update defaultMessages

* update AppDetails view and components after review

* create custom app details view

* refactor webhooks

* update webhooks fixtures

* update WebhookDetailsPage story

* update strings

* create CustomAppCreate view and components

* update AppListPage story

* create AppInstall view and page

* handle errors in AppInstall view

* update defaultMessages

* add AppInstallPage to storybook

* add status prop to MessageManager

* update defaultMessages

* remove service account section

* remove service account routes

* remove as operator from notify status

* add notifications for app installations

* update styles for deactivated app

* update app installations with local storage

* update defaultMessages

* AppInstall update

* dd delete button to ongoin installations table

* fix active installations condition

* fix error messages in AppsList

* update defaultMessages

* add iframe to AppDetailsPage

* create AppDetailsSettingsPage

* install macaw-ui

* apps styles clean up

* update schema, fixtures

* few apps updates

* WebhookCreate - fix onBack button name

* WebhookCreatePage story update

* rename apps table from external to thirdparty

* update defaultMessages

* fix test, update snapshots

* AppDetailsSettings - add token to headers

* fix first number in local apps query

* app details settings - use shop domain host

* add onSettingsRowClick to InstalledApps

* resolve conflicts

* update changelog and messages

* add noopener noreferrer do app privacy link

* update snapshots

* update snapshots

* updates after review

* update defaultMessages

* CustomAppDetails - add missing notify status
2020-07-22 12:54:15 +02:00
Dominik Żegleń
df85de6779
Merge pull request #619 from mirumee/feature/order_event_updated
Order updated history event
2020-07-22 12:02:27 +02:00
Krzysztof Wolski
c778c200ed
Move from test cafe to Cypress (#584)
* Typo

* Add cypress config

* Login and logout tests

* Typo

* Add basic test for warehouse

* Wrong password test

* Fixes and docs

* Remove testcafe

* Add gh action

* Update changelog

* Fix typo

* Update msgs

* Work on GH action

* Record artifacts

* Fix warehouse test
2020-07-20 11:42:44 +02:00
Tomasz Szymanski
79144e6fe4 Order updated history event 2020-07-17 10:10:01 +02:00
dominik-zeglen
fe08829360 Update fixtures 2020-07-16 14:26:09 +02:00
dominik-zeglen
c6f36de80d Fix rebase errors 2020-07-16 13:48:02 +02:00
dominik-zeglen
c09fc4ce00 Apply fixes from 2.10.1 2020-07-16 13:48:00 +02:00
Tomasz Szymański
97938a6018
Order history events for invoicing (#610)
* Order history events for invoicing

* Added missing translations
2020-07-15 19:19:50 +02:00
Carl-Philip Majgaard
71ca341538
Clears all filters on filter reset 2020-07-14 15:57:52 -04:00
dominik-zeglen
ff7a6ef581 Fix weight based rate update 2020-07-13 16:44:59 +02:00
dominik-zeglen
d5f6f27b2c Display correct weight unit 2020-07-13 12:17:31 +02:00
dominik-zeglen
8173624fca Fix order note when no user was given 2020-07-13 11:21:52 +02:00
dominik-zeglen
1bbc7aa9b9 Update snapshots 2020-07-09 15:47:08 +02:00
dominik-zeglen
e066d3171f Add weight to simple products 2020-07-09 14:53:08 +02:00
dominik-zeglen
4efce141da Add weight to variant 2020-07-09 13:45:01 +02:00
Dawid Tarasiuk
8a22155b6e Update order invoices list design 2020-07-08 15:29:47 +02:00
Mohamed Wael
8d6d50fbc8
Add/edit tracking number (#562)
* edit tracking number button

* Update snapshot

* Update messages

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-07-08 12:33:50 +02:00
Dawid Tarasiuk
114993ed75 Partially revert update queries 2020-07-08 10:44:38 +02:00
dominik-zeglen
0baa065896 Fix queries 2020-07-08 10:44:37 +02:00
Dawid Tarasiuk
fea369be80 Update test snapshots 2020-07-08 10:44:37 +02:00
dominik-zeglen
a907862b82 Fix key name 2020-07-08 10:44:36 +02:00
Dawid Tarasiuk
43ae37d229 Update invoice fragment 2020-07-08 10:44:35 +02:00
Dawid Tarasiuk
c4c9895a56 Create story for invoice list 2020-07-08 10:44:34 +02:00
Dawid Tarasiuk
a1624508eb Refactor order details props types 2020-07-08 10:44:34 +02:00
Dawid Tarasiuk
724df1939e Add index in errors list 2020-07-08 10:44:34 +02:00
Dawid Tarasiuk
7481822254 Fix formatting 2020-07-08 10:44:33 +02:00
Dawid Tarasiuk
3c49c28968 Remove form from OrderInvoiceEmailSendDialog 2020-07-08 10:44:33 +02:00
Dawid Tarasiuk
acef5b7f44 Update invoice request mutation 2020-07-08 10:44:32 +02:00
Dawid Tarasiuk
b0c62d7ad9 Update invoice request types 2020-07-08 10:44:32 +02:00
Dawid Tarasiuk
c88572356f Queue invoice status check 2020-07-08 10:44:32 +02:00
Dawid Tarasiuk
18603cd97a Update schema invoice types 2020-07-08 10:44:31 +02:00
Dawid Tarasiuk
81115da9e0 Update invoice error messages 2020-07-08 10:44:31 +02:00
Dawid Tarasiuk
8a756f539b Create invoice email send dialog 2020-07-08 10:44:31 +02:00
Dawid Tarasiuk
6dfe582fe8 Display invoice actions notifications 2020-07-08 10:44:30 +02:00
Dawid Tarasiuk
a612b2dfb0 Implement send invoice email mutation 2020-07-08 10:44:30 +02:00
Dawid Tarasiuk
80ace6e435 Update test snapshots 2020-07-08 10:44:29 +02:00
Dawid Tarasiuk
25b0082455 Implement generate invoice mutation 2020-07-08 10:44:29 +02:00
Dawid Tarasiuk
cd761d0990 Query invoices for order 2020-07-08 10:44:28 +02:00
Dawid Tarasiuk
624f3954df Update invoice callback names 2020-07-08 10:44:28 +02:00
Dawid Tarasiuk
7f5f0c056c Fix imports 2020-07-08 10:44:27 +02:00
Dawid Tarasiuk
e48e0a030e Query invoices for order 2020-07-08 10:44:27 +02:00
Dawid Tarasiuk
8b06b6ddf7 Create invoice cart in order deatials view 2020-07-08 10:44:26 +02:00
dominik-zeglen
eddec1a5c2 Move fragments to avoid circular imports 2020-07-07 12:14:12 +02:00
Dominik Żegleń
9a7c8553e5
Merge pull request #588 from mirumee/fix/task-queue
Handle task failure and fix task duplication
2020-07-06 19:05:15 +02:00
dominik-zeglen
b28bd31aaa Commit review suggestioins 2020-07-06 19:04:51 +02:00
dominik-zeglen
b1ac074b1e Improve comment 2020-07-06 17:06:01 +02:00
dominik-zeglen
a6dda68d50 Handle task failure and fix task duplication 2020-07-06 16:24:54 +02:00
AlicjaSzu
7aea3162aa
Merge pull request #587 from mirumee/feature/migrate-notifications
Migrate old notifications to the new ones
2020-07-06 13:07:33 +02:00
Krzysztof Wolski
82b8a84597
Fix lint check (#586)
* Fix lint check

* Fix style
2020-07-06 11:59:27 +02:00
AlicjaSzu
1887769055 add status to notifications 2020-07-06 10:46:14 +02:00
AlicjaSzu
4cf6a64449 MessageManager - fix identical operands error 2020-07-02 15:39:11 +02:00
AlicjaSzu
ce19f6aab6 MessageManager - update data-test 2020-07-02 14:55:39 +02:00
AlicjaSzu
3f903b8525 remove timer from error notification 2020-07-02 14:49:48 +02:00
AlicjaSzu
a3d16975da MessageManager clean up 2020-07-02 14:49:46 +02:00
AlicjaSzu
adebcc4452 remove react-alert lib, create MessageManagerProvider 2020-07-02 14:49:45 +02:00
AlicjaSzu
5960eb4644 set notifications column width to widest element 2020-07-02 14:49:44 +02:00
AlicjaSzu
88da4cab1d MessageManager - update classNames 2020-07-02 14:49:43 +02:00
AlicjaSzu
f247e79369 update defaultMessages 2020-07-02 14:49:42 +02:00
AlicjaSzu
2921d14b75 update messages stories 2020-07-02 14:49:41 +02:00
AlicjaSzu
58c0a5859a use react-alert to render multiple notifications 2020-07-02 14:49:38 +02:00
AlicjaSzu
49df188703 add expandedText prop to MessageManager 2020-07-02 14:49:37 +02:00
AlicjaSzu
b3eb13a785 update MessageManager 2020-07-02 14:49:37 +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
dominik-zeglen
7e11db8c52 Fix refresh token 2020-07-01 13:11:08 +02:00
dominik-zeglen
278be8a0bb Fix index 2020-06-26 13:09:57 +02:00
dominik-zeglen
6aa53c6775 Fix case 2020-06-26 13:09:56 +02:00
dominik-zeglen
25e7ca8aa7 Fix useBackgroundTask hook 2020-06-26 13:09:56 +02:00
dominik-zeglen
e80ef22f0d Add context to project root 2020-06-26 13:09:56 +02:00
dominik-zeglen
bdf90039b5 Handle asynchronous tasks 2020-06-26 13:09:55 +02:00
dominik-zeglen
7a2a18a1d4 Add background task manager 2020-06-26 13:09:55 +02:00
natalia
4468857856
Fix updating shipping rates (#565) 2020-06-25 09:18:46 +02:00
Dawid Tarasiuk
504ff43376 Update queries imports 2020-06-19 12:31:17 +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
02472d611e update snapshots 2020-06-16 15:19:30 +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
2d9385554b Update category product list 2020-06-16 13:13:10 +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
375762a144 Conditional demo mode 2020-05-26 02:01:27 +02:00
Krzysztof Wolski
53b6c5ca5c Add GTM 2020-05-26 01:47:12 +02:00
dominik-zeglen
b673c12eea Let user know that he's in demo 2020-05-26 01:46:34 +02:00
dominik-zeglen
47bd37e6ad Add default credentials 2020-05-26 01:45:51 +02:00
dominik-zeglen
2129596944 Add sku column to fulfillment cards 2020-05-25 11:59:23 +02:00
AlicjaSzu
1047762aa6 OrderPayment - update discount condition 2020-05-19 13:10:11 +02:00
AlicjaSzu
aefb339861 fix orders fixture error 2020-05-19 11:34:01 +02:00