Commit graph

3113 commits

Author SHA1 Message Date
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
Ewa Czerniak
1a41d24ac5
Saleor 7930 fix for sales tests (#2249)
* moving sales files to sales folder

* refactor tests for sales for products

* refactor of updateSales and createSalesForVariants tests
2022-08-24 21:02:30 +02:00
Timur Carpeev
3684a55ba9
Add correct URL (#2253) 2022-08-24 11:41:59 +02:00
Lukasz Ostrowski
f292225951
Change CLI source to point to @saleor/cli in npm (#2252)
CLI is migrated to new namespace. 
Also, `@next` shouldn't be used on production code
2022-08-24 11:23:40 +02:00
Karolina Rakoczy
fefaeb00a8
fix test for home page analitics (#2216) 2022-08-24 10:58:17 +02:00
Dawid
df55dba571
Update product and page default availability settings (#2165)
* Update product and page default settings

* Update product and page test snapshots

* Update product create errors handling

* Fix preselected publication info of product with variant without any channel listing

* Update package lock file

* Fix page publication state and its date on page view

* Update page tests
2022-08-22 14:53:17 +01:00
Adrian Pilarczyk
e9eba95f90
Update the imagery in README (#2244) 2022-08-19 10:32:21 +02:00
Anna Szczęch
0ad0becf9f
create simple product without sku (#2188)
* create simple product without sku

* remove comments

* restore channel cleanup line

* cr fixes
2022-08-19 08:46:12 +02:00
Ewa Czerniak
cea3ead44b
Saleor 7913 fix tests for vouchers (#2242)
* refactor createVoucher tests

* fix for tests in updateVoucher folder

* fix for updateVouchers, createVouchersWithLimits and siteSettings

* remove already declared variable
2022-08-18 15:14:29 +02:00
Dominik Żegleń
8e2a3e0c75
Minor fixes to gift card list (#2218)
* Fix paginator interface

* Fix link to product

* Fix dropdown in gift card tags

* Do not pass trash to components
2022-08-18 12:50:09 +02:00
Mika
f5f309d38f
Deploy demo for 3.6 tags (#2243)
This allows to automatically release 3.6 tags to demo.
2022-08-18 09:57:22 +02:00
Adrian Pilarczyk
3b04555834
Add a general intro section to README (#2232)
* Update README.md

* Update README.md

* Update the image
2022-08-17 14:51:44 +02:00
RyanTamulevicz
bf4b5f70a7
Fixes inability to update site settings (#2228) 2022-08-17 14:23:56 +02:00
Adrian Pilarczyk
6108c8a33c
chore: 🧑‍💻 change bug_report.md to contain explicit versions (#2230) 2022-08-17 09:27:21 +02:00
Ewa Czerniak
29c7f785c0
Saleor 7780 fix for collection tests (#2227)
* fix fox tests in collection

* removing then() in tests

* fixing failing collection tests and add stable tag to run will all tests
2022-08-16 13:27:37 +02:00
Karolina Rakoczy
2c57de07e4
Fix cypress test for enable gift card (#2214)
* All specs has unique data

* All specs has unique data
2022-08-16 12:49:22 +02:00
Dominik Żegleń
f058f4d01f
Update types (#2229) 2022-08-11 17:52:55 +02:00
Wojciech Mista
c6e8537174
Update app actions for new action type (#2200) 2022-08-10 15:26:09 +02:00
Dawid
eea1ba235f
Remove bulk variant creator (#2179)
* Remove bulk vaariant creator

* Update variant test snapshots

* Update variant E2E tests

* fixed test for products variants (#2187)

Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2022-08-10 11:29:17 +01:00
Dawid
6fdec6e5f1
Update simple product availability card (#2144)
* Update simple product availability card

* Update channel availability messages
2022-08-10 10:15:01 +01:00
Dawid
f01966f0d4
Handle errors on finalizing draft order (#2191)
* Add warning alert before finilizing draft order

* Add line error indicators in draft order view

* Handle unfilled fields errors before draft order finalize

* Handle draft order line errors

* Differentiate line alert severity

* Fix order line alert margin

* Remove unnecessairy comment

* Refactor order draft alert components

* Update order draft test snapshots

* Refaactor order details code

* Hide add products button when no products available on order draft page

* Hide no shipping methods warning if they cannot be determined

* Update product assignment dialog messaages

* Update order channel error messages

* Fix missing order lines in error crash
2022-08-10 10:11:32 +01:00
Karolina Rakoczy
fc15227b4c
Automatically merge dashboard release PRs after tests (#2226)
* Automatically merge release PRs after cypress tests

* Fix token

* add package.json to workflows directory

* revert package json to the state from main

* Merge only with auto release flag

* Add if to merge release job
2022-08-10 10:46:00 +02:00
Karolina Rakoczy
1f9b86e1ab
Upgrade node version in clear db job (#2217) 2022-08-09 10:57:15 +02:00
Mika
d0f20ddb0c
Revert "Automatically merge release PRs after cypress tests (#2211)" (#2225)
This reverts commit 8defc63a45.
2022-08-08 18:34:54 +02:00
Karolina Rakoczy
8defc63a45
Automatically merge release PRs after cypress tests (#2211)
* Automatically merge release PRs after cypress tests

* Fix token

* add package.json to workflows directory

* revert package json to the state from main
2022-08-08 15:58:39 +02:00
Karolina Rakoczy
5ce4a87515
fix test for publishing products (#2215) 2022-08-08 12:40:42 +02:00
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