Commit graph

3040 commits

Author SHA1 Message Date
Dawid
575a91b5e9
Enable save button on discount pages (#2319)
* Enable save button on discount pages

* Update changelog with save button enable update

* Refactor channel input map
2022-09-28 10:42:28 +02:00
Tomasz Magulski
781eafa68e
Deploy to GCP (#2327) 2022-09-27 13:51:27 +02:00
Dawid
6738467304
Handle form errors before product creation (#2299)
* Handle form errors before product creation

* Update e2e product create tests

* Handle channel errors in product update

* Update changelog

* Fix invalid values of product type picker

* Refactor product create utils

* trigger ci

Co-authored-by: Patryk Andrzejewski <vox3r69@gmail.com>
2022-09-23 14:15:59 +02:00
Dawid
9f7c934dec
Fix dropdown select arrow clicks bugs (#2301)
* Fix dropdown arrow click

* Fix multi-select dropdown arrow click

* Update changelog

* Update test snapshots of select inputs

* Grey out select dropdowns bottom arrow

* Prevent clearing input value in multiselect on item select

Co-authored-by: Patryk Andrzejewski <vox3r69@gmail.com>
2022-09-23 13:39:25 +02:00
Dawid
4c62ebe45d
Fix invalid values of channel picker (#2313)
Co-authored-by: Patryk Andrzejewski <vox3r69@gmail.com>
2022-09-23 13:21:30 +02:00
Dawid
214b677684
Fix missing metadata and payment balance on unconfirmed orders (#2314)
* Fix missing metadata and payment balance on unconfirmed orders

* Update changelog with fix missing fields on order page

Co-authored-by: Patryk Andrzejewski <vox3r69@gmail.com>
2022-09-23 12:25:56 +02:00
Patryk Andrzejewski
32c2ff5f13
fix assign modal when we no pass selectedids (#2330) 2022-09-22 13:44:06 +02:00
Patryk Andrzejewski
ae9b7b31dc
Add UI to enable channel listing in variants view (#2303)
* syncg

* manage channels modal, price editing

* fix typings

* fix typings, splitting components

* fix typings, splitting components

* update snapshot

* update types

* update messages

* use toggle

* update e2e tests

* update messages

* add manage button to edit page

* add manage button to edit page

* re-organize components

* update modals

* fix toggle all

* cover scenario when we have no channels
2022-09-22 12:00:13 +02:00
Ewa Czerniak
2bdd1311de
Refactor of tests in navigation.js (#2323) 2022-09-22 09:37:06 +00:00
Karolina Rakoczy
78ea5fb0f5
Add more machines for cypress release run (#2322)
* Add more machines to cypress tests on release
2022-09-22 09:15:28 +00:00
Karolina Rakoczy
f9392ce0ce
Fixes for creating attribute tests (#2321) 2022-09-22 09:14:53 +00:00
Dawid
61fe80bb7a
Fix no product error on unconfirmed order lines (#2324)
* Fix no product error onunconfirmed order lines

* Update changelog with fix no product error
2022-09-22 11:03:21 +02:00
Michał Droń
88a0db22e1
Fix broken pagination in swatch attributes (#2282)
* Fix broken pagination in swatch attributes

* Do not apply styling when value is undefined

* Extract logic to function
2022-09-21 17:35:04 +02:00
Michał Droń
5dbd6fed8a
Fix assigning products to collection (#2320)
* Reset modal state in collection details

* cover initial state

* modal updates

* cover case when there is no items to add

Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2022-09-21 15:35:05 +02:00
Dawid
20920f3cf2
Fix exit form dialog false positive (#2311)
* Fix exit form dialog false positive.

Fixed:
- saving legacy data due to assigned legacy ref of function data assigned to form
- lack of clearing dirty status of form data on successful submit
  causing improperly displaying exit form dialog

* Update changelog with exit form dialog fix
2022-09-16 16:16:26 +02:00
Karolina Rakoczy
1bbcdb4213
Fix revert to snapshot job (#2312)
* check if test workflow will pass

* check if test workflow will pass without cache

* check if ask about target url

* check if it work on windows

* check if it work on mac

* check if it work on ubuntu with node 16.0.0

* get list of installed

* run revert-to-snapshot job un macos
2022-09-16 10:21:24 +00:00
Michał Droń
ed95c423ae
Remove errors on fulfilling insufficient stock (#2298)
* Add error handling override for queries

* Handle errors in order fulfill view

* Handle errors in order details view

* Disable errors in approval mutation
2022-09-15 11:45:46 +02:00
Ewa Czerniak
7a469029fd
fix for translation tests (#2306)
* fix for flaky chane user email tests and refactor of plugins tests

* fix for translation tests

* adding an option to run plugin tests in pull_request_temple

* adding an option to run translation tests
2022-09-15 08:28:46 +00:00
Karolina Rakoczy
81319a67a6
Add comment and link to release PRs (#2309)
* Fix comments on release PRs

* Fix adding comments

* Fix adding comments
2022-09-15 10:15:21 +02:00
Ewa Czerniak
65388acb0f
fix for flaky change user email tests and refactor of plugins tests (#2302)
* fix for flaky chane user email tests and refactor of plugins tests

* adding an option to run plugin tests in pull_request_temple
2022-09-15 07:34:31 +00:00
Lukasz Ostrowski
a4804e2f3d
Inform App iframe about current and changed locale (#2304)
* Inform App iframe about current and changed locale

* Install production app-sdk@0.11.0
2022-09-15 08:18:43 +02:00
Karolina Rakoczy
2d9f3edf67
Run tests on selected tags (#2297)
* run tests on selected tags

* echo tags

* return result as string
2022-09-13 15:51:31 +02:00
Michał Droń
b7a809f1fc
Improve error page message (#2287)
* Change error page content message

* Extract messages

* Update snapshots
2022-09-13 15:42:13 +02:00
Michał Droń
a989996b1f
Remove product type from product name cell in product list (#2283)
* Remove simple/configurable info from product list

* Update snapshots

* Remove unused import

* Extract messages

* Trigger deployment
2022-09-13 15:41:46 +02:00
Michał Droń
8f0cdf0134
Add fulfillment approve webhook (#2300)
* Update schema

* Update types

* Trigger deployment
2022-09-13 15:41:00 +02:00
Michał Droń
19d5e7e71d
Add product variant reference attribute (#2268)
* Handle variant references

* Update schema & types

* Update changelog

* Extract messages

* Fix handlers

* Update schema

* Build types

* Update types

* Improve assign reference value modals
2022-09-13 12:07:41 +02:00
Lukasz Ostrowski
ff09d04660
Send theme update event to marketplace app on theme change detected (#2289) 2022-09-13 09:15:48 +02:00
Michał Droń
7d3a0a776a
Fix overflowing error notifications (#2286) 2022-09-12 14:54:26 +02:00
Dominik Żegleń
fedf276e68
Do not confirm after removing fulfillment (#2296) 2022-09-09 14:09:31 +02:00
Karolina Rakoczy
c524221a0f
Fix comments on release PRs (#2293)
* Fix comments on release PRs

* Update .github/workflows/approveAndMergeReleasePR.js

Co-authored-by: Mika <mikail.kocak@saleor.io>

Co-authored-by: Mika <mikail.kocak@saleor.io>
2022-09-07 17:07:55 +02:00
Dominik Żegleń
4ee5eb7795
Fix fulfillment page if not tracking stock (#2290)
* Fix fulfillment page if not tracking stock

* Update snapshots and messages
2022-09-07 16:08:41 +02:00
Michał Droń
884ea78cf5
Fix invisible popup in darkmode (#2274)
* Fix invisible popup

* Move styles to a separate file
2022-09-07 11:42:12 +02:00
Lukasz Ostrowski
84e179604d
Migrate @saleor/app-bridge to @saleor/app-sdk (#2266)
* Migrate @saleor/app-bridge to @saleor/app-sdk

app-bridge is deprecated and was merged into app-sdk.
This commit fixes imports and points to new package

* Downgrade package-lock version

* Update app-sdk to 0.9.1

* Change sdk version to production

* Refresh app-sdk install
2022-09-06 13:11:06 +02:00
Anna Szczęch
f3aa4003fb
SALEOR-7976 add test for create order from checkout as app (#2278)
* add test for create checkout as app

* fixes after cr
2022-09-06 09:02:59 +00:00
Lukasz Ostrowski
daba8a381f
Fix styling of app install ui (#2254)
* Fix styling of app install ui

* Fix dark mode colors
2022-09-06 10:22:33 +02:00
Timur Carpeev
c58c6ef3b4
Remove misleading command (#2210) 2022-09-06 10:21:35 +02:00
Lukasz Ostrowski
acd596dd45
Add .nvmrc and .node_version with node 14 LTS (#2277)
These 2 configs are widely used by various Node version managers
These managers can be easily configured to automatically switch Node version
when entering a directory

With this change, its more likely that correct Node and NPM version will be used,
avoiding accidental usage of incompatible versions

Reference for Node managers support can be found here:
https://stackoverflow.com/questions/27425852/what-uses-respects-the-node-version-file
2022-09-05 10:53:57 +02:00
Karolina Rakoczy
105403e4ff
Fix nightly tests workflow (#2285) 2022-09-05 10:42:32 +02:00
Karolina Rakoczy
c236d5346a
Fixed tests for creating and updating page (#2273) 2022-09-02 10:07:43 +02:00
Karolina Rakoczy
d13cf7d06d
leave comment if test fails (#2272) 2022-09-02 10:06:23 +02:00
Karolina Rakoczy
22e78bbd23
Fix tests for attributes in products types (#2269) 2022-09-01 15:17:13 +02:00
Michał Droń
c1185198f5
Payment status card improvements (#2222)
* Change table layout to flexbox

* Move taxes before total

* Move discounts above subtotal

* Add type to util function

* Remove maybes

* Improve discounts

* Change taxes message

* Make font smaller

* Query total balance in order details

* Use totalBalance from api

* Show refunded when more than 0

* Make taxes grey

* Delete unused import

* Update fixtures

* Update snapshots

* Extract messages

* Move styles to seperate file

* Fix refunded amount

* Add settled message for zero balances

* Change payment status to payment balance

* Update snapshots

* Fix messages post rebase
2022-09-01 13:47:13 +02:00
Karolina Rakoczy
24d77b984a
Add test for thumbnails (#2219)
* Add test for thumbnails

* Add test for thumbnails

* split into functions

* update snapshot
2022-09-01 10:35:19 +02:00
Michał Droń
6789b73f00
Fix saving permission groups (#2239)
* Allow saving regardless of membersChanged value

* Fix in-place sorting on readonly value

* Fix capital letter in button message

* Update snapshots

* Fix stories

* Remove unused import
2022-08-29 13:37:42 +02:00
Dawid
e610aefcfa
Add allocation strategies with sortable warehouses (#2258)
* Add allocation strategy options in channel view

* Update schema with channel allocation strategy

* Reorder channel warehouses after channel saving

* Refactor and clean code of allocation strategy options

* Update schema with allocation strategy

* Trigger CI

* Update allocation starategy options UI

* Update allocation strategy messages

* Trigger CI

* Fix shipping zones and warehouses cards style

* Fix message

* Fix snapshots

Co-authored-by: Michał Droń <dron.official@yahoo.com>
2022-08-29 13:35:55 +02:00
Cezary Miącz
9dc3bf4949
Deploy v3.7 to demo (#2265) 2022-08-29 11:22:29 +02:00
Karolina Rakoczy
43be1d60e2
fix tests for stripe (#2260) 2022-08-26 13:03:29 +02:00
Timur Carpeev
15274e14d7
[Small improvements] Fix webhook docs URL and change settings icon (#2235)
* Swap more icon with settings icon, to make settings more discoverable

* Update snapshot
2022-08-26 11:33:41 +02:00
Dominik Żegleń
ea87abda3c
Drop "manage products" permission requirement to view orders (#2248)
* Bump version

* Remove useless styles

* Ise isAvailableForPurchase field
2022-08-25 10:35:07 +02:00
Dominik Żegleń
6c79170d9f
Bump version to 3.7.0-dev (#2231) 2022-08-25 10:34:36 +02:00