Commit graph

2374 commits

Author SHA1 Message Date
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
Krzysztof Wolski
f18f2a6ca6
Add missing bumper pkg (#1048) 2021-04-02 16:30:39 +02:00
Jakub Majorek
078628f99f
Create GH workflow for UI review assignment (#1046)
* test

* Simplify workflow

* Unassign when checkbox is unchecked
2021-04-02 15:23:43 +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 Żegleń
48ea9e762c
Merge pull request #1027 from mirumee/SALEOR-2770-drop-emails
Remove mailing settings
2021-03-30 14:50:25 +02:00
dominik-zeglen
54211e4873 Update changelog 2021-03-30 14:50:09 +02:00
dominik-zeglen
5a81878367 Remove mailing settings 2021-03-30 14:50:09 +02:00
Krzysztof Wolski
9b486d6682
Add release-it script (#1034) 2021-03-30 14:37:12 +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 Wysocki
c7e27fb3d5
Merge pull request #1030 from mirumee/update-collection-error-types
Update error type on CollectionBulkDelete
2021-03-30 13:45:28 +02:00
Damian W
8c13e8e004 update changelog 2021-03-30 13:20:37 +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
Damian W
b72a202e05 update changelog 2021-03-30 11:02:05 +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
Karolina
78ba9f4fe9
Saleor 2699 tests for home page (#1019)
* tests for home page

* tests for home page

* tests for home page

* change master to qa API_URL

* add user to env

* remove empty file
2021-03-23 11:14:18 +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
Karolina
fc597a7a7f
Saleor 2590 remove classes from cypress tests (#1003)
* remove classes in shipping & products utils

* remove classes

* add const

* remove getters in ProductsUtils

* remove getters in Utils

* remove getters in Utils
2021-03-12 13:14:18 +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
8075d72c17
Merge pull request #996 from mirumee/SALEOR-1744-Tests-for-Collections
Saleor 1744 tests for collections
2021-03-04 16:15:20 +01:00
Karolina Rakoczy
bc9d6a0666 tests for collections 2021-03-04 15:51:55 +01:00