Commit graph

3065 commits

Author SHA1 Message Date
Karolina Rakoczy
eaf3271dc9
Fix tests for orders (#2213) 2022-08-04 12:59:42 +02:00
Wojciech Mista
b0d7342e1f
Fix "Add Staff Member" form errors on inputs (#2186)
* Fix input errors in staff member forms

* Remove unused import
2022-08-04 08:40:14 +02:00
Dawid
2c97b2da41
Move fulfillment warehouse selection to fulfilll page (#2199)
* Move order fulfillment warehouse selection to fulfill page

* Use modal to select warehouse on fulfill order page

* Remove tracking number input from fulfill order page

* Update visual structure of fulfill order page

* Fix fulfill order page styles

* Update order fulfill utils
2022-08-02 14:57:18 +02:00
Michał Droń
804e14768b
Add sync webhooks for tax calculations (#2204)
* Update schema

* Build types

* Add badgesto MultiAutocompleteSelectField

* Reduce z-index on MultiAutocompleteSelectField

* Add preview pills for new webhooks

* Change grid variant to uniform in Webhook details view to reduce clipping

* Update snapshots

* Change isWebhookInPreview to more scalable solution
2022-08-02 14:50:37 +02:00
Michał Droń
40bdf1ecb8
Fix date format in mutations (#2207)
* Fix date format in mutations

* Change date format to UTC

* Change template literal to sliced isostring
2022-08-02 14:31:17 +02:00
Dawid
f9edc55a20
Fix assignment list search with no items found (#2206)
* Fix assignment list search with no items found

* Create warehouse and shipping zones separated count queries

* Remove total count displaying from assignment list
2022-08-02 11:04:45 +02:00
Michał Droń
4ee9e4fc59
Fix numeric attribute filters (#2145)
* Handle numeric attribute filters

* Fix filter behaviour

* Backwards compatibility
2022-08-01 11:39:20 +02:00
Dawid
1a974e380c
Make sortable chips accessible (#2175) 2022-07-29 18:47:09 +02:00
Dawid
3a85027934
Fix variant details/create page sidebar (#2180) 2022-07-29 18:45:52 +02:00
Anna Szczęch
c076d52f68
Disable Saleor_0702 for 3.5 or higher (#2182)
* update tests and snapshots

* remove if for 3.5 version

* remove deprecated test

* fix tests after rebase with main
2022-07-29 10:15:33 +02:00
Ewa Czerniak
8a07f226e6
Fix for tests connected with changes for relation between channel-warehouse-shippingzone (#2189) 2022-07-29 08:35:55 +02:00
Karolina Rakoczy
6cd42b0ae8
Run cypress tests on correct branch (#2196) 2022-07-28 15:05:38 +02:00
Carles López Magem
437a2130eb
Menu item translations (#2181)
* [Feat] Added MenuItem translations

* [Feat] Added MenuItem translations

* Stories snaps

* max
2022-07-26 11:12:02 +02:00
Ewa Czerniak
9d99491623
adding tests for app permission, update test for siteSettings, cleanup with variables names (#2183) 2022-07-21 10:47:15 +02:00
Dawid
62c9f10f64
Add plain text attribute (#2121) 2022-07-19 16:16:43 +02:00
Dawid
537cce95a7
Fix dropdown buttons styles (#2151)
* Fix filterStructure typo, fixes #2140

* Fix dropdown button styles

* Update assign warehouse button to product or variant

* Update test snapshots
2022-07-19 16:10:10 +02:00
Dawid
9aab4fb3a2
Fix sales/voucher page styles and fix date tooltips styles (#2154)
* Fix voucher sales page style

* Update date tooltips in sales and vouchers
2022-07-19 13:58:00 +02:00
Wojciech Mista
ef3c7a203b
Add Marketplace preview label (#2107)
* Add preview pill to marketplace view

* Update messages

* Remove marketplace

* Add margin
2022-07-19 10:41:49 +02:00
Karolina Rakoczy
067148bc70
Fixed tests for stripe (#2177) 2022-07-18 14:11:17 +03:00
Karolina Rakoczy
683527ebe9
Fix cancel fulfillment test (#2169)
* Fix test for cancel fulfillment

* add TC numbers
2022-07-18 14:00:24 +03:00
Dominik Żegleń
1879d0cfb3
Fix swatch and product list filters (#2087)
* Fix crashing

* Fix character limit

* Update snapshots
2022-07-15 12:00:19 +02:00
Ewa Czerniak
83988f08c5
Add test for sorting by price, unification of productList folder (#2170)
* Add test for sorting by price, unification of productList folder

* Correction after review

* correction of function name
2022-07-15 11:50:24 +02:00
Timur Carpeev
f555e819af
Named months (#2130)
* Use named moths to avoid ambiguity

* Change format of gift card expiration
2022-07-15 11:46:59 +02:00
Karolina Rakoczy
7e4c6c8a7e
Add mailhog env to nightly tests (#2171) 2022-07-15 12:24:53 +03:00
Jonatan Witoszek
5fb28b0dc1
Update version in package.json (#2168) 2022-07-14 12:25:34 +02:00
Dawid
ab8111a62d
Add status pills to webhooks list (#2153) 2022-07-13 13:12:58 +02:00
Dawid
b6312c2dff
Fix sortable chip dragging style (#2150) 2022-07-13 13:11:38 +02:00
Dawid
51baacd0ff
Remove copyright from login page (#2139) 2022-07-13 13:10:31 +02:00
Timur Carpeev
b9a53a6fde
Add rules of hooks (#2131)
* Fix conditional hooks

* Add rules of hooks lint

* Install dependencies with node 14
2022-07-13 11:13:58 +02:00
Wojciech Mista
e7f68f4c07
Periodical refresh of app token (#2091)
* Install jwt-decode

* Add token refetch hook

* Fix types

* Remove app settings

* Regenerate lock

* Fix jwt test issues

* CR fixes

* Bump node and npm

* Reinstall jwt-decode
2022-07-12 12:30:53 +02:00
Mika
d50b7ee939
Deploy demo for 3.5 tags (#2160)
This allows to automatically release 3.5 tags to demo.
2022-07-12 10:49:29 +02:00
Dominik Żegleń
0c3148893b
Update schema (#2159) 2022-07-12 10:38:49 +02:00
Dawid
f1ffb5093f
Add assign warehouse section in channel page (#2127)
* Add assign warehouse section in channel page

* Update data-test-ids on channel page

* Update channel page form details

* Update shipping zones and warehouses cards in chaannel page

* Assigning warehouses by channel in product and variant pages (#2135)

* Assigning warehouses by channel in product and variant pages

* Disable warehouse assignment when no channel on variant page

* Update products stocks section messages
2022-07-11 11:43:08 +02:00
Karolina Rakoczy
eb58e2c8ed
Update channel in warehouse in cypress tests (#2152)
* Assign warehouse to channel

* Assing warehouse to channel
2022-07-11 12:14:23 +03:00
Dawid
eff15075d4
Add transaction events to order history (#2138) 2022-07-08 12:14:42 +02:00
Karolina Rakoczy
2c206e7eb6
Activate plugins on new snapshot (#2149)
* run critical tests

* run stable tests

* update snapshot to restore
2022-07-08 10:52:36 +03:00
Michał Droń
10e5b8d331
Better input validation in Order Draft lines (#2003)
* Stop sending queries for empty & 0 values in TableLineForm

* Provide default value for incorrect ones

* Fix submit/change handlers

* Remove async
2022-07-07 17:31:26 +02:00
Michał Droń
7d3897f75f
Fix hover borders & remove scrollbar in assign product dialog (#2124)
* Fix hover borders & remove scrollbar

* Trigger deployment
2022-07-07 17:30:32 +02:00
Michał Droń
3ac4ac4c1b
Fix fulfilling deleted variants (#2090)
* Add optional chaining

* Fix type

* Fix a similar bug in the stock exceeded dialog

* Add keys to fulfillment lines

* Add undefined to return type
2022-07-07 17:28:12 +02:00
Michał Droń
a54fc0396b
Deprecate secret key in webhooks (#2119)
* Add deprecated message

* Extract messages

* Add deprecated pill to webhook secret key

* Update snapshots

* Move extra info to pill toolbar

* Extract messages

* Update snapshots

* Remove preventDefault

* Open link in a new tab

* Update snapshots

* Fix linter issue

* Make webhooks active by default when creating new ones

* Update snapshots
2022-07-07 10:29:33 +02:00
Michał Droń
dc327f1f76
Bump MacawUI (#2126)
* Bump macaw

* Bump macawUI to 0.6.3
2022-07-07 10:28:10 +02:00
Michał Droń
fba74ab7d3
Sort orders by rank (#2114)
* Add rank sortfield to orders sort field enum

* Make useSortRedirects hook generic

* Add sorting by rank to orders list

* Move useSortRedirects to generic hooks dir

* Add hook description

* Add type parameters
2022-07-07 10:26:11 +02:00
Michał Droń
6bc7efc737
Fix filtering by boolean attribute (#2031)
* Fix parsing boolean value from query

* Change v to val
2022-07-07 10:23:58 +02:00
Karolina Rakoczy
8a5db9ca26
Run only critical tests (#2143)
* run critical tests

* run stable tests
2022-07-06 18:27:09 +02:00
Karolina Rakoczy
13bd0c4784
fix get env from version regex (#2120)
* fix get env from version regex

* Fix regex
2022-07-06 10:05:17 +02:00
Dawid
e924fb001c
Fix app deep linking when mount path set (#2137) 2022-07-05 12:53:47 +02:00
Dawid
1f179f8fbd
Fix app deep url redirects (#2116)
* Fix app deep url redirects

* Update app-bridge

* Refactor useAppActions helper function

* Trigger CI
2022-07-05 10:39:58 +02:00
Timur Carpeev
c81cceefaa
Add note about .env file (#2128)
* Add note about .env file

* Mention env variables
2022-07-04 09:06:36 +02:00
Dawid
079c25f16d
Fix app iframe resolution (#2111)
* Fix app frame sizes

* Update app frame height

* App page functions refactor

* Move useLocationState hook to apps

* Update apps test snapshots
2022-06-30 11:05:09 +02:00
Tomasz Magulski
1c131053d6
[SALEOR-6851] Replace appUrl with manifestUrl in 3rd-party apps list (#2115) 2022-06-29 10:08:46 +02:00