Commit graph

2430 commits

Author SHA1 Message Date
Magdalena Markusik
00b9db9366 Update snapshots 2021-05-11 13:34:06 +02:00
mmarkusik
4a6290c9e9
Update src/utils/maps.ts
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-05-11 09:50:49 +02:00
Magdalena Markusik
b6c4d2d19c Remove unnecessary imports 2021-05-10 17:29:06 +02:00
Magdalena Markusik
d1ae1559d0 Add mapEdgesToItems util function and replace all usages 2021-05-10 17:25:54 +02:00
Dawid Tarasiuk
4bf40ed410
Fix line on product page (#1098) 2021-05-10 15:05:14 +02:00
Magdalena Markusik
26e537db88 Update schema, types, and replace taking shipping zones straight from channel with channelShippingZones query 2021-05-07 13:20:19 +02:00
Dawid Tarasiuk
5a439176b7
SALEOR 3115 Fix EditorJS inline formatting (#1096)
* Fix EditorJS inline formatting

* Update changelog
2021-05-07 10:06:08 +02:00
Dawid Tarasiuk
8e038dc786
SALEOR-1629 - Fix voucher page bugs (#1031) 2021-05-06 13:43:26 +02:00
Dawid Tarasiuk
0e054cc1e4
Saleor 2798 user addresses selection for draft order (#1082)
* Create user addresses select modal

* Prepare user addresses select modal form

* Add user addresses select modal to order draft details page

* Update draft order validation of adresses in edit modal

* Add Customer Change modal

* Update snapshots and messages

* Indication of address form errors by address type

* Refactor addresses submiting

* Refactor address transform functions

* Add data-testids to addresses change dialog

* Update customer address choice style

* Trigger CI

* Update customer addresses edit flow

* Move styles outside of component files

* Refactor after review

* Refactor after review

* Do not update customer if the same selected

* Handle setting adress after edit customer with no addresses

* Trigger CI
2021-05-06 13:38:15 +02:00
Dawid Tarasiuk
e2a80e4758
Fix sortable chip style (#1091) 2021-05-04 10:45:58 +02:00
Piotr Grundas
2a21609eae
Numeric attributes (#1065)
* Update schema, types

* Add numeric unit control

* Improvements, tests

* Cleanup

* Add messages

* Small fixes

* Add test id's

* Improve useForm, logic

* Use short names

* Review corrections

* Small improvements
2021-04-29 10:58:03 +02:00
Dominik Żegleń
d220914085
Add service worker (#1073)
* Add service worker

* Update messages

* Update changelog

* Remove debug code

* Refactor code and add interval config

* Clear interval

* Reload all pages simultaneously

* Update copy
2021-04-26 12:10:47 +02:00
Jakub Majorek
a83a245654
Drop deprecated fields (#1071)
* Drop deprecated fields

* Update changelog

* Update test recordings

* Fix e2e tests

* Fix product sorting (#1079)

* update stories

Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-04-26 09:49:55 +02:00
Piotr Grundas
d48c0087e0
Rich text, multiselect, useFormset fixes (#1077)
* Rich text field fix

* Fix useFormset setItemValue

* Update changelog
2021-04-23 14:27:31 +02:00
Karolina Rakoczy
6395aa16a3
tests for pagination (#1062)
* tests for pagination

* tests for pagination

* tests for pagination

* tests for pagination

* tests for pagination

* fix test for variants
2021-04-21 15:14:38 +02:00
Dawid Tarasiuk
795f9ccc4b
SALEOR-1903 - Fix custom currency formatting (#1067)
* Fix custom money formatting

* Update changelog

* Fix adding channels to shipping rates

Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2021-04-21 11:03:57 +02:00
Karolina Rakoczy
4013105844
Saleor 2697 tests for updating products (#1060)
* updating products

* updating products

* test for updating
2021-04-21 10:02:48 +02:00
Karolina Rakoczy
b89e3533d6
Saleor 2690 tests for sorting products (#1033)
* tests for sorting

* tests for sorting

* sort products

* sort products

* sort products

* sort products

* tests for sorting

* fix imports

* tests for sorting
2021-04-21 09:51:10 +02:00
mmarkusik
9d6cc99103
Merge pull request #1066 from mirumee/SALEOR-2547/update-adding-draft-order-products-per-channel (#1070)
Update adding draft order products per channel
2021-04-20 16:06:39 +02:00
Dawid Tarasiuk
bddfa2c4af
SALEOR-1888-1889 - Fix voucher and sales sorting errors (#1063)
* Fix voucher and sales sorting errors

* Update changelog

* Fix channel slug argument in sorting
2021-04-19 16:03:51 +02:00
Jakub Majorek
e5df1b2dbf
Add shipping method description (#1058)
* Add shipping method description - WIP

* Wire up logic

* Handle more editorjs issues

* Fix minor issues

Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-04-16 14:33:14 +02:00
Karolina
d5233b3131
Saleor 2893 fix failing cypress tests (#1064)
* fix tests

* fix tests

* fix tests
2021-04-16 13:36:24 +02:00
mmarkusik
8fe66a3bde
Add channel shipping zones (#1015)
* Add naked input option to SingleAutocompleteSelectField and update it's stories

* Add new icons - chevron up, down & trash

* Add deletable item component and stories

* Add card add items footer component to be used in warehouses and product stocks assign

* Update schema and types

* Add shipping zones card components

* Update channel details page form to also include shipping zones

* Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time

* Update channels types & fragments

* Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir

* Add shippinh zone to channel update and create and add shipping zone search

* Update messages

* Fix types

* Fix lint, types etc

* Small refactor from review and quick fix styles of shipping zones card

* Refactor a bit and update snapshots

* Refactor a bit and update snapshots

* Addd / refactor channels availability components

* Add useChannelsWithProductVariants hook with utils and types

* Add / refactor more channels availability components

* Move avatar from table cell avatar to separate component for it to be usable outside of tables

* Add channels with variants logic to product create and update pages & views

* Refactor components to use updated channels availability components

* Remove unnecessary comments

* Update storybook

* Update types

* Update messages

* Fix prices for variants / simple product not uodating properly

* Post merge cleanup, update schema, types, etc.

* Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone

* Update types

* Update snapshots

* Fix selecting / deselecting all channels in channels with variants modal

* Fixes after review, some types changes etc.

* Update snapshots

* Small types fixes

* Make price rates views use parent shipping method channels instead of all

* Make price rates views use parent shipping method channels instead of all

* Update types

* Fix bugs

* Fixes after review

* Fix channels availability data submission

* Fix lint

* Fix variant pricing card showing not related channels

* Fixes after review

* Fix types

* Hide unaviable variants in add products to draft order dialog

* Fix channels with variants availability modal showing confirm button as enabled when it shouldn't

* Fix types

* Update semi checked icon to match old designs

* Update types

* Update channels icon in channels with variants availability

* Fix product cypress test after product channels mutation changed

* Fix trash and chevron down colors in dark mode

* Fix shipping zones card footer not updating query after click away

* Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected

* Fix products adding in order draft dialog

* Fix simple productupdate

* Update snapshots after merge with master

* Update messages

* Fix product api request for cypress

* Add missing test id

* Fix selecting if product is simple -> form being submitted with empty data sometimes

* Update snapshots, messages and add fix for invalid date at product update

* Remove unnecessary imports

* Fix failing test in saleor 2552 (#1061)

* fix

* fix

* fix

Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 15:44:25 +02:00
Dominik Żegleń
07bc522af1
Prevent endless limit refetching (#1059)
* Fix endless limit refresh loop

* Improve naming
2021-04-14 13:09:13 +02:00
Zachary Keeping
9362ea53b0
Fix "secret" typo (#993) 2021-04-14 09:39:34 +02:00
Dominik Żegleń
a3abb9c476
Handle Cloud limits (#1053)
* Handle limit reached error

* Update changelog

* Move notifications to higher layer

* Handle limits top-level

* Remove unused imports

* Add alert component

* Fetch limits from API

* Display limits in staff list

* Fix disabled text button color

* Display limits in products pages

* Display limits in channel list

* Display limits in warehouse list

* Display limits in order list

* Add stories for limits

* Move alert to corresponding section

* Update schema

* Update changelog

* Fetch only needed limitations

* Fix types

* Fix story

* Display limits in variant creator

* Improve type consistency

* Update snapshots

* Update limit counter after object deletion

* Fix copy

* Improve code readability

* Lint files

* Fix dark mode alerts

* Improve contrast

* Fix sku limit in product variant list

* Update stories

* Update messages

* Extract messages
2021-04-13 11:59:16 +02:00
Jakub Majorek
20fbc19739
Update schema (#1057) 2021-04-12 17:23:37 +02:00
Karolina
2173e241b5
Saleor 2692 tests for filtering products (#1055)
* test for filtering products

* tests for filters

* change filter input selector

* change filter input selector

* change filter input selector

* add data-test-id
2021-04-12 17:22:12 +02:00
Dominik Żegleń
06266575b2
Add multiline field plugins (#974)
* Update schema

* Add multiline field to plugins

* Update changelog

* Update stories

* Update stories

* -Trigger CI
2021-04-09 13:17:34 +02:00
Piotr Grundas
a3fd4bb6c2
Add rich text attribute input (#1023)
* Clean structure, add text input, add story

* Improvements

* Update tests, changelog

* Extract messages

* Improvements

* Generate messages, update snapshots

* Switch to rich text

* Handle transitions

* Update translations
2021-04-09 09:51:49 +02:00
Jakub Majorek
80cb7c0404
Optimize product list view queries (#1016)
* Skip unused queries on product list

* Further optimize queries

* Fix product type details search on product create page

* Fix test fixtures

* Update query for product type details in product create page

* Update cypress test for product list

* Update package.lock

Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-04-08 18:14:15 +02:00
Tomasz Szymanski
af4368e853 Merge branch 'master' of github.com:mirumee/saleor-dashboard into feature/unconfirmed-order-line-manipulation 2021-04-06 14:03:01 +02:00
Karolina
588175df30
Saleor 1737 tests for shipping methods (#1013)
* remove classes in shipping & products utils

* remove classes

* add tests plans

* add const

* tests for shipping methods

* test for shipping

* test for shipping

* tests for shipping

* install eslint-plugin-chai-friendly

* update stories

* add missing imports
2021-04-02 13:01:38 +02:00
Tomasz Szymanski
cca95a77b0 Get rid of maybes 2021-04-02 06:28:28 +02:00
Tomasz Szymanski
fc3abed23d Merge branch 'master' of github.com:mirumee/saleor-dashboard into feature/unconfirmed-order-line-manipulation 2021-04-02 06:20:26 +02:00
Karolina
114476d615
Saleor 2696 tests for product create (#1026)
* test for product create

* tests for creating product

* create new expect product info utils file
2021-04-01 14:33:36 +02:00
Jakub Majorek
f400f1ae89 Fix DOM nesting 2021-04-01 14:31:23 +02:00
Dominik Żegleń
c1159861a9
Update schema (#1029)
* Update schema

* Update stories and changelog

* Update messages
2021-03-31 15:11:58 +02:00
Maciej Korycinski
6fdfcfe943
Fix failing translations (#1035) 2021-03-31 14:15:05 +02:00
Tomasz Szymanski
e5fdef53df Merge branch 'master' of github.com:mirumee/saleor-dashboard into feature/unconfirmed-order-line-manipulation 2021-03-31 12:38:10 +02:00
Jakub Majorek
5416c9f865
Ignore EditorJS errors (#1036)
* Ignore EditorJS error

* Update messages
2021-03-30 16:31:38 +02:00
dominik-zeglen
5a81878367 Remove mailing settings 2021-03-30 14:50:09 +02:00
Tomasz Szymanski
779d93cfa3 Merge branch 'master' of github.com:mirumee/saleor-dashboard into feature/unconfirmed-order-line-manipulation 2021-03-30 14:15:29 +02:00
Damian W
94ceead89d Merge branch 'master' of github.com:mirumee/saleor-dashboard into update-collection-error-types 2021-03-30 11:41:26 +02:00
Damian W
eaa3976721 update snapshots 2021-03-30 11:40:56 +02:00
Dominik Żegleń
416d7d87f6
Improve theming (#1020)
* Remove unused code

* Move theme to separate directory

* Separate types

* Separate shadows

* Separate shadows

* Rename types

* Modularize code

* Do not pollute prototypes

* Fix missing import

* Aliast mui styles

* Import theming internally

* Fix types

* Fix override type
2021-03-30 09:40:18 +02:00
Damian W
3e0794cb61 Update error type on CollectionBulkDelete 2021-03-29 12:28:59 +02:00
Karolina
9d01f5b24e
Saleor 2686 tests for navigation (#1022)
* tests for home page

* test for navigation

* tests for navigation

* tests for navigation

* tests for navigation

* tests for navigation
2021-03-26 10:33:35 +01:00
Tomasz Szymanski
d44f293e2d Handle insufficient stock error 2021-03-24 14:00:50 +01:00
Tomasz Szymanski
8a7126f7a7 Fix tests and translations 2021-03-24 09:29:51 +01:00
Tomasz Szymanski
6dcaffe40c Refactor order page to separated components 2021-03-23 18:13:39 +01:00
Magdalena Markusik
c8cfb2b2b2 Add discounts providers to unconfirmed order 2021-03-23 13:16:28 +01:00
Karolina
0da6012bc4
Saleor 1746 tests for vouchers (#1014)
* tests for vouchers

* test for vouchers

* test for vouchers

* add getDefaultAddress
2021-03-23 11:15:39 +01:00
Tomasz Szymanski
743e122029 Temporary changes for unconfirmed discounts 2021-03-23 10:19:11 +01:00
Tomasz Szymanski
b4a7c9f471 Merge branch 'master' of github.com:mirumee/saleor-dashboard into feature/unconfirmed-order-line-manipulation 2021-03-23 08:52:27 +01:00
Tomasz Szymanski
755fed7cc7 Fix missing email event 2021-03-22 12:34:28 +01:00
Tomasz Szymanski
e637b77fb4 Missing emails event 2021-03-22 12:16:48 +01:00
Jakub Majorek
7bc4bc6696
Define node requirements, ts cleanup (#1008)
* Define node requirements, ts cleanup

* Update snapshot

* fix tests
2021-03-19 13:06:17 +01:00
Grzegorz Derdak
429e7b9d83
Add ability to upload video URL to product gallery (#972)
* Create a dropdown and modal for uploading Video URLs

* Add ability to upload video URL to product gallery

* Add support for other video providers, minor UI tweaks

* Extract translations

* Style changes

* Adjust dashboard to fetch media oembed data

* Update codebase to match the schema

* Changes after code review

* Update schema.graphql and fixtures

* Update defaultMessages.json

* Fix failing jest tests

* Update schema and types
2021-03-17 14:07:48 +01:00
Karolina
f8d5593fc3
Saleor 1741 tests for orders (#1011)
* first test for draft orders

* tests for channels in draft orders

* tests for channels in draft orders

* tests for channels in draft orders

* test for moving draft order to orders

* test for orders

* test for orders

* tests for draft orders

* tests for draft orders

* tests for draft orders

* tests for draft orders

* test for moving draft order

* tests for orders
2021-03-17 11:00:30 +01:00
Tomasz Szymanski
17e01508a6 Merge branch 'master' of github.com:mirumee/saleor-dashboard into feature/unconfirmed-order-line-manipulation 2021-03-16 11:11:47 +01:00
Piotr Grundas
824f1cdb9e
Add product variant events (#1006)
* Add product variant events to apps panel

* Update snapshots

* Update changelog

* Bump translations
2021-03-16 10:03:11 +01:00
Karolina
0157914edb
Saleor 1740 tests for draft orders (#1002)
* first test for draft orders

* tests for channels in draft orders

* tests for channels in draft orders

* tests for channels in draft orders

* test for moving draft order to orders

* test for orders

* test for orders

* tests for draft orders

* tests for draft orders

* tests for draft orders

* tests for draft orders

* test for moving draft order
2021-03-15 14:16:02 +01:00
Karolina
746ce8b95f
Saleor 1745 tests for discounts sales (#998)
* test plan for sales - discounts

* create sale

* passing tests for sales

* tests for collections

* remove eslint diable in sales tests

* remove eslint-disable

* move shared selectors

* move shared selectors

* fix indentation in requests

* add formatDate function

* remove moment

* remove moment
2021-03-12 15:57:02 +01:00
Tomasz Szymański
88f51a1d31
Refactor of postalCodes related components (#999)
* Refactor of postalCodes related components

* CR changes

* Simplify postal codes reducer

* Typing for newState in postal codes reducer
2021-03-12 12:55:14 +01:00
Dawid Tarasiuk
bf9b7c5120
Use sortBy for search products (#997) 2021-03-11 11:40:58 +01:00
Jakub Majorek
a7736e2bf9
Attach permission variables to all queries (#1000)
* [SALEOR-2190] Attach permission variables to all queries

* Fix TS linter issues

* Update package-lock
2021-03-09 09:44:09 +01:00
mmarkusik
2cd4ea9529
Saleor 1856/implement discount modal 2 (#978)
* Add currency to orderline unitprice and update hella lots of types

* wip

* Add diiscount modal component

* Refactor action dialog - move buttons to separate component so they can be reused

* Add discount provider to keep logic of discounts separated and wrap proper components

* Add discount ccalculator util class, and make draft details summary use it, along with discounts data, modal etc

* UUpdate lots of types, fragments, schema etc

* Update quries and mutations

* ARename OrderLineDiscountModal -> OrderDiscountCommonModal, add types etc

* Add order line discount provider + consumer, same for order discount

* Fix ts wip

* Update schema and types

* Update order discount provider

* Add nnetto price to order details fragment and update lots of types

* Adjust fixtures to order details containing net total

* Move both order and order line provider to same dir to make types and utils more accessible

* Update schema to match master

* Update schema and types

* Update order history, add some related components, add events etc.

* Fix types

* Fix schema to match master

* Update messages

* Update changelog

* Retrigger build

* Add stories and update common modal to display floats properly

* Add and update stories and tests

* Add optional displaying of reason in case it's empty

* Make user name label for history events return email if last name and first name are absent

* Update schema, types, and mutations to properly refresh

* Remove unnecessary imports

* Add discounts decorator to draft details page storybook

* Fixs after review

* Update messages

* Small fixes to timeline events

* Update types for order shipping price to use net as well, fix labels in draft summary and add colors to theme palette

* Updaste tests, messages

* Fixs after review

* Add theme highlighted active and inactive color text, add valuue conversion to discount modal when changing calculation mode

* Add change to changelog

* Add extra options to select employee display name for order event when some data is missing. Also add filtering null elements in event header when data missing alltogether and element is null

* Refactor selecting employee name in utils

* Add conditional to extended timeline event when orderline is null
2021-03-05 15:52:02 +01:00
Jakub Majorek
3d8a849301
[SALEOR-2587] Handle null orderLine item (#1001) 2021-03-05 11:02:27 +01:00
Karolina Rakoczy
b6093e3fc5 resolve conflicts 2021-03-04 13:58:01 +01:00
Karolina
6c5e3d923a
Merge pull request #995 from mirumee/SALEOR-1743-Tests-for-variants
Saleor 1743 tests for variants
2021-03-04 13:36:59 +01:00
Tomasz Szymanski
5d63968a6f Merge branch 'master' of github.com:mirumee/saleor-dashboard into feature/unconfirmed-order-line-manipulation 2021-03-03 09:35:09 +01:00
Krzysztof Wolski
ad0d723a09
Fix rich text editor bug at page creation (#994) 2021-03-02 11:24:25 +01:00
Karolina Rakoczy
44a6f21128 update stories 2021-03-02 10:29:46 +01:00
Karolina Rakoczy
a8a9a5eb3a tests for collections 2021-03-02 09:38:24 +01:00
Karolina Rakoczy
ad3c1de234 tests for variants 2021-03-01 15:51:46 +01:00
Karolina Rakoczy
00e28061bd tests for variants 2021-03-01 13:50:36 +01:00
Karolina Rakoczy
dfdf43fed5 merge with master 2021-03-01 13:07:05 +01:00
Karolina Rakoczy
4a64dd8d57 tests for variants 2021-03-01 12:54:08 +01:00
Danilo Gačević
0af427e36e
fix: trigger form change when collections are being added to list of product collections (#987)
* fix: trigger form change when collections are being added to list of product collections

* fix: eslint and prettier

Co-authored-by: danilofatcat <danilo.gacevic@fatcatcoders.com>
2021-02-25 14:00:47 +01:00
Tomasz Szymański
c30429f7f4
Implement inclusion feature of postal codes (#983)
* Temporary merged schema and types update

* Update typing for zipCodeRules -> postalCodeRules

* Refactor zipCodes to postalCodes

* Fix new schema webhooks

* Delete postal code unassign dialog

* Query inclusion type from backend

* Clean up schema from old mutations

* Proper new mutations structure, all postal code related changes

* Linter changes

* Fix bug with save not being refreshed after codes are added / deleted / inclusion change

* Tests and translations

* Fix warnings across app, minor variables refactor

* Linting

* Trigger deployment

* CR changes, cleanups and refactors

* Update snapshots

* Resolve bug with radio not shows correct value on page refresh

* Fix price and weight creation of codes

* Reducer

* Revert "Reducer"

This reverts commit 07a3aed9c88332bde7d9be61b6dbc29e34e4edba.
2021-02-23 09:58:25 +01:00
Magdalena Markusik
c7fa1ae79d Update snapshots 2021-02-22 13:38:24 +01:00
Magdalena Markusik
bf5e775cbf Merge with master, resolve conflicts 2021-02-22 13:26:32 +01:00
Karolina Rakoczy
2ea9035e9c 2021-02-19 12:08:10 +01:00
Karolina Rakoczy
5f413d16fc merge with tests for products 2021-02-18 21:08:06 +01:00
Piotr Grundas
35857cf717
Update webhooks (#982)
* Update webhooks

* Update snapshots

* Add messages

Co-authored-by: Marcin Gębala <5421321+maarcingebala@users.noreply.github.com>
2021-02-18 14:50:57 +01:00
Magdalena Markusik
a3ac52f653 Update tests 2021-02-18 14:39:45 +01:00
Dominik Żegleń
afa228fd6d
Fix no channels crash (#984)
* Fix crash caused by not having any channels

* Update changelog
2021-02-18 14:05:39 +01:00
Magdalena Markusik
10a366839b Fixes 2021-02-18 13:59:47 +01:00
Magdalena Markusik
9730e44abe Update everything to handle null values in content and description fields 2021-02-18 13:38:41 +01:00
Karolina Rakoczy
5b05db92fc add get collection request 2021-02-18 10:00:08 +01:00
Karolina Rakoczy
91460bd8b1 add data-test-id 2021-02-17 13:50:57 +01:00
Magdalena Markusik
25f8e29801 Update schema and types 2021-02-17 12:58:09 +01:00
Tomasz Szymanski
c561b0a7f7 Fix bug with tax calculation after shipping method update 2021-02-12 09:31:11 +01:00
Tomasz Szymanski
4160fb685c Display proper prices of selected channel in products add dialog 2021-02-12 09:01:51 +01:00
Karolina Rakoczy
c1e9803640 add data-test-id 2021-02-11 16:04:56 +01:00
Karolina
68eb5309ef
Merge branch 'master' into SALEOR-1738-Tests-for-home-page 2021-02-11 13:53:29 +01:00
Karolina Rakoczy
27e5d912e4 tests for dashboard 2021-02-11 13:20:00 +01:00
Tomasz Szymanski
b3fe252f20 CR changes 2021-02-08 14:30:06 +01:00
Tomasz Szymanski
49124e2014 Drop maybe in favor of optional operator 2021-02-08 11:28:48 +01:00
Tomasz Szymanski
dd3a000562 Fix invalid order history event 2021-02-08 10:07:52 +01:00
Tomasz Szymanski
2c2d07be0c CR changes, switch net to gross prices 2021-02-05 13:46:15 +01:00
Tomasz Szymanski
cfb5bb5168 Forbid confirmation of order that has not products inside 2021-02-03 13:19:26 +01:00
Dawid Tarasiuk
db4fc1d8c5
Fix failing login in Firefox browser (#970)
The bug was introduced in OAuth2 implementation (1645e2fd), where the tokenAuthLoading flag from AuthProvider was not used and it did not blocked UI in loading state.
2021-02-03 09:22:04 +01:00
Tomasz Szymanski
beee789294 Hide metadata on unconfirmed order 2021-02-02 12:12:00 +01:00
Tomasz Szymanski
4f3fea10ff Merge branch 'master' of github.com:mirumee/saleor-dashboard into feature/unconfirmed-order-line-manipulation 2021-02-02 11:52:10 +01:00
Tomasz Szymanski
c7562ebb72 Linter, translations 2021-02-02 11:49:46 +01:00
Dominik Żegleń
8ece366660
Show channel picker to all staff members (#969) 2021-02-02 10:38:43 +01:00
Maciej Korycinski
836fc6dce4
Merge pull request #963 from mirumee/SALEOR-1301-oauth-openid-flow
1301 - OAuth2 flow with OpenID
2021-02-02 08:58:50 +01:00
Tomasz Szymanski
4cf8c95347 Unconfirmed order view contents 2021-01-29 14:14:31 +01:00
Dawid Tarasiuk
1645e2fdab Implement Oauth2 flow with OpenID 2021-01-28 14:11:00 +01:00
Maciej Korycinski
6477d62409
Add missing error (#965) 2021-01-27 11:42:08 +01:00
Tomasz Szymanski
b0de18797e Refactor mutations of draftOrderLines[CRUD] to orderLines[CRUD] 2021-01-27 10:49:35 +01:00
mmarkusik
3af7117a1d
Merge pull request #961 from mirumee/super-duper-urgent-return-fixes-again-2
Add returned items card to refund
2021-01-26 14:04:03 +01:00
mmarkusik
9a694071ce
Saleor 2078/create cypress test ids (#958)
* Add first id

* Add more ids

* Add more test ids

* Fix typing

* Remove unnecessary import

* Update snapshots
2021-01-26 11:21:54 +01:00
Magdalena Markusik
2e9dcd52dd Update snapshots 2021-01-25 15:16:44 +01:00
Magdalena Markusik
f7c7f4e518 Fix marked as paid item not displaying correctly in order history 2021-01-25 15:16:43 +01:00
Magdalena Markusik
94d08dde7d Remove unnecessary import 2021-01-25 15:16:43 +01:00
Magdalena Markusik
6608ac8122 Add returned products to refund page 2021-01-25 15:16:43 +01:00
Jakub Majorek
383055a2de
SALEOR-2064 Add generic error tracker with Sentry adapter (#956)
* Add generic error tracker with Sentry extension

* Add Sentry webpack plugin

* Update variable names and README

* Update deploy-staging template

* Update changelog
2021-01-22 15:05:26 +01:00
Jakub Majorek
10131163c1
SALEOR-2036 Drop descriptionJson and contentJson fields (#950)
* Drop descriptionJson and contentJson fields

* Bump EditorJS version

* Update changelog

* Update tests
2021-01-22 12:13:40 +01:00
Magdalena Markusik
d9250a7aea Fix some more types cause there was a typo 2021-01-21 14:26:28 +01:00
Magdalena Markusik
02c2fdf927 Fix some types and tests 2021-01-21 14:21:58 +01:00
Magdalena Markusik
430f80ac58 Add mmissing no return button and logic 2021-01-21 13:56:19 +01:00
Magdalena Markusik
5dd63128b4 Fix timeline event expand icon spacing 2021-01-21 13:55:49 +01:00
Jakub Majorek
37bb52d087
Fix issues with stocks (#954) 2021-01-21 10:07:16 +01:00
Jakub Majorek
77ed12664d
Fix rare editorjs race condition (#953) 2021-01-21 09:54:53 +01:00
Dawid Tarasiuk
11bddd3d1b
Product reference attributes (#948)
* Update changelog with product reference attributes

* 2068 - Add product reference type to attributes (#949)

* 2069 - Add product reference attribute search implementation (#951)
2021-01-20 17:37:36 +01:00
mmarkusik
f0f9fe9b85
Feature/order reissue (#910)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Add change to changelog

* Remove console.log

* Update tests

* Extract messages

* Add utils functions for selecting only ulfulfilled order lines

* Add optional value selection for line item

* Update
tests

* Add optional rendering of unfulfilled items card and refactor a bit

* Update displaying of items card title when refunded card

* UUpdate utils, form data etc. not to include refunded items when calculating replaced items amount

* Uppdate return items card not to display replace buttons for refunded items

* Refactor and small fixes after review

* Update extracted messages

* Fix card title when no fullfilemtn id

* wip

* Initially stitch returns page. Update types, add mutation

* remove unnecessary component display names

* Add loading status from form submission & refactor

* Add errors from response

* Add errors from response and refactor

* Remove comments

* Add optional error adding when no data from return create request

* Update messages

* wip

* Update snapshots

* Remove unnecessary console.log

* Add better typing for getParsedLineData function

* Update & refactor card title to match cards both in return and order details

* Add handling of new statuses to order details cards. Also refactor, and devide order fulfillment card into couple of smaller components

* Update messages

* Update schema to match api

* Update types

* Update status label component to match colors with new designs and order details cards

* RUpdate and refactor order fulfillment card components to be reusable. Also add replaced status handling

* Updayte card title component to handle all cases and statuses

* Update oorder unfulfilled items card and order details page, reduce some of the boilerplate

* Fix card title types and adjust returns card to match

* Update messages

* Update snapshots

* RUpdate order fulfillment card with subtitles and buttons for returned status

* Add onRefund to order fulfillment card

* Fix typo and wrong message in card title

* Add missing condition in return form submission utils to decice if to refund products

* Update fulfillment subtitles row and tests

* Update messages

* Change naming and locations of OrderFulfillment and items card components

* Update messages

* U[pdate names of components again to even better ones

* Update messages

* changelog

* Update schema and types so that order history event also includes user first and last name

* Add extended timeline event and event header components. Move some of the logic to utils and add way to display links in the event header.

* FFix types

* Update messages

* Change naming of isOfType -> isTimelineEventOfType and refactor extended timeline event messages selection to be less complicated

* Add ids and update messages

* Add ids and update messages some more

* Update storybook decorator to work with react router context in components and tests

* Refactor after review

* Update messages

* Add rredirecting to draft order

* Add handling draft creation from replacement

* Add related order to order event fragment and update lots and lots of types

* Update extended timeline event to match related order type on order history event

* Update fixtures

* Refactor ExtendedTimelineEvent

Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>

* Fix typing

* Update messages

* Fix missing history event for replacement draft created for replaced products

* Update messages

* Handle new statuses for returned and partially returned orders

* Update messages

* update snapshots

* BBump empty line to rebuild ci

* Change status to proper color

* Change replaceable items in return for replace to be auto off instead of on

* Add utils functions and make order details menu not show option to return items when there are returnable items in the order

* Fix replace checkbox showing when previously hidden and clicked set maximal quantities

* Fix return form invalid money values

* Add default values to avoid returning of NaN in utils for return amount and refactor

* Add ggeneral error alerts

* Add eproduct error box component and style. style a lot.

* Fixes

* Fix lint

* Add cannot refund error title + description

* Extract messages

* Refactor after review

* Add better, nicer and fancier imports to product error cell

* Use error color from palette in product error cell

* Fix max refund when 0 for return

* Add ddisable ability to refund products button so it's disabled when 0 products selected

* Add class for order return form data parsing and add condition to not do refund when total captured on order is 0

* Update snapshots

* Add condition for order lines quantity in order products table row

* Fix return amount submit button

* Add change to changelog

Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-20 17:16:43 +01:00
Dawid Tarasiuk
b07bb08ade 1863 - Support reference attribute reordering (#946)
* Support reference attribute reordering

* Update attribute handlers tests
2021-01-20 11:50:53 +01:00
Dawid Tarasiuk
4b8c2ea5e7 1427, 1866, 1868 - Implement reference attribute submission (#938)
* Implement reference attribute submitting

* Fix updating reference attributs

* Fix displaying references attribute values names
2021-01-20 11:50:53 +01:00
Dawid Tarasiuk
5303d9f714 1992 - Add attribute references select dialog (#931)
* Add attribute references select dialog

* Add reference attribute support to products and variants

* Fix attribute select dialog selection

* Refactor reference attribute handlers

* Refactor reference attribute handlers

* Refactor searching for reference pages
2021-01-20 11:50:53 +01:00
Dawid Tarasiuk
8b0fe986b2 1425 - Support reference type attribute on attribute details page (#918)
* Support reference type attribute on attribute details page

* Trigger CI

* Prevent changing attribute entity type during attribute update

* Refactor attribute details components
2021-01-20 11:50:53 +01:00
Dawid Tarasiuk
ee05b090b8 1862 - Add references field to attributes section (#923)
* Add references field to attributes section

* Update messagees and test shapshots

* Remove unused style in sortable chips component
2021-01-20 11:50:53 +01:00
Jakub Majorek
18f09812a8
Saleor 2067 - Guard against non-staff users logging in (#947)
* Guard against non-staff users logging in

* Scope channel permissions

* Update changelog

* Update tests
2021-01-18 12:19:04 +01:00
Tomasz Szymański
0578de63c6
Make sure invoices card is visible only on orders other than unconfirmed (#944)
* Make sure invoices card is visible only on orders other than unconfirmed

* Replace div with React.Fragment

* Use short form of fragment and remove key
2021-01-15 11:10:52 +01:00
Tomasz Szymański
167b77e18a
Mark shipping zone description as optional (#942) 2021-01-13 11:49:08 +01:00
Marek Choiński
4a8ebd5b1f
Saleor 1636 add possibility to filter through channels in order view (#929)
* Add possibility to filter through channels in order view

* Update storybook and locale

* Refactor

* Refactor to mapNodetoChoice

* Fix conditional value in array implicit syntax

Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-01-13 10:50:54 +01:00
Marek Choiński
d0be941ade
Saleor 1712 dashboard unable to handle empty channel list (#924)
* Use query hook on home page

* Handle no channel

* Handle no channel on pages

* Add navigate channels

* Move messages

* Refactor

* Update storybook and locale

* Remove comment

* Refactor

* Update storybook

* Fix skip

* Fix undefined channel

* Update storybook
2021-01-13 10:33:38 +01:00
Marek Choiński
3f5cacb8a0
Saleor 1906 user should be able to delete a channel if there are no orders associated with it (#901)
* Update type of channelDetailsFragment

* Add hasOrder recognition

* Update types

* Add delete channel on details page

* Refactor fixtures

* Update locale

* Refactor

* Remove redundant assignment

* Move messages to defineMessages

* Simplify variables

* Create util getChannelsCurrencyChoices

* Add message

* Update locale

* Refactor to mapNodeToChoice
2021-01-12 15:44:11 +01:00
Dawid Tarasiuk
9d55dc920b
Add shipping delivery days (#914)
* Add shipping delivery days

* Update changelog with shipping delivery days

* Update data-test and messages

* Add shipping delivery days to shipping rate create page

* Update shipping test snapshots

* Make max delivery time of shipping optional
2021-01-12 12:33:50 +01:00
Marek Choiński
a9b3c6c53c
Fix display stock for simple products (#937) 2021-01-08 15:27:12 +01:00
Jakub Majorek
82772f0b08
Merge pull request #935 from mirumee/SALEOR-1756-error-when-trying-to-save-uncomplete-publish-date
Fix bug with uncomplete publish date
2021-01-07 16:29:41 +01:00
Marek Choiński
45feb2e469 Add default value 2021-01-07 15:21:20 +01:00
Tomasz Szymanski
afbdf0a500 Merge branch 'master' of github.com:mirumee/saleor-dashboard into refactor-zip-codes-to-postal-codes 2021-01-07 13:26:06 +01:00
Marek Choiński
dffbeb53ac Fix bug with uncomplete publish date 2021-01-07 13:20:32 +01:00
Jakub Majorek
dbe4bd5771
Merge pull request #921 from mirumee/show-zip-codes-radio-buttons
Show hidden radio buttons of shipping method zip codes
2021-01-07 13:13:19 +01:00
Jakub Majorek
8b0162157a
Merge pull request #926 from mirumee/SALEOR-1017-shipping-rate-description
Shipping zone description
2021-01-07 13:13:00 +01:00
Tomasz Szymanski
e48c025bec ShippingRateInfo component, separate ShippingZoneInfo, cleanups 2021-01-07 11:52:12 +01:00
Marek Choiński
bd63de6224
Saleor 1945 adjust adress management to the designs (#922)
* Fix grid

* Move edit and delte option from buttons to card items menu

* Add phone and update labels

* Remove some maybe()

* Update storybook

* Update locale

* Fix RWD and move messages

* Update locale
2021-01-07 11:17:40 +01:00
Marek Choiński
63a2969808
Saleor 1946 expose user metadata in customer details view (#912)
* Add metadata component

* Update types

* Add metadata handler

* Update fixture and storybook

* Update storybook
2021-01-07 11:03:48 +01:00
Tomasz Szymanski
e7375c08c9 Re-style radio buttons of zip codes inclusion type 2021-01-07 09:44:49 +01:00
Tomasz Szymanski
e24c918a32 Refactor ZIP Codes to postal codes (UI part) 2021-01-05 13:05:54 +01:00
Tomasz Szymanski
f502aff8b2 Add description to shipping zone create, refactor defaultMessages 2021-01-05 12:31:06 +01:00
Tomasz Szymanski
331ab84440 Unmock placeholder 2020-12-30 13:41:37 +01:00
Tomasz Szymanski
5af85e5157 Shipping zone description 2020-12-30 13:25:40 +01:00
Tomasz Szymanski
a6a1a63a2a Update snapshots 2020-12-22 12:22:23 +01:00
Tomasz Szymanski
c0426d5024 Show hidden radio buttons of shipping method zip codes 2020-12-21 14:03:22 +01:00
Marcin Gębala
71b4b329d8
Drop authorization keys section (#913)
* Drop authorization keys section

* Update translations

* Update snapshots

Co-authored-by: dominik-zeglen <flesz3@o2.pl>
2020-12-21 13:50:04 +01:00
Marek Choiński
0ad9d6f487
Saleor 1704 shipping rates rendering issue (#916)
* Fix styles

* Update storybook
2020-12-21 13:47:10 +01:00
Marek Choiński
912dc5d1f4
Fix warnings (#919) 2020-12-21 13:46:34 +01:00
Dawid Tarasiuk
d5ae972b0e
Fix not updated file attribute field on delete (#911) 2020-12-17 10:25:16 +01:00
Dawid Tarasiuk
1e140853ec
File attributes (#884)
* Update changelog with file attributes

* Add file type attribute

* Update attribute properties form

* Update translation messages with file upload

* Create generic attributes component (#832)

* Create generic Attributes component

* Add story for Attributes component

* Remove deprecated attribute value type field from queries

* Update test snapshots of attributes component

* Add file upload field to atributes (#888)

* Add story for Attributes component

* Update test snapshots of attributes component

* Create file upload field in attributes

* Update upload file input data-test

* Update storybook test snapshots of attributes

* Add dedicated input props to file field

* Run Cypress using custom API

* Add missing error handling in file upload field

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>

* Add file attribute upload to page attributes (#894)

* Support upload file attribute for pages

* Update after review

* Add file attribute upload to variant attributes (#892)

* Support upload file attribute for variants

* Update after review

* Refactor attribute values errors merging

* Update after review

* Add file attribute upload to product attributes (#826)

* Support upload file attribute for products

* Update after review

* Refactor attribute values errors merging

* Refactor product attribute value delete handling

* Fix deleting file in file upload field

* Fix delete attribute values errors handling

* Add link to file upload field (#898)

* Update file attributes updates (#899)

* Update file attributes updates

* Refactor file uploads handling

* Move attributes utils to attributes directory

* Fix product channel listing updates

* Clear file field value if file is not passed as prop

* Delete attribute values before update (#908)

* Delete file attributes after file update

* Triggr CI

* Show skeleton in file upload field during loading

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-12-16 11:53:28 +01:00
Marek Choiński
c3d97b9114
Fix clear form (#907) 2020-12-16 11:36:11 +01:00
Dominik Żegleń
556ea52e8f
Update quantity column in Inventory part of Product Variant view (#904)
* Add allocated quantity column

* Remove unused prop

* Update snapshots and messages

* Update changelog
2020-12-15 10:50:29 +01:00
Krzysztof Wolski
5a16f929bb
Use proper fragment for price range (#897) 2020-12-10 16:09:08 +01:00
Marek Choiński
5bb2d597a2
Saleor 1531 add metadata UI for shipping zones and methods (#895)
* Add public and private metadata to shipping zones

* Update initial form

* Fix types

* Update types for metadata in shipping method

* Filter typename of metadata

* Fix price shipping method metadata

* Fetch metadata in weight rate update

* Update storybook
2020-12-10 13:38:41 +01:00
Marek Choiński
29a7ef644c
Fix null voucher name handle (#891)
* Fix null voucher name handle

* Fix behavior for optional name

* Fix voucher list

* Fix loading voucher

* Update storybook
2020-12-09 11:15:13 +01:00
Marek Choiński
82bbb93d94
Fix order behavior (#890)
* Fix order behavior

* Compare variants by id
2020-12-08 14:43:12 +01:00
Marek Choiński
2d8fc85ac3
Saleor 1606 send invoice button not visible (#889)
* Fix send button on invoice card

* Fix highlight border on hover

* Update storybook
2020-12-04 18:29:41 +01:00
AlicjaSzu
2f9eddd9ee
Saleor 1659 use query params in channels picker (#886)
* use Query params in channels picker

* update urls
2020-12-04 18:09:28 +01:00
mmarkusik
bdb7837ccc
SALEOR-1658 Add fulfill finalize button display logic (#885)
* Add logic for displaying finalize button in order fulfillment

* Update story
2020-12-04 13:54:27 +01:00
Dominik Żegleń
c7cd531aeb
Fix Chrome 87 fieldset rendering bug (#883)
* Fix order page gray box

* Fix shipping page gray boxes

* Do not put background to fieldsets

Fixes Chrome 87 bug

* Fix disabled style

* Update snapshots

* Trigger CI

* Revert card changes
2020-12-04 13:45:49 +01:00
AlicjaSzu
b774cc9002
Excluded Products in shipping view (#866)
* Clean up stories

* Add missing props

* Add zip codes section (#861)

* Add zip code listing

* Add list wrapping

* Update snapshots

* Set up API data

* Fix lgtm warning

* Update snapshots

* Run Actions on all PR

* Checks on PR

* Test envs on PR

* Cleanup action on PR

* Update messages

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>

* Allow zip codes to be assigned to shipping method

* Add zip code deletion (#871)

* Add zip code range dialog

* Fix path management

* Use query params to handle modal actions

* Allow zip codes to be assigned to shipping method

* Make params optional

* Fix types

* Clean up urls

* Add zip code range delete action

* Update snapshots and messages

* Update schema

* Refresh zip code list after assigning them

* Update types and snapshots

* Update snapshots

* Fix error message, checkbox default value (#880)

* Fix error message, checkbox default value

* Update snapshots

* Update schema and types

* Update stories

* add excluded products section in shipping methods views

* create UnassignDialog component

* use priceRangeFragment in shipping queries

* remove unneeded price from ShippingMethodAddProductsDialog

* update messages in ShippingMethodProducts

* updates after rebase

* update snapshots, fix lint errors

* fix ShippingMethodProductsAddDialog

* update snapshots

* small fix in ShippingMethodProducts

* update snapshots after rebase

* add handleClose func in ShippingMethodProductsAddDialog

* Fix metadata not showing in category update

* update snapshots again

* update ShippingMethodProductsAddDialog

* updates after rebase

* update Price and Weight rates views

Co-authored-by: dominik-zeglen <flesz3@o2.pl>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Tomasz Szymański <lime129@gmail.com>
Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2020-12-02 12:35:02 +01:00
Dominik Żegleń
f97ddd0128
Fix react-intl missing translation error (#882)
* Improve error handling

* Remove unused import
2020-12-01 18:18:58 +01:00
AlicjaSzu
09625eb486
use MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES permission (#881) 2020-12-01 16:43:08 +01:00
Dominik Żegleń
e55805a79d
Add zip code exclusion (#877)
* Clean up stories

* Add missing props

* Add zip codes section (#861)

* Add zip code listing

* Add list wrapping

* Update snapshots

* Set up API data

* Fix lgtm warning

* Update snapshots

* Run Actions on all PR

* Checks on PR

* Test envs on PR

* Cleanup action on PR

* Update messages

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>

* Add zip code range dialog

* Fix path management

* Use query params to handle modal actions

* Allow zip codes to be assigned to shipping method

* Make params optional

* Fix types

* Add zip code deletion (#871)

* Add zip code range dialog

* Fix path management

* Use query params to handle modal actions

* Allow zip codes to be assigned to shipping method

* Make params optional

* Fix types

* Clean up urls

* Add zip code range delete action

* Update snapshots and messages

* Update testing and changelog

* Update schema

* Simplify code

* Refresh zip code list after assigning them

* Update view after zip code deletion

* Update types and snapshots

* Update snapshots

* Fix error message, checkbox default value (#880)

* Fix error message, checkbox default value

* Update snapshots

* Use price instead of weight variant

* Update schema and types

* Hide exclude/include zip codes section

* Update stories

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Tomasz Szymański <lime129@gmail.com>
2020-12-01 16:42:25 +01:00
Dawid Tarasiuk
eb351b396a
Refunds (#870)
* 1721 - add refunds miscellaneous view (#860)

* Create new page for Miscellaneous Refunds

* Replace refund order dialog with dedicated page

* Add data test ids

* Update order details view for refunds (#874)

* 1719 - add refund entry to order history (#875)

* Add refund order history entry

* Update refund event with the right query

* 1722 - add refunds product view (#873)

* Create new page for Miscellaneous Refunds

* Replace refund order dialog with dedicated page

* Add data test ids

* Create refund products table

* Implement refund products view

* Update refund mutation with product lines input

* Fix products quantities on refund page

* Fix order refund submission

* Fix products refund submission input variables

* Filter out fulfillments on refund page

* Update refund page in storybook

* Fix test snapshots after wrong refunds rebase

* Set max refund as captured amount

* Refund queries adjustments

* Display refund values with nullish coalescing operator

* Update test snapshots with refunds

* Refactor order refund values calculation

* Create and use refund order line fragment

* Use old simple refund mutation for miscellaneous refund

* Submit for refund only lines with non-zero quantity set

* Fix showing refund error

* Fix refund details on order details page (#879)

* Update order details view for refunds (#874)

* 1719 - add refund entry to order history (#875)

* Add refund order history entry

* Update refund event with the right query

* 1722 - add refunds product view (#873)

* Create new page for Miscellaneous Refunds

* Replace refund order dialog with dedicated page

* Add data test ids

* Create refund products table

* Implement refund products view

* Update refund mutation with product lines input

* Fix products quantities on refund page

* Fix order refund submission

* Fix products refund submission input variables

* Filter out fulfillments on refund page

* Update refund page in storybook

* Fix test snapshots after wrong refunds rebase

* Set max refund as captured amount

* Refund queries adjustments

* Display refund values with nullish coalescing operator

* Update test snapshots with refunds

* Refactor order refund values calculation

* Create and use refund order line fragment

* Use old simple refund mutation for miscellaneous refund

* Submit for refund only lines with non-zero quantity set

* Fix showing refund error

* Add missing refund amount to order history

* Merge repeated order lines in fulfillment lines

* Update order history events types and test snapshots

* Update changelog with refunds changes
2020-12-01 14:13:05 +01:00
Marek Choiński
b16206dfa8
Saleor 1662 sort just added channel availability (#878)
* Sort channels on ProductUpdate

* Update sorting channels after refactor

* Sort channels on every view
2020-12-01 12:26:10 +01:00
Krzysztof Wolski
07f8f4b0b8
Order confirmation (#840)
* Order confirmed webhook

* Add status chip component and update order details page header

* refactor

* refactor and update types

* Remove rebase leftovers

* Create order settings page

* Add order setting query

* Connct order settings view with api

* Show order settings update error message

* Popup menu routing to order settings

* Fix circular import error with order settings form types

* Update order settings story

* Update order settings messages

* wip

* Add order confirm mutation and types

* Add confirm order feature to order details

* Update global types

* refactor after review

* refactor after review

* update types

* Revert settings menu removal

* Add changelog entry

Co-authored-by: Tomasz Szymanski <lime129@gmail.com>
Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2020-11-30 14:19:57 +01:00
AlicjaSzu
6456cd21d2
disable Manage channels for user without permission (#858)
* create ChannelsAvailabilityWithPermission component

* revert changes in ChannelsAvailability, update snapshots

* replace hasManageChannelPermission with hasManageChannelsPermission

* use RequirePermissions in ChannelsAvailability, create UserDecorator
2020-11-30 14:08:09 +01:00
Marek Choiński
375de15a6b
Add PasswordCredential type (#868) 2020-11-30 11:26:51 +01:00
Krzysztof Wolski
6762e7bf3f
[chore] Update dependencies, fix warnings during tests (#845)
* Fix attr name typo

* Use proper string serialization

* Use proper image URL

* Remove unused draft component

* Fix classname for invoice card

* Update deps

* Remove unused testcafe

* Resolve issue with missing intl in one of the stories, bump intl package version

* Update packages

* Update commit hooks

* Bump ts to last pre4.0 version

* Center metadata image

* Unused property

* Bump enzyme

* Revert

* Fix logo on login screen

* Fix console errors on entering translations pages

* Fix styles for invoice card
2020-11-27 17:32:12 +01:00
Marek Choiński
9069b6bc80
Saleor 1680 add shipping methods to translation section (#864)
* Add update shipping method translations query

* Added queries and types for shipping method translation tab

* Fix tab view for shipping method

* Fix query and view for shipping method

* Revert password credentials type any

* Update storybook

* Update locale

* Update CHANGELOG.md
2020-11-27 16:53:48 +01:00
Dominik Żegleń
44bbe5842c
Fix not loading variants (#865) 2020-11-26 18:01:27 +01:00
AlicjaSzu
1845111537
fix SaleCreate view (#857)
* fix SaleCreate view

* fix SaleValue input styles, update snapshots

* add success status to create sale notification
2020-11-26 11:43:05 +01:00
Jakub Majorek
b0091b23b9 [1753] Update channel default choice on change 2020-11-25 13:49:14 +01:00
Karolka
2970e203ee
Add transaction reference input at order page (#837)
* Add transaction reference input at order page

* Add spacer between cards in order details

Co-authored-by: Karolina Kuźniewicz <karolina.kuzniewicz@mirumee.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-11-24 17:02:50 +01:00
Marek Choiński
ba1c06d999
Fix wrong placeholder text (#856) 2020-11-24 14:18:22 +01:00
AlicjaSzu
51548af8d3
fix shipping forms save button disabled state (#855)
* fix shipping forms save button disabled state

* update defaultMessages
2020-11-24 14:17:03 +01:00
Marek Choiński
101e2c7cdc
Saleor 1670 visual improvements for dashboard homepage (#850)
* Fix overflow for card hover

* Add padding on arrow icon

* Update storybook for homepage
2020-11-24 14:16:44 +01:00
Dominik Żegleń
2765dc1324
Use product pricing instead of discounted price (#847)
* Use product pricing instead of discountedPrice

* Fix input width

* Update snapshots

* Fix reading price range of null pricing

Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2020-11-23 14:04:24 +01:00
Dawid Tarasiuk
48a68ed1bf
Update GraphQL schema and its types (#853) 2020-11-23 12:38:28 +01:00
Jakub Majorek
4eb628018d [1611] Use modal action query params 2020-11-23 11:56:08 +01:00
Jakub Majorek
cf7329ccce [1611] Create channel picker for draft order creation 2020-11-23 11:35:31 +01:00
Dominik Żegleń
a175fb9497
Add global channel picker (#841)
* Move theme switch to user menu

* Add global channel picker

* Fix picker styles

* Use app channel state

* Improve prop naming to indicate id vs slug

* Disable picker if no reason to pick channel

* Remove settings modal leftovers

* Remove channel settings dialog

* Remove unused props

* Skip channel fetching if user is not authenticated

* Remove channel selection from components

* Update messages

* Fix e2e tests

* Remove channel picker leftover

* Revert ChannelSettingsDialog deletion

* Update snapshots

* Update messages
2020-11-23 10:39:24 +01:00
Dominik Żegleń
607eba6a10
Use proper loading and null value logic (#848) 2020-11-23 10:38:46 +01:00
Marek Choiński
c96d252fd1
Remove zero opacity for placeholders (#846) 2020-11-20 15:23:50 +01:00
Krzysztof Wolski
439e5b249e
Remove im ready message (#843) 2020-11-20 10:44:50 +01:00
Karolka
e2e5f7f7a5
Add rating input at Create/Edit Product page (#828)
* Add rating input at Create/Edit Product page

* Fix cypress tests

Co-authored-by: Karolina Kuźniewicz <karolina.kuzniewicz@mirumee.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-11-19 18:07:42 +01:00
Dawid Tarasiuk
fc02fce701
Page types (#807)
* Create attribute class selector

* Use ProductAttributeType to check if product is simple or with variants

* Allow attribute class selection only during its creation

* Update attribute type selection translations

* Show only product attributes in columns picker on product list view

* Cleanups in Attribute Organization component

* Create Page Types list page

* Create content management section in settings

* Implement page types list view

* Remove unused imports from page type list

* Updatte page type list style

* Remove legacy code from page type list component

* Update PageTypeListPage component

* Create Page Types details page

* Fix page type attribute reordering

* Implement PageType create view

* Implement PageType update view

* gUpdate page type details components

* Fix page type update component

* Update page type components stories

* Update page type errors handling

* Update page type details view

* Create Page Types details page

* Implement PageType create view

* Update product attribute assignment mutations

* Add page types attribute assignment mutations

* Add page types attribute assignment handling

* Temporarily fix page create mutation

* Update page type error messages

* Remove legacy storybook page type stories

* Update attribute assignment dialogs stories

* Update page type details error handling

* Update props for page type components

* Create attribute class selector

* Implement page types list view

* Add page type selector on page create and details views

* Add attributes list to page details views

* Update page types list

* Use attribute errors for attributes muatations

* Save attribute values on page create and update

* Update messages for page view

* Update page attributes fragment

* Use AttributeError in AttributeBulkDelete

* Update page type and its attribute selection

* Handle page types deleting

* Update page types deleting messages

* Handle page types attribute reorder

* Fix PageOrganizeContent component types

* Update graphqql types

* Fix page fixture

* Update messages

* Update test snapshots

* Pass pageTypes to PageForm

* Update changelog with page type addition note

* Update package-lock

* Update test snapshots

* Fix malformed generated type

* Update messages after rebase
2020-11-19 15:42:14 +01:00
Jakub Majorek
aa9df18fa8 [1516] Move product remove logic to create handler 2020-11-19 13:22:43 +01:00
Jakub Majorek
c59a7f4349 [1516] Create product when all required fields are valid 2020-11-19 11:57:13 +01:00
Dominik Żegleń
33d680639b
Add new side menu navigation (#819)
Update snapshots

Fix savebar

Fix cypress

Update messages

Fix cypress
2020-11-18 16:11:15 +01:00
Krzysztof Wolski
6d31be7c2c
Fix select all channels checkbox (#838)
* Fix select all channels checkbox

* Clarify checkout description
2020-11-18 15:32:22 +01:00
Jakub Majorek
b91d8d77c4 [1599] Do not redirect on channel details edit 2020-11-17 18:35:17 +01:00
Dominik Żegleń
6f9060144a
Multichannel (#833)
* add multichannel to configuration view

* create multichannels list view

* create multichannels list view

* add ChannelsCreate view

* update channels in configuration

* add stories

* update default messages

* fix ChannelForm props

* update channels list styles

* update snapshots

* update channel form currency input

* update Channels fragments

* extract messages

* remove tabs from channelsList

* channel details, channel delete modal (#598)

* create Channel details view

* create ChannelDeleteDialog

* add channels delete dialog to channels list

* update messages and types

* fixes after review

* channels availability (#609)

* create Channel details view

* update messages and types

* create ChannelsAvailability component

* create more product channels components

* create channels stories, update fixtures, types

* update product views with channels data

* update schema and snapshots

* update defaultMessages

* update ProductUpdate view

* create ChannelsAvailabilityDropdown component

* add product channels to local storage

* update globalTypes

* Update to new schema and resolve issues

* Update messages

* create deleteChannel mutation

* add channels availability component to product create view

* refactor ProductCreate and ProductUpdate views

* CollectionProducts view cleanup

* add disabled prop to ActionDialog

* use updateChannels mutation in ProductCreate view

* ProductCreate - update submit function

* fixes after review

* update snapshots and messages

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>

* channels shipping components (#655)

* create PricingCard, OrderValue and OrderWeight components

* create ShippingZoneRatesPage and DeleteShippingRateDialog

* update ChannelsAvailability component

* updates after review

* channels shipping views (#662)

* update ChannelsAvailability component

* updates after review

* create PriceRate views, update types

* create weight rates views

* update shipping views, stories, messages

* update snapshots

* update snapshots

* update useChannels hook

* orders channels components (#698)

* create OrderChannelSectionCard component

* update OrderDetailsPage

* update DraftOrderChannelCard

* update snapshots

* update fixtures

* small change after review, update snapshots

* product pricing (#702)

* update product types

* update Pricing in simple product view

* use productVariantCreate mutation in simple product view

* update snapshots and messages

* handle create variant (#715)

* update product types

* update Pricing in simple product view

* handle product create and update errors

* update snapshots and messages

* fix update and create product handlers

* update pricing types

* channels modal - new styles, search input (#717)

* update product types

* update Pricing in simple product view

* handle product create and update errors

* update pricing types

* add search input in ChannelsAvailabilityDialog

* update ChannelsAvailabilityDialog in all views

* update snapshots

* fix search input label styles

* update toggleAllChannels function

* update variant creator (#724)

* update product types

* update Pricing in simple product view

* handle product create and update errors

* update pricing types

* add search input in ChannelsAvailabilityDialog

* update ChannelsAvailabilityDialog in all views

* update snapshots

* add channelLisitngs to variant creator

* update variant creator price styles

* update product variant creator reducer tests

* update createVariants tests

* update error handling in product variant creator

* add Skip pricing for now option

* use PriceField instead of TextField in ProductVariantCreatorSummary

* create price validation function

* fix errors handling in ProductVariantPrice component

* fixes after review

* Product List - remove publish/unpublish buttons (#727)

* ProductList - remove publish and unpublish buttons

* update messages

* update snapshots, messages

* revert changes in ChannelsAvailabilityDropdown

* products/shipping/discount list settings (#739)

* create ChannelSettingsDialog component

* update snapshots

* ProductList - open settings modal when there is no selected channel

* add settings modal to vouchers list

* add settings dialog to sales list

* add setting modal to shipping list

* update shipping

* update snapshots, messages

* useChannelsSettings - remove selectedChannelSlug

* fix channels update handler in product and shipping view

* messages update in ChannelSettingsDialog

* handle product/discount list when there is no channels

* update onSettingsOpen prop

* collection availability dropdown (#743)

* add availability dropdown to collection products list

* update channelListingProduct fragment name

* update voucher view/components with channels (#746)

* update voucher view/components with channels

* update VoucherSummary, remove defaultCurrency from voucher components

* update snapshots

* move getChannelsVariables func to discounts handlers

* update voucher messages

* sale view/components with channels (#750)

* update sale views with channels

* small fixes in discounts

* order views with channels (#752)

* update draft orders with channels

* add channel activate/deactivate mutations

* remove sort by total in orders list

* add error notification on channel activate/deactivate

* product variants channel select (#755)

* add channels selector to ProductVariants component

* remove selectedChannel from ProductUpdate, update messages and snapshots

* update product fragments

* update translations (#762)

* update translations

* fix translation types

* update messages

* update Availability component (#766)

* update ChannelsAvailability component

* update product fixtures

* update collection and channel fixtures

* ChannelsAvailability - handle errors

* update product handlers

* update ChannelsAvailability styles

* update ProductVariant

* update snapshots

* fix missing things in multichannel  (#785)

* add availability dropdown to discount products list

* fix error handling in shipping components

* update product views and components

* update messages

* update category view/components

* update CategoryProducts styles

* remove defaultCurrency from shipping components

* create ChannelsSelect component

* update channels error handling after review

* another fixes after review

* Add channels to collection views/components (#791)

** update collection components and views

* update create collection view

* update error handling in collection

* remove filter bar from collection list

* update products fragments

* small fix in collection create view

* use collectionFragment in useCatalogSearch

* update defaultMessages and snapshots

* update homepage view/drop defaultCurrency (#801)

* update homepage view

* drop defaultCurrency prop

* fix onChannelChange function in home view

* remove visibility from product list filters

* update export products with channels (#803)

* update ProductExportDialog with channels

* add new channel error code

* remover VISIBLE from product export dialog Financial information

* fix input size in ProductVariantCreatorSummary (#804)

* channels currency code select (#806)

* create select with currency codes

* fix ChannelDeleteDialog

* update defaultMessages, remove unneeded ChannelDetails handlers

* fixes after rebase

* replace channelListing with channelListings

* [multichannel] Update schema]

* Fix product create test

Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 17:10:42 +01:00
Karolina Kuźniewicz
b7294e9cbc Support multiline text in plugin configuration secret field 2020-11-13 17:55:20 +01:00
Krzysztof Wolski
054c067653
Update schema - remove webhooks (#827)
* Remove unused code and update schema

* Remove old code
2020-11-12 14:47:44 +01:00
dominik-zeglen
b2e6baf4e9 Use proper submit return type 2020-11-06 11:54:03 +01:00
dominik-zeglen
3de9ae58df Update tests 2020-11-06 09:34:05 +01:00
dominik-zeglen
4d15fa52b8 Add undo ability 2020-11-05 17:32:55 +01:00
dominik-zeglen
02e93b06d6 Use rich text editor in translations 2020-11-05 17:30:38 +01:00
dominik-zeglen
55d9a1c986 Fix selection styles 2020-11-05 15:31:00 +01:00
dominik-zeglen
8bc0b18e4f wip 2020-11-05 15:16:39 +01:00
dominik-zeglen
bc78c03e29 Improve dark mode 2020-11-05 15:10:46 +01:00
dominik-zeglen
dfc063caa1 Improve component encapsulation 2020-11-05 14:56:29 +01:00
dominik-zeglen
44df6225ad Add todo 2020-11-04 13:59:28 +01:00
dominik-zeglen
7c90ec1c72 Fix types 2020-11-04 13:59:26 +01:00
dominik-zeglen
f4dfbe7e90 Fix header styling 2020-11-04 13:59:25 +01:00
dominik-zeglen
7c9f2a93d4 Add rich text editor to pages 2020-11-04 13:59:23 +01:00
dominik-zeglen
aa3559117d Fix isPublished flag 2020-11-04 13:59:04 +01:00
dominik-zeglen
b27f28c822 Add rich text editor to collection pages 2020-11-04 13:59:03 +01:00
dominik-zeglen
06ef285d15 Fix metadata 2020-11-04 13:59:02 +01:00
dominik-zeglen
9adde24a48 Add rich text editor to category pages 2020-11-04 13:59:01 +01:00
dominik-zeglen
28cc74c954 Add rich text editor to product pages 2020-11-04 13:58:38 +01:00
dominik-zeglen
437df6fe9a wip 2020-11-04 13:58:36 +01:00
dominik-zeglen
88bd52763c Add ability to save data 2020-11-04 13:58:34 +01:00
dominik-zeglen
393b4a5860 Fix styles 2020-11-04 13:58:33 +01:00
dominik-zeglen
815941fc82 Fix types 2020-11-04 13:58:31 +01:00
dominik-zeglen
dab8064e26 Use editorjs instead of draftail 2020-11-04 13:58:30 +01:00
Dominik Żegleń
d16cf2c6da
Merge branch 'master' into SALEOR-1403-cannot-fulfill-order-when-product-quantity-is-one 2020-11-03 12:15:39 +01:00
Dominik Żegleń
f217366fbf
Merge pull request #815 from mirumee/alias-form-errors-as-any
Use dedicated type to return error promise
2020-11-03 11:49:34 +01:00
Dominik Żegleń
f72ac516e7
Merge pull request #809 from mirumee/SALEOR-1507-add-company-name-to-create-warehouse-form
Add company name to create warehouse form submission
2020-11-03 11:47:27 +01:00
Marcin Gębala
27bc372ac5
Merge pull request #793 from mirumee/lush-collection-load-more
Add missing infinite scroll to searches
2020-11-03 11:36:14 +01:00
dominik-zeglen
6988316fbc Use dedicated type to return error promise 2020-11-02 14:26:02 +01:00
Dominik Żegleń
3b5c2b26c1
Merge pull request #799 from mirumee/feature/1347-savebar-design
Implement new savebar design
2020-11-02 14:20:08 +01:00
dominik-zeglen
f07fe61c17 Add array operator 2020-11-02 14:19:45 +01:00
dominik-zeglen
6ee5038f6c Wait for notification to disappear 2020-11-02 13:20:52 +01:00
dominik-zeglen
a13d9dc547 Flatten error list 2020-10-30 16:10:08 +01:00
dominik-zeglen
623ec69e1f Fix types 2020-10-30 16:10:07 +01:00
dominik-zeglen
a27a029452 Pass promise to reset form state 2020-10-30 16:10:06 +01:00
dominik-zeglen
dfb2258406 Remove unused import 2020-10-30 16:10:04 +01:00
dominik-zeglen
ba602a6bf6 Dock savebar even if it's disabled 2020-10-30 16:10:03 +01:00
dominik-zeglen
63f042a91b Improve typing 2020-10-30 16:10:02 +01:00
dominik-zeglen
a34d22de8f Fix undefined and null objects handling 2020-10-30 16:10:00 +01:00
dominik-zeglen
16d9d28033 Fix types 2020-10-30 16:09:59 +01:00
dominik-zeglen
37541c24e1 Extract variant update form outside page 2020-10-30 16:09:58 +01:00
dominik-zeglen
78bb07e948 Extarct variant create form component 2020-10-30 16:09:56 +01:00
dominik-zeglen
2830dd7b55 Add ability to reset change state after success 2020-10-30 16:09:55 +01:00
dominik-zeglen
2abe680093 Fix change trigger 2020-10-30 16:09:35 +01:00
dominik-zeglen
374a072bf7 Extract product update form to separate component 2020-10-30 16:09:34 +01:00
dominik-zeglen
d192bcac34 Add custom form component to product create 2020-10-30 16:07:46 +01:00
Dominik Żegleń
e39f24cc0c
Merge branch 'master' into lush-collection-load-more 2020-10-30 15:38:37 +01:00
dominik-zeglen
573cda058f Make category and collection assign dialog common 2020-10-30 15:00:43 +01:00
Magdalena Markusik
e694122a42 Add company name to form submission 2020-10-30 14:57:01 +01:00
Grzegorz Derdak
e14b144636 Merge branch 'master' into SALEOR-1403-cannot-fulfill-order-when-product-quantity-is-one 2020-10-30 14:13:02 +01:00
Grzegorz Derdak
cbdda30a3a Update logic based on new API fields 2020-10-30 14:11:10 +01:00
mmarkusik
68593f67ac
Merge pull request #797 from mirumee/SALEOR-1453-fix-order-updated-on-address-change
Call proper mutation on address change for draft / non draft order
2020-10-30 11:27:43 +01:00
mmarkusik
ddd988191c
Merge pull request #805 from mirumee/SALEOR-1482-fix-single-autocomplete-select
Update condition for falsy values in Single autocomplete select field to also include null
2020-10-30 10:43:36 +01:00
Magdalena Markusik
6c74ae5591 Update condition for falsy values in Single autocomplete select field 2020-10-29 15:30:31 +01:00
Magdalena Markusik
b5d92f3c44 Refactor 2020-10-29 12:59:48 +01:00
mmarkusik
f128253c06
Merge pull request #795 from mirumee/SALEOR-1463-fix-adding-warehouses-to-products
fix adding warehouses to products
2020-10-29 09:53:34 +01:00
Tomasz Szymanski
66f435bba0 Call proper mutation on address change for draft / non draft order 2020-10-28 14:11:22 +01:00
Dominik Żegleń
a0939a58f4
Merge pull request #782 from mirumee/add/pages-metadata-1413
Add metadata editor to page views
2020-10-28 13:59:25 +01:00
Tomasz Szymański
e4fc4489df
Merge pull request #784 from mirumee/SALEOR-1264-avatax-address-fix
Remove the finalization dialog on draft order complete
2020-10-28 09:57:09 +01:00
Magdalena Markusik
9f3ae6e4ae fix adding warehouses to products 2020-10-27 16:02:46 +01:00
dominik-zeglen
a855a95246 Filter out products with no variant 2020-10-27 09:55:06 +01:00
dominik-zeglen
1f92b380c5 Remove developer code 2020-10-26 14:17:24 +01:00
dominik-zeglen
bc6a832af7 Fix story 2020-10-26 14:07:51 +01:00
dominik-zeglen
3df64beb59 Fix product assign styling 2020-10-26 14:04:04 +01:00
dominik-zeglen
fb0a503b91 Add load more to category and collection selection 2020-10-26 12:20:52 +01:00
dominik-zeglen
96d8aa101c Add infinite scroll to product selection 2020-10-26 11:29:41 +01:00
Grzegorz Derdak
9036294491 Changes after code review 2020-10-23 13:21:04 +02:00
dominik-zeglen
93b6560da4 Add metadata editor to page views 2020-10-23 12:28:13 +02:00
Marcin Gębala
1bfc13c8b5
Merge pull request #786 from mirumee/Fix-single-autocomplete-select-inputs
Fix single autocomplete select inputs
2020-10-23 10:04:28 +02:00
Magdalena Markusik
c597362024 Fix product create publication date 2020-10-22 16:11:29 +02:00
Magdalena Markusik
10d8319073 fix 2020-10-22 12:28:15 +02:00
Grzegorz Derdak
c9040d9e8b Fix for fulfilling order when product quantity is 1 2020-10-22 11:58:20 +02:00
Magdalena Markusik
bfdeb0d654 Fix single autocomplete inputs 2020-10-22 11:38:10 +02:00
Magdalena Markusik
03aafd8b63 wip 2020-10-22 11:38:09 +02:00
Magdalena Markusik
e9b32486b3 fix 2020-10-22 11:15:49 +02:00
mmarkusik
6fa2d5810a
Merge pull request #780 from mirumee/Fix-publish-and-available-for-purchase-behaviour
Fix publish and available for purchase behaviour
2020-10-21 13:00:40 +02:00
Magdalena Markusik
568e1b1792 fix publish date not resetting when changed radio field value 2020-10-21 11:06:32 +02:00
Tomasz Szymanski
6d5b3a6b57 Fix tests 2020-10-21 10:48:46 +02:00
Tomasz Szymanski
f66be95b57 Remove the finalization dialog 2020-10-20 15:19:58 +02:00
Magdalena Markusik
fddd3c8f3b update tests 2020-10-20 11:31:59 +02:00
Magdalena Markusik
e7c2c65b2f add alt prop to close icon 2020-10-20 10:15:36 +02:00
Magdalena Markusik
2bc7d88227 fix 2020-10-19 12:59:43 +02:00
Magdalena Markusik
374aab6603 fix 2020-10-19 12:28:43 +02:00
dominik-zeglen
03fc4c2dae Fix multiple value dropdown 2020-10-19 11:33:51 +02:00
Magdalena Markusik
e472bea95f fix 2020-10-19 11:19:07 +02:00
Dominik Żegleń
de31431af3
Merge pull request #768 from mirumee/refactor/product-permissions
Add manage product types and attributes permission
2020-10-16 10:47:05 +02:00
Dominik Żegleń
2d59e4e0df
Merge pull request #769 from mirumee/fix/redundant-code-and-custom-attribute-value
Fix custom attribute value
2020-10-16 10:35:04 +02:00
Dominik Żegleń
32de699216
Merge pull request #764 from mirumee/fix/price-errors-1244
Do not allow negative values and display errors
2020-10-16 10:12:47 +02:00
Dawid Tarasiuk
e0a1d11991 Update product permission pages access 2020-10-15 14:43:38 +02:00
dominik-zeglen
33c52788b1 Remove unused component state 2020-10-15 13:56:22 +02:00
Dawid Tarasiuk
0f3a2907d3 Update product permissions 2020-10-15 13:37:30 +02:00
dominik-zeglen
787a5f95c8 Fix custom attribute value 2020-10-15 13:24:15 +02:00
dominik-zeglen
952dd37747 wip 2020-10-15 10:00:31 +02:00
dominik-zeglen
dbdb93445b Remove unused import 2020-10-14 10:19:30 +02:00
dominik-zeglen
b2a8229dc0 Dock savebar even if it's disabled 2020-10-14 10:17:23 +02:00
Dawid Tarasiuk
bf450de822 Handle case when there is no default variant selected 2020-10-13 18:36:45 +02:00
Dawid Tarasiuk
a9979f6743 Fix defaulrt variant type duplication 2020-10-13 18:16:06 +02:00
Krzysztof Wolski
10c44d3ac5 Update translation contextCo-authored-by: Patryk Zawadzki <81205+patrys@users.noreply.github.com> 2020-10-13 18:10:55 +02:00
Krzysztof Wolski
db1c33d1fe Add default variant indicator for variant nav 2020-10-13 18:10:12 +02:00
Marcin Gębala
1334729b3c
Merge pull request #761 from mirumee/fix/variant-attribute-no-value-1242
Fix overlapping input placeholder
2020-10-13 17:13:40 +02:00
Marcin Gębala
5cc005da96
Merge pull request #759 from mirumee/fix/variant-table-header-1319
Fix delete icon placement
2020-10-13 17:13:24 +02:00
Marcin Gębala
efc4eca689
Merge pull request #758 from mirumee/fix/attribute-table-bins-1324
Fix column width
2020-10-13 17:13:01 +02:00
dominik-zeglen
264f2ba8c8 Handle empty input in variant creation 2020-10-13 15:54:35 +02:00
dominik-zeglen
7d397606f0 Disable set as default if variant is default 2020-10-13 15:43:10 +02:00
Dominik Żegleń
fca8d7ab28
Merge pull request #737 from mirumee/fix/handle-attribute-errors
Fix handle attribute errors
2020-10-13 15:14:26 +02:00
Dominik Żegleń
a90a1f0157
Merge pull request #760 from mirumee/fix/slug-length-1159
Limit slug to 255 characters
2020-10-13 15:07:52 +02:00
dominik-zeglen
9396f62df1 Fix debug value 2020-10-13 13:31:53 +02:00
dominik-zeglen
7aebb67cfd Do not allow negative values and display errors 2020-10-13 13:29:42 +02:00
dominik-zeglen
8625660db3 Fix overlapping input placeholder 2020-10-12 16:45:21 +02:00
dominik-zeglen
450b3bf15c Limit slug to 255 characters 2020-10-12 16:32:19 +02:00
dominik-zeglen
85099e1113 Fix delete icon placement 2020-10-12 15:15:00 +02:00
dominik-zeglen
7052027b1d Fix column width 2020-10-12 14:47:44 +02:00
dominik-zeglen
d514cd3d88 Remove unused imports 2020-10-12 12:56:11 +02:00
dominik-zeglen
87ece837db Show empty option only when prop is passed 2020-10-12 12:56:10 +02:00
dominik-zeglen
c15aaa833b Fix attribute empty option 2020-10-12 12:56:08 +02:00
dominik-zeglen
c60d5bff56 Update snapshots 2020-10-12 12:56:07 +02:00
dominik-zeglen
60fb2266a9 Use dedicated error fragment 2020-10-12 12:56:05 +02:00
dominik-zeglen
ee1ecff1f8 Handle attribute errors in product views 2020-10-12 12:56:04 +02:00
dominik-zeglen
369fd09853 Display attribute errors in product view 2020-10-12 12:56:03 +02:00
Dawid Tarasiuk
f85ca42d36 Use non negative value change handler for quantity input 2020-10-09 13:15:19 +02:00
Dawid Tarasiuk
8abe279248 Require minimum quantity equals one 2020-10-09 13:09:12 +02:00
Dawid Tarasiuk
484780dcc3 Fix order draft negative quantity 2020-10-09 13:09:11 +02:00
Dawid Tarasiuk
1fda14d2aa Update test snapshots 2020-10-09 13:08:24 +02:00
Dawid Tarasiuk
66a049b2dd Create non negative value change handler 2020-10-09 13:08:24 +02:00
Dawid Tarasiuk
a10fc62819 Update test snapshots 2020-10-09 13:08:23 +02:00
Dawid Tarasiuk
5d1361f352 Prevent negative price setting in input 2020-10-09 13:08:22 +02:00
Dawid Tarasiuk
bf295e4dce
Merge pull request #751 from mirumee/fix/set-default-variant-dalert
Fix set default variant alert
2020-10-09 12:46:04 +02:00
Dawid Tarasiuk
12dab278a6
Merge pull request #749 from mirumee/fix/order-fullfilment-redirect
Fix order fulfillment redirect
2020-10-09 11:05:08 +02:00
Dawid Tarasiuk
3df1f0c041 Fix set default variant alert 2020-10-09 11:00:06 +02:00
Dawid Tarasiuk
12f56b3c96 Fix order draft back button redirect 2020-10-08 12:45:39 +02:00
Dawid Tarasiuk
46cadf0c48
Merge pull request #713 from mirumee/fix/no-warehouses-in-variant-creator
Add no warehouses info when working with stock quantities
2020-10-08 12:42:10 +02:00
Dawid Tarasiuk
992816c641 Update storybook with no warehouses case 2020-10-08 11:54:15 +02:00
Dawid Tarasiuk
758c22770f
Merge pull request #744 from mirumee/fix/product-type-attributes-empty-table
Fix style of product type attributes empty table
2020-10-07 15:54:15 +02:00
Dawid Tarasiuk
62e844449b Fix order fullfilment redirect 2020-10-06 11:44:57 +02:00
Dawid Tarasiuk
2c18669a16
Merge pull request #740 from mirumee/fix/shipping-weight-error-label
Fix shipping weight error label state
2020-10-02 17:25:36 +02:00
Dawid Tarasiuk
8dcb263cd3 Update product type test snapshot 2020-10-02 12:50:58 +02:00
Dawid Tarasiuk
5adcc77e14 Fix style of product type attributes empty table 2020-10-02 12:36:41 +02:00
Dominik Żegleń
769f30e135
Use regex instead of string to replace all "\n" occurences (#736)
* Use regex instead of string to replace all

* Add global flag to regex to replace all occurences

Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2020-10-02 11:05:52 +02:00
Krzysztof Wolski
7e95d53155
Fix Variant Details console errors (#742)
* Add default empty unit when there is no specified one

* Add index required in draggable tables

* Select fields should get undefined value instead of null
2020-10-02 11:04:54 +02:00
Dominik Żegleń
287a2eb8ed
Hide save bar if no action is available (#735) 2020-10-01 17:50:17 +02:00
Dawid Tarasiuk
1df93cddaf Fix shipping weight error label state 2020-09-30 13:33:25 +02:00
Krzysztof Wolski
7cd3409bb3
Fix failing cypress test (#738)
* Add test selector for autocomplete field

* Update snapshot
2020-09-30 11:48:00 +02:00
Dawid Tarasiuk
61723bd045 Fix warehouse configure link translation 2020-09-29 18:01:36 +02:00
Dawid Tarasiuk
dc43578d5a Update configure warehouse link 2020-09-29 15:18:07 +02:00
Dominik Żegleń
30c411179f
Merge pull request #733 from mirumee/fix/table-layout
Fix staff members table
2020-09-29 12:56:45 +02:00
Dawid Tarasiuk
bf18651f7d Remove leave screen dialog 2020-09-29 12:08:54 +02:00
Dawid Tarasiuk
4b01781157 Use ref to persist leave action 2020-09-29 11:06:42 +02:00
Dawid Tarasiuk
b9bccd07f3 Refactor leave action in product update 2020-09-28 17:41:24 +02:00
Dawid Tarasiuk
4aefafda9c Remove unused callback 2020-09-28 14:50:46 +02:00
Dawid Tarasiuk
ce812aaab4 Fix translations 2020-09-28 14:46:56 +02:00
Dawid Tarasiuk
73fe19011b Update submit next action handling 2020-09-28 14:46:55 +02:00
Dawid Tarasiuk
6d39899db3 Revert changes of product urls 2020-09-28 14:46:55 +02:00
Dawid Tarasiuk
e8e1162698 Update submit next action logic 2020-09-28 14:46:54 +02:00
Dawid Tarasiuk
1aaa5c5c3a Add redirect on warehouse configuration action 2020-09-28 14:45:38 +02:00
Dawid Tarasiuk
6065c5ded6 Add no warehouses info in variant and product details 2020-09-28 14:43:36 +02:00
Dawid Tarasiuk
9e8f453c99 Add no warehouses info in variant creator 2020-09-28 14:40:53 +02:00
dominik-zeglen
3d3f2fa924 Fix staff members table 2020-09-28 12:32:32 +02:00
Marcin Gębala
7e24e4a14f
Merge pull request #720 from mirumee/feat/add-slug-to-seo-form
Add slug field to category, product, collection & page details
2020-09-25 18:44:08 +02:00
Marcin Gębala
354b0f5b90
Merge pull request #732 from mirumee/fix/table-layout
Fix exploding table layout
2020-09-25 18:43:44 +02:00
dominik-zeglen
dd6695070c Update snapshots 2020-09-25 18:18:07 +02:00
Marcin Gębala
55d748e3c6
Merge pull request #731 from mirumee/revert-menu
Revert menu
2020-09-25 18:16:18 +02:00
Magdalena Markusik
70815b0d51 fixes 2020-09-25 18:02:28 +02:00
Magdalena Markusik
8f43226e95 Merge branch 'master' into feat/add-slug-to-seo-form 2020-09-25 17:41:58 +02:00
Dominik Żegleń
b571eef598
Merge pull request #728 from mirumee/add/taxes-per-product
Allow taxes to be configured per product
2020-09-25 17:28:56 +02:00
dominik-zeglen
85b4d13ba2 Hide navigator button on mobile devices 2020-09-25 17:27:50 +02:00
dominik-zeglen
80c57ae0c0 Revert "Fix return to previous page on screen size change (#710)"
This reverts commit 45d33c3920.
2020-09-25 17:23:07 +02:00
dominik-zeglen
56b331aef2 Fix typo 2020-09-25 17:02:27 +02:00
dominik-zeglen
45f12f4f72 Update snapshots 2020-09-25 17:00:18 +02:00
dominik-zeglen
4849adbe8f Fix colSpan 2020-09-25 17:00:18 +02:00
dominik-zeglen
e13086fef3 Fix exploding table layout 2020-09-25 17:00:17 +02:00
Marcin Gębala
cf91edaaf9 Revert "Merge pull request #697 from mirumee/ref/sidebar"
This reverts commit b1623eaaf5, reversing
changes made to 14da39ebfa.
2020-09-25 16:45:27 +02:00
Magdalena Markusik
f956be3fbc refactor after review 2020-09-25 16:44:11 +02:00
Marcin Gębala
42931a1d31 Revert "Merge pull request #703 from mirumee/ref/sidebar-mobile"
This reverts commit acfd04e81a, reversing
changes made to 40d27a9280.
2020-09-25 16:38:59 +02:00
mmarkusik
c8e06812e6
Merge branch 'master' into feat/add-slug-to-seo-form 2020-09-25 15:39:05 +02:00
Magdalena Markusik
cc166f463c refactor after review 2020-09-25 15:27:57 +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
4da205bb24
Merge pull request #730 from mirumee/fix/disable-autocomplete-in-email-field
add autocomplete off to email field in site settings
2020-09-25 13:50:57 +02:00
Dawid Tarasiuk
388c4c97ec
Merge pull request #729 from mirumee/fix/showing-skeleton-for-price-in-product-list
Fix skeleton showing for price in product list
2020-09-25 13:49:30 +02:00
Magdalena Markusik
4457da981e update tests 2020-09-24 16:07:48 +02:00
Magdalena Markusik
cb977c4516 add type url to email field in site settings 2020-09-24 15:56:44 +02:00
Magdalena Markusik
c2039f751e add autocomplete off to email field in site settings 2020-09-24 15:38:21 +02:00
Magdalena Markusik
c0d02d6943 refactor 2020-09-24 15:31:29 +02:00
Magdalena Markusik
2519ed9496 add pattern matching for slug field not to use special characters 2020-09-24 15:30:16 +02:00
Magdalena Markusik
dbbb0ac990 fix tests 2020-09-24 14:56:42 +02:00
Magdalena Markusik
41209ce8dc fix types 2020-09-24 14:33:14 +02:00
Magdalena Markusik
4a8b8e3c2f Fix mutation for simple product update 2020-09-24 14:17:26 +02:00
Magdalena Markusik
828e207209 add error handling to seo form 2020-09-24 14:11:30 +02:00
dominik-zeglen
5b6a420199 Update changelog, stories and messages 2020-09-24 13:49:49 +02:00
dominik-zeglen
9a9c6a01a1 Fix stories 2020-09-24 13:49:48 +02:00
dominik-zeglen
a028c69810 Add support for changing tax type for products 2020-09-24 13:46:51 +02:00
dominik-zeglen
baff4413a5 Improve rendering of large lists 2020-09-24 13:46:50 +02:00
dominik-zeglen
2b92211b99 Add tax section to product view 2020-09-24 13:46:48 +02:00
Dawid Tarasiuk
2805b752f0
Merge pull request #726 from mirumee/disable-autocomplete-for-auth-keys-inputs
Disable autocomplete for plugin auth key field and site settings auth field
2020-09-24 09:08:09 +02:00
Dawid Tarasiuk
30ab1bb439 Fix misaligned rich text draft controls 2020-09-23 17:58:25 +02:00
Magdalena Markusik
0faf70aea6 wip 2020-09-23 14:03:15 +02:00
Magdalena Markusik
edb03e81b0 Disable autocomplete for plugin auth key field and site settings auth fields 2020-09-23 10:19:18 +02:00
mmarkusik
8093876c7b
Merge branch 'master' into feat/add-slug-to-seo-form 2020-09-23 09:39:29 +02:00
mmarkusik
ce77c9df10
Fix strings containing "informations" (#722)
* update

* update changelog

Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2020-09-22 18:04:06 +02:00
Magdalena Markusik
c20c84da35 refactor 2020-09-22 13:10:53 +02:00
mmarkusik
c7124ffc41
Merge branch 'master' into feat/add-slug-to-seo-form 2020-09-22 09:58:33 +02:00
dominik-zeglen
b0053e1f92 Fix table horizontal scrolling 2020-09-21 17:19:33 +02:00
Magdalena Markusik
e69c7057bd fix lint 2020-09-21 16:30:18 +02:00
Magdalena Markusik
ca644c9bb0 refactor 2020-09-21 15:34:32 +02:00
dominik-zeglen
35624d3008 Fix uncontrolled to controlled input change 2020-09-21 15:34:15 +02:00
Magdalena Markusik
0f4d0f1195 fix types and lint 2020-09-21 14:57:12 +02:00
Magdalena Markusik
77063deb4f fix seo form to work with null values from some props 2020-09-21 14:45:57 +02:00
Magdalena Markusik
37e0ecce26 add slug field to category update and create 2020-09-21 12:47:03 +02:00
Magdalena Markusik
6ae8fcebcd update product create mutation create handler 2020-09-21 12:24:11 +02:00
Magdalena Markusik
52cf01ed72 update mutation and fixtures 2020-09-21 12:05:43 +02:00
Dominik Żegleń
a78af2b9db
Merge branch 'master' into fix/avatar-change-button 2020-09-21 11:12:56 +02:00
Dawid Tarasiuk
8d9162cd1d Update test snapshots 2020-09-21 10:34:34 +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
Dawid Tarasiuk
e474f90a8e Update test snapshots 2020-09-18 17:01:36 +02:00
Dawid Tarasiuk
f7936fa3fc Fix avatar change button 2020-09-18 17:01:17 +02:00
Magdalena Markusik
d20b58dd79 fixes afer merge 2020-09-18 16:40:48 +02:00
Magdalena Markusik
7631a7a281 Merge branch 'master' into feat/add-slug-to-seo-form 2020-09-18 15:35:22 +02:00
Dawid Tarasiuk
45d33c3920
Fix return to previous page on screen size change (#710)
* Fix header responsiveness

* Update changelog
2020-09-18 15:08:50 +02:00
AlicjaSzu
cd88102af7
fix product availability date (#696)
* VisibilityCard - fix product availability date

* revert changes in VisibilityCard, refetch data on successfully updated availability

* fix availability in ProductCreate and ProductUpdate

* ProductUpdate - remove unneeded refetch

* create  getProductAvailabilityVariables handler
2020-09-18 15:01:00 +02:00
Dawid Tarasiuk
acfd04e81a
Merge pull request #703 from mirumee/ref/sidebar-mobile
Improve sidebar responsiveness
2020-09-18 12:16:27 +02:00
Dawid Tarasiuk
62b5219af8 Update translations 2020-09-18 11:42:36 +02:00
Dawid Tarasiuk
40d27a9280
Merge pull request #711 from mirumee/fix/order-details-update
Fix updating order details on address change
2020-09-17 16:16:21 +02:00
Magdalena Markusik
8a80f3dd4d Add slug field for page details wip 2020-09-17 16:06:13 +02:00
Maciej Korycinski
24ea28f987
Pass missing isVisibleListing variable to mutation (#712)
* Pass missing arguments

* Update types
2020-09-16 15:28:05 +02:00
Dawid Tarasiuk
d3102c2a62 Update order details on address change 2020-09-15 15:18:50 +02:00
Dominik Żegleń
2600767431
Add error info when fetching taxes (#701)
* Add error info

* Update changelog
2020-09-15 14:03:39 +02:00
dominik-zeglen
bf752d1ee7 Add mobile drawer menu 2020-09-11 15:58:15 +02:00
dominik-zeglen
989f66f7de Add SquareButton component 2020-09-11 12:43:55 +02:00
dominik-zeglen
6fcc0eaf79 Improve userbar styles 2020-09-11 12:29:08 +02:00
dominik-zeglen
95f11a3032 Fix app header responsiveness 2020-09-10 17:37:25 +02:00
dominik-zeglen
a7c65f77e4 Move userbar to separate component 2020-09-10 17:20:22 +02:00
dominik-zeglen
ed3d168d22 Fix app header 2020-09-10 17:11:36 +02:00
dominik-zeglen
668290d500 Update snapshots 2020-09-09 13:21:29 +02:00
dominik-zeglen
14b32db8ec Fix test selectors 2020-09-09 13:15:18 +02:00
dominik-zeglen
297fa35edd Fix menu hiding 2020-09-09 12:59:59 +02:00
dominik-zeglen
155dcbecb3 Listen to all clickAways 2020-09-09 12:59:58 +02:00
dominik-zeglen
89c33deb3d Fix submenu shadow 2020-09-09 12:59:56 +02:00
dominik-zeglen
a1b8cba07b Do not break white space 2020-09-09 12:59:55 +02:00
dominik-zeglen
c862cc1eae Align text to left 2020-09-09 12:59:54 +02:00
dominik-zeglen
4fa7730611 Improve dom nesting 2020-09-09 12:59:53 +02:00
dominik-zeglen
3d571e3f4f Visual improvements 2020-09-09 12:59:52 +02:00
dominik-zeglen
e8a69cd9fc Fix sidebar positiion 2020-09-09 12:59:51 +02:00
dominik-zeglen
da0677ca42 Fix submenu text color 2020-09-09 12:59:49 +02:00
dominik-zeglen
ac0e8f03fc Remove obsolete files 2020-09-09 12:59:47 +02:00
dominik-zeglen
97c3d06241 Improve accessibility 2020-09-09 12:59:46 +02:00
dominik-zeglen
f1960281f8 Add styles to expand button 2020-09-09 12:59:45 +02:00
dominik-zeglen
da16d8a087 Remove unused style 2020-09-09 12:59:44 +02:00
dominik-zeglen
c1c5713592 Add styles to menu 2020-09-09 12:59:43 +02:00
dominik-zeglen
2711292315 Add menu skeleton 2020-09-09 12:59:41 +02:00
Marcin Gębala
984e794fd9
Merge branch 'master' into feature/update-default-decimal-places 2020-09-09 11:33:54 +02:00
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
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
dominik-zeglen
e20ff94910 Use json files in translations 2020-02-13 12:54:23 +01:00
dominik-zeglen
c4c0f22cec Fix ICU plurals 2020-02-13 12:54:05 +01:00
Marcin Gębala
24cfd20205
Merge branch 'master' into add/order-filter-fields 2020-02-12 14:06:52 +01:00
Marcin Gębala
9a42438ee0
Merge branch 'master' into fix/column-picker 2020-02-12 13:55:38 +01:00
Marcin Gębala
59751313b8
Merge branch 'master' into fix/publish-error-indicator 2020-02-12 13:45:51 +01:00
dominik-zeglen
1812d6752d Handle invalid token error 2020-02-11 17:36:53 +01:00
dominik-zeglen
e10b456230 Update snapshots 2020-02-03 12:59:42 +01:00
dominik-zeglen
5bce79a621 Fix label 2020-02-03 12:53:05 +01:00
dominik-zeglen
535d1c780c Add customer field 2020-02-03 12:40:46 +01:00
dominik-zeglen
44d79897f2 Fix column picker errors 2020-01-31 16:20:14 +01:00
dominik-zeglen
d5cb6523fd Update snapshots 2020-01-31 15:01:26 +01:00
dominik-zeglen
35d433f7ca Improve form error handling 2020-01-31 14:48:39 +01:00
dominik-zeglen
d677919b76 Fix crash when one product is selected 2020-01-31 14:21:34 +01:00
Marcin Gębala
95df0e8739
Merge branch 'master' into fix/password-reset 2020-01-20 17:18:54 +01:00
dominik-zeglen
6afda334be Update snapshots 2020-01-20 17:06:05 +01:00
dominik-zeglen
13db408919 Fix collection filtering 2020-01-20 16:47:52 +01:00
dominik-zeglen
c17442ae95 Fix homepage link 2020-01-20 16:47:51 +01:00
dominik-zeglen
bd0593b1f6 Fix minor bugs 2020-01-20 16:47:51 +01:00
dominik-zeglen
5fbde28cb4 Fix select menus 2020-01-20 16:47:50 +01:00
dominik-zeglen
5f3024d0b4 Update snapshots 2020-01-20 16:47:49 +01:00
dominik-zeglen
5ca01db4eb Fix types 2020-01-20 16:47:48 +01:00
dominik-zeglen
8ddf66f134 Add attribute filter 2020-01-20 16:47:46 +01:00
dominik-zeglen
0e247c7b95 Suppress popper.js warnings 2020-01-20 16:47:36 +01:00
dominik-zeglen
38bbcddd3d Add no results text 2020-01-20 16:47:35 +01:00
dominik-zeglen
5dcc8c76e3 Fix types 2020-01-20 16:47:34 +01:00
dominik-zeglen
a30f52e2d8 Improve options field 2020-01-20 16:47:33 +01:00
dominik-zeglen
6e68c0b4da Remove unused code 2020-01-20 16:47:32 +01:00
dominik-zeglen
0d88bd4f4a Fix unreachable controls 2020-01-20 16:47:31 +01:00
dominik-zeglen
3bdd0dab6f Add product type filter 2020-01-20 16:47:30 +01:00
dominik-zeglen
0a58c3a5e1 Refactor multiple choice field widget 2020-01-20 16:47:19 +01:00
dominik-zeglen
15470221c2 Add click away 2020-01-20 16:47:19 +01:00
dominik-zeglen
aeb209744a Add category and collection filter 2020-01-20 16:47:18 +01:00
dominik-zeglen
525ce272e3 Add debug hook 2020-01-20 16:46:59 +01:00
dominik-zeglen
943232acb3 Add query param getters 2020-01-20 16:46:58 +01:00
dominik-zeglen
8361ef0917 Remove unused import 2020-01-20 16:46:57 +01:00
dominik-zeglen
83e1f62da4 Add filter tests 2020-01-20 16:46:56 +01:00
dominik-zeglen
ed5cd00062 Add test utils 2020-01-20 16:46:54 +01:00
dominik-zeglen
a503f08538 Update stories 2020-01-20 16:46:53 +01:00
dominik-zeglen
35324951ec Add tabs and filters to plugins 2020-01-20 16:46:52 +01:00
dominik-zeglen
e4397b1f75 Fix sorting input typing 2020-01-20 16:46:51 +01:00
dominik-zeglen
36501a7131 Update stories 2020-01-20 16:46:21 +01:00
dominik-zeglen
3beb283ef6 Add filtering to webhooks 2020-01-20 16:46:20 +01:00
dominik-zeglen
c5b3e22ec5 Update stories 2020-01-20 16:46:19 +01:00
dominik-zeglen
a4a9703abd Add filters to service list 2020-01-20 16:46:18 +01:00
dominik-zeglen
c90c58473f Move filter structure to page component 2020-01-20 16:46:16 +01:00
dominik-zeglen
12255d7f38 Add missing filters to query variables 2020-01-20 16:46:15 +01:00
dominik-zeglen
bd84bcbbf0 Update snapshots 2020-01-20 16:46:15 +01:00
dominik-zeglen
1e559b2feb Fix types 2020-01-20 16:46:14 +01:00
dominik-zeglen
d414729f01 Add filtering to attributes 2020-01-20 16:46:13 +01:00
dominik-zeglen
04a633bd32 Add boolean field 2020-01-20 16:46:12 +01:00
dominik-zeglen
f6055709cb Separate visual and app layer in staff members 2020-01-20 16:46:11 +01:00
dominik-zeglen
0fb8a66b9a Separate visual and app layer in product types 2020-01-20 16:46:10 +01:00
dominik-zeglen
15849ff2af Separate visual and app layer in products 2020-01-20 16:46:10 +01:00
dominik-zeglen
db60f13216 Separate visual and app layer in drafts 2020-01-20 16:46:09 +01:00
dominik-zeglen
cde1735869 Separate visual and app layer in orders 2020-01-20 16:46:08 +01:00
dominik-zeglen
7c69c81ce6 Separate visual and app layer in vouchers 2020-01-20 16:46:07 +01:00
dominik-zeglen
fc9a51c92a Separate visual and app layer in sales 2020-01-20 16:46:06 +01:00
dominik-zeglen
4df5a99a68 Separate visual and app layer in customers 2020-01-20 16:46:05 +01:00
dominik-zeglen
02a24de103 Separate visual and app layer in collections 2020-01-20 16:46:05 +01:00
dominik-zeglen
595f628245 Remove unused imports 2020-01-20 16:46:04 +01:00
dominik-zeglen
be649e32ea Use generic handlers 2020-01-20 16:46:03 +01:00
dominik-zeglen
a7304dabb0 Create generic filtering handlers 2020-01-20 16:46:02 +01:00
dominik-zeglen
310c9946c1 Update snapshots 2020-01-20 16:46:01 +01:00
dominik-zeglen
8b2aeaf58a Fix stories 2020-01-20 16:46:00 +01:00
dominik-zeglen
43a72d8436 Add filters to draft order list 2020-01-20 16:45:59 +01:00
dominik-zeglen
effcca27ac Add text field support 2020-01-20 16:45:58 +01:00
dominik-zeglen
c6783e569c Update snapshots 2020-01-20 16:45:57 +01:00
dominik-zeglen
7820c65050 Add filters to voucher list 2020-01-20 16:45:56 +01:00
dominik-zeglen
f9d0c22531 Add filtering to sale list 2020-01-20 16:45:55 +01:00
dominik-zeglen
890a27ae68 Update snapshots 2020-01-20 16:45:54 +01:00
dominik-zeglen
1588fe7a88 Add filtering to product types 2020-01-20 16:45:53 +01:00
dominik-zeglen
3125689ebd Update snapshots 2020-01-20 16:45:52 +01:00
dominik-zeglen
04e9e13c5a Add filters to staff member list 2020-01-20 16:45:51 +01:00
dominik-zeglen
eab3d67502 Remove unused import 2020-01-20 16:45:50 +01:00
dominik-zeglen
943e227522 Update stories 2020-01-20 16:45:49 +01:00
dominik-zeglen
b4cb44834c Add filtering to collections 2020-01-20 16:45:48 +01:00
dominik-zeglen
223237d0fd Update snapshots 2020-01-20 16:45:47 +01:00
dominik-zeglen
0ad80813fe Add filtering to customer list 2020-01-20 16:45:47 +01:00
dominik-zeglen
d3bd6a6c22 Simplify code 2020-01-20 16:45:46 +01:00
dominik-zeglen
e49e685c09 Update snapshots 2020-01-20 16:45:44 +01:00
dominik-zeglen
bfd754b9b2 Simplify code 2020-01-20 16:45:16 +01:00
dominik-zeglen
e520f30a86 Fix stories 2020-01-20 16:45:15 +01:00
dominik-zeglen
9e00800956 Fix filter toggling 2020-01-20 16:45:14 +01:00
dominik-zeglen
fe6996c0cf Add active filters indicator 2020-01-20 16:45:14 +01:00
dominik-zeglen
238bff1d9b Improve copy 2020-01-20 16:45:13 +01:00
dominik-zeglen
dab5dca615 Visual improvements 2020-01-20 16:45:12 +01:00
dominik-zeglen
1f3cbfda82 Code cleanup 2020-01-20 16:45:10 +01:00
dominik-zeglen
c155cf36e4 Fix types 2020-01-20 16:45:09 +01:00
dominik-zeglen
32cdb56e6f Make order filters work 2020-01-20 16:45:08 +01:00
dominik-zeglen
aafa6b62dc Refactor filter components 2020-01-20 16:45:07 +01:00
dominik-zeglen
87b94f47e1 Refactor filter components 2020-01-20 16:45:06 +01:00
dominik-zeglen
d58b1046ff Rewrite mock choice provider to hooks 2020-01-20 16:45:05 +01:00
dominik-zeglen
ba5dac7405 Add update func 2020-01-20 16:45:04 +01:00
dominik-zeglen
f3ef7455ab Do not render password change if authenticating 2020-01-20 16:42:23 +01:00
Marcin Gębala
3fbaaf0783
Merge pull request #377 from mirumee/fix/variant-stock
Fix variant stock input
2020-01-20 15:55:36 +01:00
dominik-zeglen
f2e083dfa0 Fix variant stock input 2020-01-20 13:42:45 +01:00
dominik-zeglen
9c3563c59a Update stories 2020-01-20 10:50:56 +01:00
dominik-zeglen
4b218dc9d8 Update schema 2020-01-17 16:17:14 +01:00
dominik-zeglen
fdd988d1db Remove default value because it's unused 2020-01-17 16:00:35 +01:00