Commit graph

2388 commits

Author SHA1 Message Date
Piotr Grundas
cacf3030a2
[SALEOR-3965] Extend Sale & Voucher to include Metadata #7653 (#1245)
* Add base logic

* Add missing metadata handlers

* Update changelog

* Cleanup schema

* Add messages
2021-07-29 14:47:22 +02:00
Piotr Grundas
6abdc4613a
[SALEOR-3088] Date & DateTime attributes (#1180) 2021-07-29 14:15:14 +02:00
Karolina Rakoczy
283e714202
tests for pages (#1222)
* tests for pages

* fix tests

* fix imports

* tests for pages

* add wait

* tests for pages

* fix weight recalculate
2021-07-27 10:57:17 +02:00
Karolina Rakoczy
5e7dc8e2a5
fixed all tests (#1253)
* fixed all tests

* fix shipping weight tests

* fix create product

* delete users created in previous tests

* merge
2021-07-26 11:58:47 +02:00
Kamil Pastuszka
db5ad19827
Fixed incorrectly handled image upload errors (#1223)
* fixed incorrectly handled image upload errors

* updated Changelog

* updated defaultMessages.json

* fix for collections and products

* fix for user avatar upload error

* implemented changes after review

* fixed conflict
2021-07-23 14:56:46 +02:00
Karolina Rakoczy
1f01a09e87
add tags (#1251)
* add tags

* edit e2e.yaml

* fix test for customer registration

* add empty lines
2021-07-23 12:46:44 +03:00
Dawid Tarasiuk
b024a0fde6
Add variant create options dialog (#1238)
* Add variant create options dialog

* Update e2e tests

* Update option field name

* Refactor

* Use macaw UI in Variant create dialog

* Update messages
2021-07-22 11:56:13 +02:00
Jakub Majorek
e831791493
Create separate e2e workflow (#1243) 2021-07-21 15:09:08 +02:00
Dawid Tarasiuk
8d58a4efeb
Fix trimmed quantity inputs in draft order (#1232)
* Fix trimmed quantity inputs in draft orders

* Make order draft quantity inputs more responsive

* Update width
2021-07-21 11:10:16 +02:00
Dominik Żegleń
62817568a7
Use MacawUI (#1229)
* Replace withStyleswith useStyles (#1100)

* Replace withStyleswith useStyles

* Update messages

* Use rem as a spacing unit (#1101)

* Use rems as spacing units

* Fix visual bugs

* Update stories

* Use macaw-ui as theme provider (#1108)

* Use macaw ui as a theme provider

* Add react-dom to aliases

* Fix jest module resolution

* Update useTheme hook usage

* Fix test wrapper

* Use macaw from git repo

* Fix CI

* Update stories

* Fix aliasing

* Extract savebar to macaw ui (#1146)

* wip

* Use savebar from macaw

* Use confirm button from macaw

* Improve file structure

* Use sidebar context from macaw

* Update macaw

* Update macaw version

* Remove savebar from storybook

* Update stories

* Use alerts and notifications from macaw (#1166)

* Use alerts from macaw

* Add notifications from macaw

* Update stories

* Pin macaw version

* Encapsulate limit reached in one component

* Remove unused imports

* Use backlinks from macaw (#1183)

* Use backlink from macaw

* Update macaw version

* Use macaw sidebar (#1148)

* Use sidebar from macaw

* Use shipped logo

* Use lowercase

* Update stories

* Use user chip from macaw (#1191)

* Use user chip from macaw

* Use dedicated components for menu items

* Simplify code

* Bump version and fix types (#1210)

* Rename onBack to onClick

* Rename UserChip to UserChipMenu

* Rename IMenuItem to SidebarMenuItem

* Update macaw version

* Fix tables after changes in macaw (#1220)

* Update macaw version

* Update changelog

* Update stories

* Fix after rebase

* Update to macaw 0.2.0

* Lint files

* Update macaw to 0.2.2
2021-07-21 10:59:52 +02:00
Karolina Rakoczy
0ec88cdb1e
all tests for site settings (#1236) 2021-07-20 13:59:23 +03:00
Dawid Tarasiuk
e830d199c2
Fix update pages (#1237) 2021-07-19 14:58:02 +02:00
Dawid Tarasiuk
9fad9b519e
Fix plugin list style (#1235)
* Fix plugin list style

* Update test snapshots
2021-07-16 12:55:48 +02:00
Dawid Tarasiuk
58b9634f75
Fix positive float number input validation (#1233)
* Fix positive float number validation

* Update changelog
2021-07-16 12:54:38 +02:00
Dawid Tarasiuk
ecb7c69c59
Fix list pagination crash on search (#1230)
* Fix list pagination on search

* Update changelog
2021-07-16 12:51:47 +02:00
Karolina Rakoczy
f1b313ea69
Saleor 3873 tests for navigation (#1234)
* add test for creating menu

* tests for navigation

* fix imports
2021-07-15 15:31:05 +03:00
Karolina Rakoczy
99507d5bed
test for customer registration (#1231)
* test for customer registration

* change name
2021-07-15 15:06:30 +03:00
Karolina Rakoczy
0c21788d61
test for create page type (#1213) 2021-07-15 14:22:04 +03:00
Karolina Rakoczy
f68410b7cb
Saleor 3711 tests for categories and collections (#1204)
* tests for collections

* all tests for categories
2021-07-15 14:17:56 +03:00
Karolina Rakoczy
b1e9f499db
add tests for apps (#1227) 2021-07-15 13:27:07 +03:00
Karolina Rakoczy
f847c76d67
Saleor 3826 tests for customers (#1226)
* added test for customers

* add test for customer
2021-07-15 13:25:39 +03:00
Karolina Rakoczy
e6d6621816
tests for metadata (#1206)
* tests for metadata

* change name of the function
2021-07-15 12:25:31 +03:00
Karolina Rakoczy
2412911a9d
fix test for sales (#1214)
* fix test for sales

* fix assingElements function

* change name of the function

* add wait to channels in shipping

* add missing imports
2021-07-15 12:20:59 +03:00
Dominik Żegleń
bba8c75d31
Improve component composition (#1224)
* Improve component composition

* Delete unused file

* Update snapshots
2021-07-12 15:48:01 +02:00
Karolina Rakoczy
2eae52d3df
check skeletons visibility (#1215) 2021-07-12 16:35:26 +03:00
Karolina Rakoczy
e76c78a23b
tests for shipping (#1173)
* tests for shipping

* fix typo

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

* add data-test-id

Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-07-12 11:50:50 +03:00
Dawid Tarasiuk
ab54fc6d68
Fix content type validation in create page view (#1205)
* Fix content type validation in create page view

* Update changelog

* Change disabled to valid
2021-07-12 10:34:13 +02:00
Dawid Tarasiuk
51dba9f43b
Disable next step when no value selected in variant selector (#1218)
* Disable next step when no value selected in variant selector

* Update changelog

* Update test snapshots
2021-07-12 10:02:47 +02:00
Dawid Tarasiuk
8d45454f84
Update address form autofill (#1209)
* Update address form autofill

* Update test snapshots

* Fix autocomplete bugs

* Set autocomplete to none to fix chrome greedy behaviour
2021-07-12 09:59:56 +02:00
Karolina Rakoczy
4faafd2489
Saleor 3626 tests for attributes (#1198)
* tests for attributes

* add tests for content attribute
2021-07-09 11:43:45 +02:00
Kamil Pastuszka
47ac2a94e4
Fixed issue with redundant payload for plugins view (#1203) (#1203)
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-07-09 10:04:33 +02:00
Jakub Majorek
b3c5d73136
Array fallback fixes (#1219)
* Array fallback fixes

* Update snapshots & changelog
2021-07-07 16:09:35 +02:00
Dominik Żegleń
3f378087a4
Fix crashes (#1216) 2021-07-07 09:59:08 +02:00
Karolina Rakoczy
75d85e66cb
test for product without shipping option (#1154)
* test for product without shipping option

* fix broken tests
2021-07-06 12:33:04 +02:00
Karolina Rakoczy
5b3465861f
Saleor 2705 tests for warehouse (#1143)
* tests for warehouses

* tests for warehouses
2021-07-06 12:32:09 +02:00
Karolina Rakoczy
12e9cf0472
fix failing tests (#1200)
* fix failing tests

* skip test for variant

* skip failing test

* uncomment tests for fixed bugs

* fix test.yaml
2021-07-05 15:05:13 +02:00
Dominik Żegleń
b22831ba25
Fix skeletons (#1161)
* Fix skeletons

* Fix warehouse list displaying

* Fix product filters

* Fix crashing views

* Fix crashes
2021-07-05 14:01:58 +02:00
Karolina Rakoczy
f5c5a8770c
tests for product types (#1199) 2021-07-05 12:21:35 +02:00
Dawid Tarasiuk
da678d856a
Fix missing call for update metadata mutation (#1207)
* Fix missing call for update metadata mutation

* Update changelog
2021-07-05 11:59:08 +02:00
Jakub Majorek
df7ac2dd45
Fix rich text editor content not being saved (#1202)
* Fix rich text editor content not being saved

* Add a temporary workaround to EditorJS issue
2021-07-01 13:23:36 +02:00
Dawid Tarasiuk
88e5e75563
Fix forbidden null sending as attribute value (#1201)
* Fix forbidden null value sending

* Update changelog

* Update schema and unset attribute values check

* Update test snapshots
2021-07-01 13:20:01 +02:00
Dawid Tarasiuk
909e08f2af
Fix duplicated labels in column picker (#1197)
* Fix duplicated labels in column picker

* Update changelog

* Refactor column picker scroll fetch

* Migrate react-infinite-scroller to react-infinite-scroll-component

* Remove unneeded keys

* Align dialog items to top
2021-07-01 10:21:41 +02:00
SektorDV
8e1dc4e12d
Add loader to attribute picker (#1182)
* wip multiselectfield loader

* restyled spinner display

* get rid of redundant debouncer

* wip

* wip multiselectfield loader

* restyled spinner display

* get rid of redundant debouncer

* remove redundant prop

Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
2021-07-01 10:20:35 +02:00
Karolina Rakoczy
3bd83c3731
tests for channels (#1185)
* tests for channels

* fix display product after channel activate

* remove comments
2021-07-01 01:14:25 +02:00
Cezary Miącz
cbda8e541d
Use Authorization-Bearer header for auth token (#1189) 2021-06-29 11:00:44 +02:00
Patryk Zawadzki
ecdc5452a7
Update LICENSE 2021-06-28 15:57:24 +02:00
Jakub Majorek
29f6c5496b
Use root level channel argument (#1126)
* Use root level channel argument

* Update schema after rebase

* Adjust list views (#1187)

* Use root level channel argument

* Use channel from filters

* Handle sort keys that require channel

* Add channel filter on sales and vouchers pages

* Update queries

* Fix tests/fixtures

* Block sort on discount pages

* Add generic filter validation

* Fix tests, update changelog

* Channels availability status changes, code cleanup

* Update snapshots
2021-06-28 15:51:19 +02:00
Dawid Tarasiuk
1b7ed5babf
Fix breaking select popups in filters (#1193)
* Fix breaking select popups in filters

* Update changelog
2021-06-25 09:52:14 +02:00
mmarkusik
58199d259e
Merge pull request #1139 from MahmoudRizk/fix/category-list
Fix Category list layout overlapping.
2021-06-24 11:26:39 +02:00
Dawid Tarasiuk
462723ec08
Fix product update with file attribute (#1190)
* Fix product update with file attribute

* Update changelog

* Fix optional chaining
2021-06-23 13:21:13 +02:00