Commit graph

2614 commits

Author SHA1 Message Date
Wojciech Mista
31adc671a3
Add permissions to Catalog menu item (#1614) 2021-11-19 14:32:02 +01:00
Wojciech Mista
31046ae356
Change height of channels availability list (#1608) 2021-11-18 13:20:10 +01:00
Dawid Tarasiuk
e10d79aceb
Use order token for metadata updates (#1604) 2021-11-17 15:13:41 +02:00
Dawid Tarasiuk
b50225aaa2
Add sorting products by update at date (#1581)
* Add sorting products by update at date

* Update messages

* Change columns order in product list view

* Display updated date column by default
2021-11-17 14:49:22 +02:00
Michał Droń
c3cc2b03de
Allow to create simple product with no channels (#1552) (#1575) 2021-11-10 13:16:49 +01:00
Michał Droń
3de07a4f3b
Add current usage on vouchers (#1519) (#1576)
* wip design label

* add usesLeft calculation

* snapshots & messages

* fix type errors

* add error on input and disable save button when value is invalid

* resetting input value to initial after checkbox state change

* remove uses left on new vouchers & set initial value to 1
2021-11-10 13:05:56 +01:00
Michał Droń
4f18947dda
fix product list covering search bar (#1527) (#1577) 2021-11-10 12:54:22 +01:00
whiteUnicorn
feef026fd0
Change ExpansionPanel as Accordion (#1279)
* Fix variant creation - remove channels + prices

* Update messages and snapshots

* Change ExpansionPanel as Accordion

* Update snapshots

Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-11-10 11:55:27 +01:00
dependabot[bot]
c6cfb2ecc9
Bump url-parse from 1.5.1 to 1.5.3 (#1589)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 16:37:23 +01:00
dependabot[bot]
c6178c30c6
Bump postcss from 7.0.35 to 7.0.39 (#1590)
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 7.0.39.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/7.0.39/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.39)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 16:37:10 +01:00
dependabot[bot]
a31e286009
Bump dns-packet from 1.3.1 to 1.3.4 (#1591)
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

---
updated-dependencies:
- dependency-name: dns-packet
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 16:36:55 +01:00
dependabot[bot]
afe170cdfc
Bump semver-regex from 3.1.2 to 3.1.3 (#1588)
Bumps [semver-regex](https://github.com/sindresorhus/semver-regex) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/sindresorhus/semver-regex/releases)
- [Commits](https://github.com/sindresorhus/semver-regex/commits)

---
updated-dependencies:
- dependency-name: semver-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 12:55:41 +01:00
dependabot[bot]
b6fca536a6
Bump tmpl from 1.0.4 to 1.0.5 (#1587)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 12:55:30 +01:00
dependabot[bot]
b13b1bacca
Bump axios from 0.21.1 to 0.21.4 (#1586)
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 12:55:21 +01:00
dependabot[bot]
f7627ca6c5
Bump path-parse from 1.0.6 to 1.0.7 (#1585)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 12:55:10 +01:00
Dawid Tarasiuk
0fb58ea800
Fix overlapped content by sidebar (#1508)
* Fix overlapped content by sidebar

* Update app layout widths

* Update test snapshots

* Update macaw ui

* Update macaw-ui version
2021-11-09 13:17:18 +02:00
Michał Droń
7bc9825a0b
add extra condition for disabling button (#1530) (#1574) 2021-11-08 13:45:50 +01:00
Wojciech Mista
7db7ac88d2
Add contentType prop to file attribute mutation (#1534) (#1570)
* Add contentType parameter to mutation variables

* Fix type issue
2021-11-08 10:41:27 +01:00
Michał Droń
8584301c8f
Add scrollable area for user addresses (#1561) (#1564)
* Add scrollable area for user addresses (#1561)

* add scrollable area for user addresses

* fix billing address

* Trigger deployment
2021-11-08 10:10:27 +01:00
Karolina Rakoczy
a39f729a1f
update tests for vouchers (#1546) 2021-11-03 12:29:59 +01:00
Karolina Rakoczy
80809a078a
Fix cypress tests (#1541)
* fix tests

* fix base url

* fix varinats tests
2021-11-03 12:15:39 +01:00
Karolina Rakoczy
b0369bf5ca
tests for sales (#1494)
* tests for sales

* fix create sale with assigned products tests and add test for deleting voucher

* remove unused imports

* Update cypress/support/api/utils/discounts/salesUtils.js

Co-authored-by: Dominik Żegleń <flesz3@o2.pl>

* fix async, remove unused imports

Co-authored-by: Dominik Żegleń <flesz3@o2.pl>
2021-10-28 16:43:26 +02:00
Karolina Rakoczy
d618b8e775
Add tests for stripe (#1529)
* test for stripe

* first test for stripe

* tests for stripe

* remove comment

* fix import

* fix import

* remove todo
2021-10-28 14:14:07 +02:00
Michał Droń
d0a6e10cec
Fix type error when returning items (#1525) (#1548)
* optional chaining wip

* resolve property of undefined error

* remove error toast when there is no error

* revert makeMutation

* apply suggestions from code review

* revert newline

* code review suggestions

* remove unnecessary optional chaining

* fix orderRefund undefined errors
2021-10-27 11:02:23 +02:00
Michał Droń
a466676858
Fix pagination state after refresh (#1496) (#1515)
* fix pagination state after refresh

* remove unused imports

* remove unused imports

* add newline

* add generic types to hook parameters
2021-10-25 17:29:27 +02:00
Wojciech Mista
2eec208144
Fix channel picker hiding in resend code modal bug (#1479)
* Replace savebar with actionbar

* Bump macaw version to 0.2.5

* Update tests
2021-10-21 13:25:24 +02:00
Karolina Rakoczy
cc7626be42
Duplicate current test for sales to work on variants instead on products (#1491)
* Duplicate current test for sales to work on variants instead on products

* remove unecessery imports

* Update cypress/integration/discounts/salesForVariants.js

Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>

Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
2021-10-21 12:47:18 +02:00
Karolina Rakoczy
29a90f3e3d
test for refresh (#1497) 2021-10-21 12:46:17 +02:00
Karolina Rakoczy
39c1e8e208
tests for click & collect (#1488) 2021-10-21 12:45:38 +02:00
Michał Droń
e879a0c1d5
Disable auto scroll to the top on assign references (#1510) (#1524)
* add resetScroll behavior to navigator hook

* disable scroll to top on modal close

* refactor useNavigator hook

* fix linter issue

* fix no default value of destructured parameter
2021-10-21 10:34:56 +02:00
Wojciech Mista
fe3de902b1
Add metadata input filtering before create/update (#1495)
* Add metadata input filtering before create/update

* Small refactor

* remove unnecessary return
2021-10-19 15:23:02 +02:00
Michał Droń
13c63283a9
Fix empty label on button (#1504) (#1514)
* Fix empty label on button (#1504)

* Trigger deployment
2021-10-19 12:04:53 +02:00
Szymon Wiszczuk
39dabc8ea2
Variant selection attributes (#1463)
* Create separate table for variant attributes and handle variant selection state

* implemented most required changes

* implementation

* localize leftover string

* implement most cr changes

* implemented most of cr changes

* add additional comment and fix ci

* reorder update mutation for BE consistency

Co-authored-by: bonifacy1 <szewczyk134@gmail.com>
2021-10-19 10:38:54 +02:00
Michał Droń
19f90d29e8
Fix wrapping issue & typos on homescreen (#1505) (#1517)
* fix wrapping issues & messages

* fix messages id & camelCase
2021-10-18 12:18:46 +02:00
Magdalena Markusik
314b043afa
Saleor 4626/fix shipping zone rate UI (#1511)
* Fix shipping zone rates ui

* Update tests and messages
2021-10-18 10:57:53 +02:00
Michał Droń
974f2a06a7
Delete edit icon from permission group list (#1503) (#1506)
* delete edit icon from permission group list

* delete unused import

* update snapshots
2021-10-18 10:14:11 +02:00
Michał Droń
80de7b92d5
Add spacing between address cards (#1509) (#1513) 2021-10-18 10:13:48 +02:00
GrzegorzKowalik
7663aa4bd5
Fix codeql workflow missing python code (#1498)
* Fix codeql workflow missing python code

* Try something else
2021-10-14 14:21:09 +03:00
JanChodorowski
cbeed52a30
[Fix] preorder fixes (#1477)
* Fix creating variant without preorder

* Fix creating simple product in preorder

* Proper stock display for variant in preorder

* Fix ending preorder for simple product

* CR response

* CR response

* Fix global threshold empty input
2021-10-14 14:15:59 +03:00
Karolina Rakoczy
5bee739872
Saleor 4581 tests for products images (#1450)
* tests for images on product list

* image on product details page should be displayed

* test for upload image

* fix collection utils import

* fix creating test data

* update jest
2021-10-14 13:47:41 +03:00
Magdalena Markusik
185a48b421
Add filters and search to gift cards list (#1466)
* Fix filters not handling autocomplete values properly

* Add handling single selection to filter autocomplete field

* Change giftCardsListUrl function name to GiftCardListUrl for consistency

* Update schema

* Add gift card currencies query and update types

* Add validating function for filter number fields

* Add util function for mapping person node to select choice, fix types

* Add gift card list filters and search

* Add handling of gift card list search and filters dialogs in dialogs provider

* Add gift card search bar in gift card list

* Update gift card list queries and types, add filters to gift card list provider

* Fix types

* Fix types

* Fix currency filters in gift card list

* Update messages

* Remove unnecessary usages of maybe

* Change gift card balance filters not to be send to api when currency filter not present

* Update messages
2021-10-13 14:42:20 +03:00
Dawid Tarasiuk
22db86ed65
Add stock reservation settings (#1459)
* Add stock reservation settings

* Update page section header

* Fix test snapshots

* Fix stock reservation inputs

* Update test snapshots

* Trigger CI
2021-10-13 14:35:00 +03:00
Grzegorz
de3384f20b Fix typo in workflows 2021-10-12 11:48:04 +02:00
GrzegorzKowalik
80641f76e2
Update AWS credentials (#1492) 2021-10-12 11:37:56 +02:00
GrzegorzKowalik
031d012d0d
Add slack notifications after deployments (#1485)
* Add slack notifications after deployments

* Fix copy paste mistakes

* Add deployment workflows to CODEOWNERS
2021-10-11 10:51:53 +02:00
GrzegorzKowalik
2096671e0c
Invalidate second production cloudfront (#1483) 2021-10-11 10:39:21 +02:00
Jakub Majorek
51be4c79c0
Update organization name (#1484) 2021-10-11 09:53:22 +03:00
Patryk Zawadzki
37b99a7b5a
Update main branch name from master (#1475) 2021-10-08 11:31:01 +02:00
Magdalena Markusik
7ac6572a1a
Fix gift card update view crashing when gift card created by app (#1462) 2021-10-08 11:28:31 +02:00
Patryk Zawadzki
d750d3684e
Update the footer to point to the correct org 2021-10-06 15:39:19 +02:00