Commit graph

1329 commits

Author SHA1 Message Date
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
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
AlicjaSzu
ea3b65bd8c update orderes fixtures 2020-05-15 18:09:14 +02:00
AlicjaSzu
75efb26aa8 add discount to Order details view 2020-05-15 17:19:51 +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
a5da3ea872 Fix CI build 2020-05-12 03:20:21 +02:00
Dominik Żegleń
dc291eb9c9
Merge pull request #480 from wael-mohamed/master
The icons' colours are hardcoded in the SVG files
2020-05-11 19:00:54 +02:00
Dominik Żegleń
355fe30715
Merge branch 'master' into fix/network-error 2020-05-11 18:49:20 +02:00
dominik-zeglen
3a5791e796 DIsplay correct error if there were no gql errors 2020-05-11 17:19:36 +02:00
dominik-zeglen
5fd0f71888 Update messages 2020-05-08 16:01:04 +02:00
dominik-zeglen
b971363b9f Handle untracked products 2020-05-08 15:38:44 +02:00
dominik-zeglen
a5e72c456e Handle session expiration 2020-05-07 13:48:15 +02:00
dominik-zeglen
3ceb400a58 Update label color 2020-05-07 13:14:25 +02:00
dominik-zeglen
6da39876be Add ellisis to sku column 2020-05-07 13:14:24 +02:00
dominik-zeglen
6af08af910 Update product stock management to newest design 2020-05-04 18:06:36 +02:00
Dominik Żegleń
87fcc812a6
Merge pull request #508 from mirumee/fix/error-on-group-deletion
Handle errors on group deletion
2020-04-30 11:34:23 +02:00
Krzysztof Wolski
da950ce079 Review fixes 2020-04-30 11:06:09 +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 Żegleń
c41e7b8bf2
Merge pull request #509 from mirumee/tx/sync
Sync translations with transifex
2020-04-29 17:23:53 +02:00
dominik-zeglen
89bae127d2 Update translations 2020-04-29 17:11:02 +02:00
dominik-zeglen
6fb5c3d4e5 Fix form error 2020-04-29 16:53:52 +02:00
dominik-zeglen
fdf76fa967 Minor fixes 2020-04-29 16:14:20 +02:00
Krzysztof Wolski
3d7a638b20 Handle errors on group deletion 2020-04-29 08:47:08 +02:00
dominik-zeglen
ce38bb8352 Update messages 2020-04-29 03:47:07 +02:00
dominik-zeglen
d69c1fe916 Use dedicated mutations to assign warehouses 2020-04-29 03:19:21 +02:00
dominik-zeglen
57038445c9 Update snapshots 2020-04-28 17:00:52 +02:00
dominik-zeglen
3f5474659f Update snapshots 2020-04-28 16:53:55 +02:00
dominik-zeglen
3a81eaaf3d Remove order bulk cancel 2020-04-28 16:53:54 +02:00
dominik-zeglen
5a3afa84a5 Display warehouse from which items were fulfilled 2020-04-28 16:53:54 +02:00
dominik-zeglen
932349a27a Minor tweaks 2020-04-28 16:53:53 +02:00
dominik-zeglen
037ace2a1b Handle stock errors 2020-04-28 16:53:52 +02:00
dominik-zeglen
65b9dbc483 Do not let go back to fulfillment view after success 2020-04-28 16:53:52 +02:00
dominik-zeglen
3922b315d5 Hook up components with API 2020-04-28 16:53:51 +02:00
dominik-zeglen
0c09d4b11d wip 2020-04-28 16:53:16 +02:00
dominik-zeglen
14d89d2ab9 Use quantityAllocated 2020-04-28 16:53:15 +02:00
dominik-zeglen
c4fdfd2498 Update stories 2020-04-28 16:53:13 +02:00
dominik-zeglen
0f52e427cb Add back button 2020-04-28 16:53:12 +02:00
dominik-zeglen
dca0208173 Add fulfillment view 2020-04-28 16:53:11 +02:00
dominik-zeglen
a5c1c9d544 Create fulfillment page 2020-04-28 16:53:10 +02:00
dominik-zeglen
9812277e9a wip 2020-04-28 16:53:09 +02:00
dominik-zeglen
27a740ed6b Fix warehouse selection 2020-04-28 16:52:36 +02:00
dominik-zeglen
bc15224fcd Refactor message and remove restock checkbox 2020-04-28 16:52:35 +02:00
dominik-zeglen
7cc3492e71 Add warehouse selection to restock items 2020-04-28 16:52:34 +02:00
dominik-zeglen
596cc41a7f Add warehouse info 2020-04-28 16:52:33 +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
16fc30c662 Fix type 2020-04-28 16:37:20 +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
bbdc7f8991 Preserve list order 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
85b730bce8 Update stories 2020-04-28 16:37:07 +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
0805ff052d Fix assigning shipping zone to warehouse 2020-04-28 16:33:18 +02:00
dominik-zeglen
220f77c20a Update types 2020-04-28 16:33:17 +02:00
dominik-zeglen
490e2a2baa Fix typo 2020-04-28 16:33:17 +02:00
dominik-zeglen
1afafa6732 Fix minor bug causing form not to reload 2020-04-28 16:33:16 +02:00
dominik-zeglen
97ffc07738 Make warehouse and shipping work 2020-04-28 16:33:15 +02:00
dominik-zeglen
61db9d1476 Fix label 2020-04-28 16:33:14 +02:00
dominik-zeglen
2272f038a5 Move label creation logic to util function 2020-04-28 16:33:13 +02:00
dominik-zeglen
1e37867e3e Update stories and messages 2020-04-28 16:33:13 +02:00
dominik-zeglen
369be96850 Fix types 2020-04-28 16:33:11 +02:00
dominik-zeglen
fbc809879f Add warehouse search 2020-04-28 16:33:10 +02:00
dominik-zeglen
93d1d74230 Allow creating warehouse from shipping zone view 2020-04-28 16:33:09 +02:00
dominik-zeglen
60ec16961c Add warehouse create action button 2020-04-28 16:33:08 +02:00
dominik-zeglen
3d838d8428 Simplify code 2020-04-28 16:31:37 +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
ccc51b1243 Add link with choices component 2020-04-28 16:30:05 +02:00
dominik-zeglen
92d16effb3 Add inventory status to variant list 2020-04-28 16:30:03 +02:00
dominik-zeglen
8f02117865 Add warehouse select 2020-04-28 16:30:02 +02:00
dominik-zeglen
321c9a5712 Use apollo hooks 2020-04-28 16:30:01 +02:00
dominik-zeglen
ed3e9fbc45 wip 2020-04-28 16:30:00 +02:00
dominik-zeglen
34698b7d6f Fix rtypes 2020-04-28 16:29:58 +02:00
dominik-zeglen
e5274afa64 Add warehouse deleting 2020-04-28 16:29:57 +02:00
dominik-zeglen
8445d2d815 Add warehouse details 2020-04-28 16:29:56 +02:00
dominik-zeglen
c9afddd050 Improve headers 2020-04-28 16:29:55 +02:00
dominik-zeglen
2a7829c0f7 Add warehouse create 2020-04-28 16:29:53 +02:00
dominik-zeglen
74ea099824 Make company address shared component 2020-04-28 16:28:37 +02:00
dominik-zeglen
82909e9067 Fix stories 2020-04-28 16:28:36 +02:00
dominik-zeglen
fd1f728415 Add warehouse delete action 2020-04-28 16:28:34 +02:00
dominik-zeglen
414f6d7a3d Add warehouse list view 2020-04-28 16:28:33 +02:00
Dominik Żegleń
e7f6bd1e77
Merge pull request #490 from AdamQuadmon/fix-order-fulfillment-typo
Fix Typo in Order Fulfillment Dialog
2020-04-27 16:29:33 +02:00
Krzysztof Wolski
a595acdda1 Handle disabling unavailable fields 2020-04-27 11:11:21 +02:00
Krzysztof Wolski
a44e96a278 Update chosen pills 2020-04-27 09:53:34 +02:00
Krzysztof Wolski
0516e540f7 Fix typo 2020-04-23 17:52:39 +02:00
Krzysztof Wolski
082a12e0b8
Permission groups section (#406)
* Add permission groups 👪
2020-04-23 17:43:08 +02:00
Maciej Korycinski
75b2487c57 Rename variables service_account to apps 2020-04-22 12:17:19 +02:00
Luciano Amodio
258cb5bf5e Fix Typo in Order Fulfillment Dialog
extraction also removed three strings from defaultMessages.json
2020-04-22 00:23:27 +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
Mohamed Wael
7ce69ad130
Sort icon childs alphabetically 2020-04-15 20:51:20 +01:00
Mohamed Wael
a7e9953ec6
fix icons colour
The icons' colours were hardcoded in the SVG file, now they are set to the theme primary colour
2020-04-15 19:13:19 +01:00
Mohamed Wael
95797bae99
fix Sales and Orders icons color
The icons color was hardcoded on the svg file, I've set it to theme primary color variable
2020-04-15 19:08:14 +01: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
7f2361c025 Add story to test list of products published 2020-04-13 23:46:40 -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
Gabriel L Martinez
3ee7ce5777 Pass the errors directly to NewPasswordPage component 2020-04-07 10:00:17 -04:00
Gabriel L Martinez
06e78acbf6 Adding storyshot for password too short error 2020-04-07 09:29:31 -04:00
Gabriel L Martinez
e8375d6627 Display validation errors on NewPassword page 2020-04-06 20:18:14 -04:00
Dominik Żegleń
55512b4d2c Fix case 2020-04-06 13:30:56 +02:00
dominik-zeglen
0806c7b328 Reset state after closing 2020-04-06 11:16:51 +02:00
Dominik Żegleń
680dd8baa2
Merge pull request #452 from mirumee/next/use-form-error-codes
Use translated error messages based on error codes
2020-03-27 11:40:12 +01:00
Dominik Żegleń
704c79aefc
Remove wild comment 2020-03-25 11:29:21 +01:00
dominik-zeglen
381665409f Rebase fixes 2020-03-24 15:05:26 +01:00
dominik-zeglen
7b77d8b126 Update stories 2020-03-24 13:54:35 +01:00
dominik-zeglen
881d9d70a8 Use error codes in discount section 2020-03-24 13:54:33 +01:00
dominik-zeglen
9b542e7837 Update types 2020-03-24 13:54:32 +01:00
dominik-zeglen
6ab6cf4e68 Use error codes in webhook section 2020-03-24 13:54:30 +01:00
dominik-zeglen
d92a8028cb Fix type errors 2020-03-24 13:54:29 +01:00
dominik-zeglen
1446a993a5 Update stories 2020-03-24 13:54:27 +01:00
dominik-zeglen
8f18bd75ce Use error formatting in shipping section 2020-03-24 13:54:25 +01:00
dominik-zeglen
51d1594509 Update stories 2020-03-24 13:54:23 +01:00
dominik-zeglen
e1f1a217da Use error formatting in page views 2020-03-24 13:54:22 +01:00
dominik-zeglen
b4d16517b0 Display order errors 2020-03-24 13:54:20 +01:00
dominik-zeglen
f43326b660 Update types 2020-03-24 13:54:19 +01:00
dominik-zeglen
40a6594688 Update snapshots 2020-03-24 13:54:17 +01:00
dominik-zeglen
61c3eb51fd Use error codes in navigation section 2020-03-24 13:54:16 +01:00
dominik-zeglen
5146386ee5 Update types 2020-03-24 13:54:15 +01:00
dominik-zeglen
b2987cddac Fix type errors 2020-03-24 13:54:14 +01:00
dominik-zeglen
b21b746ee3 Update stories 2020-03-24 13:54:11 +01:00
dominik-zeglen
63ff52349d Use error formatting in site settings view 2020-03-24 13:54:10 +01:00
dominik-zeglen
96c98077d8 Use error codes in account sections 2020-03-24 13:54:08 +01:00
dominik-zeglen
93ba9378ef Update types 2020-03-24 13:54:08 +01:00
dominik-zeglen
20c4340b8f Update snapshots 2020-03-24 13:54:07 +01: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
c94ec7eafa Add error state 2020-03-24 13:53:07 +01:00
dominik-zeglen
490c4c3023 Check shop errors too 2020-03-24 13:53:06 +01:00
dominik-zeglen
a95054ecb3 Add form error stories 2020-03-24 13:53:05 +01:00
dominik-zeglen
2a1abe76b6 Use translated errors in collections 2020-03-24 13:53:03 +01:00
dominik-zeglen
852bd71beb Use translated errors in categories section 2020-03-24 13:53:02 +01:00
dominik-zeglen
e21d4803d4 Fix form error 2020-03-16 10:55:16 +01:00
Dominik Żegleń
bf92214fc3
Revert "Use error formatting in product type section" 2020-03-11 10:56:04 +01:00
Dominik Żegleń
90e5b317d4
Merge pull request #434 from mirumee/form-errors/product-types
Use error formatting in product type section
2020-03-11 10:55:56 +01:00
dominik-zeglen
a8f100c6ac Update snapshots 2020-03-10 13:55:28 +01:00
dominik-zeglen
0f28c8f4f5 Use error codes in product types section 2020-03-10 12:38:01 +01:00
dominik-zeglen
2fd7893df5 Update snapshots 2020-03-05 16:09:41 +01:00
dominik-zeglen
e1a01060f3 Store errors in variable 2020-03-05 14:18:14 +01:00
dominik-zeglen
038a17caf6 Add ready to capture filter 2020-03-04 17:15:55 +01:00
dominik-zeglen
db14154c34 Use error formatting in attribute view 2020-03-04 13:50:25 +01:00
dominik-zeglen
5678719e7a Update snapshots 2020-03-03 14:33:39 +01:00
dominik-zeglen
092284f5df Update messages 2020-03-03 14:33:38 +01:00
dominik-zeglen
ec465ea797 Add missing event 2020-03-03 14:33:36 +01:00
dominik-zeglen
4c27d69229 Fix form errors 2020-03-03 14:33:35 +01:00
dominik-zeglen
8b0bf50ed4 Remove unused code 2020-03-02 11:20:47 +01:00
dominik-zeglen
a1353d20b3 Remove story 2020-03-02 11:20:46 +01:00
dominik-zeglen
1a843e59bd Fix types 2020-03-02 11:20:45 +01:00
dominik-zeglen
c9cf31851e Display error message if invalid content is passed 2020-03-02 11:20:45 +01:00
Dominik Żegleń
fd73e69870
Merge pull request #414 from krzysztofwolski/fix-typo
Typo `successful`
2020-03-02 11:09:22 +01:00
Krzysztof Wolski
6e230e72b2 Typo 2020-02-25 16:19:51 +01:00
Marcin Gębala
16291446a0
Merge pull request #410 from mirumee/ref/do-not-format-errors-in-forms
Do not store errors in form component
2020-02-25 15:54:27 +01:00
Krzysztof Wolski
c508f11a4c Typo 2020-02-25 15:42:07 +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
Marcin Gębala
70c679c335
Merge pull request #403 from mirumee/ref/use-icu
Use structurized JSON files instead of PO
2020-02-14 13:50:01 +01:00
Marcin Gębala
205db73fa6
Merge pull request #401 from mirumee/fix/invalid-jwt
Handle invalid token error
2020-02-14 13:49:26 +01:00
dominik-zeglen
537f4a80d5 Simplify code 2020-02-13 16:32:55 +01:00
dominik-zeglen
5c98d870a9 Do not share configs 2020-02-13 12:58:45 +01:00