Commit graph

3113 commits

Author SHA1 Message Date
Slava
6c92c540b9
Update app.json (#2307)
Add a "stack" option, because the default heroku-22 throws an error.
2022-12-13 13:09:37 +01:00
Andrey Yolkin
6f55804978
Fixed: fixed typo 'Расродажи' in rebased ru.json (#1999)
thanks!
2022-12-13 13:06:40 +01:00
Karol
9c605f8d1b
[cypress] add tests for gift cards bulk create and export (#2801)
* first draft

* fixed data-test-id

* done

* restore port for cypress

* change email

* pr improvments

* add csv check

* adjustments

* added check for xlsx

* change name

* change name

* remove cy log

* remove cy log

* add yaml cypress mailhog var
2022-12-13 08:04:54 +01:00
Krzysztof Żuraw
d19427784a
Do not install husky on CI (#2839) 2022-12-12 14:08:06 +01:00
Krzysztof Żuraw
03a6cc72ad
Remove double husky pkg (#2838) 2022-12-12 12:52:50 +01:00
Krzysztof Żuraw
3463d1d179
Run tests on push to origin (#2791) 2022-12-12 11:22:39 +01:00
Krzysztof Żuraw
6b685b109c
Remove double pkgs in pkg.json (#2826) 2022-12-12 10:45:14 +01:00
Dawid
6725f6fde2
Fix products filtering (#2746)
* Fix products filtering

* Refactor products filtering functions

* Update filter test snapshots

* Add tests for attribute filtering
2022-12-09 15:18:59 +01:00
Patryk Andrzejewski
b612e2be69
Prevent crash apps about page caused by react-markdown library (#2803)
* Install polyfill for process

* Install polyfill for rollup
2022-12-09 15:12:16 +01:00
Patryk Andrzejewski
15105f77ce
Demo mode improvements (#2825)
* Enable DEMO_MODE env

* Set GH star button
2022-12-08 16:34:46 +01:00
Patryk Andrzejewski
e803c1980e
Fix overlapping cells in product list view (#2657)
* Fix breaking words on table cells

* Update snapshots
2022-12-08 13:08:35 +01:00
Patryk Andrzejewski
5c7b191bb2
Update dependencies (intel fix) + bump current dev version (#2816)
* Fix deps

* Set curent dev version
2022-12-08 11:40:00 +01:00
Patryk Andrzejewski
81615ab6a6
Fix broken HRM on the apps page (#2794)
* Split context to the separate file

* Split context to the separate file
2022-12-07 13:10:51 +01:00
Krzysztof Żuraw
422feec2b7
Remove enzyme and react-test-renderer (#2788) 2022-12-07 11:20:09 +01:00
Michał Droń
8634aa4542
Fix exit form issue in product translations (#2644)
* Fix rich text exit form issue

* Add unit test for rich text submit hook

* Extract logic

* Fix tests

Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2022-12-07 11:02:02 +01:00
Michał Droń
b0ba5cc2ab
Enable use unknown in catch variables (#2784)
* Enable use unknown in catch variables rule

* Add type guards in useAuthProvider

* Add type cast in FilterErrorsList

* Handle error in tasks
2022-12-07 11:00:42 +01:00
Anna Szczęch
443a94834e
expect email to lowercase in test assertions (#2796) 2022-12-07 10:52:39 +01:00
Anna Szczęch
20d79dce71
Update e2e.yml (#2778) 2022-12-07 10:16:15 +01:00
Patryk Andrzejewski
c2a322aa95
Docker building images improvement (#2767)
* Optional deps

* Move storybook as optional dep

* Set defaults
2022-12-07 09:25:44 +01:00
Adrian Pilarczyk
f8f945d1af
Refresh README.md (#2768)
* Update README.md

* Update README.md

* Update README.md

* docs: 📝 add articles to docs folder

* docs: 📝 add configuration article

* docs: 📝 add emojis 😋

* docs: 📝 restructure readme

* docs: 📝 add deployment article

* Empty-Commit
2022-12-06 15:23:04 +01:00
Dawid
0741d3ca2c
Improve saving variant images (#2640)
* Improve saving variant images

* Update storybook types

* Add getSelectedMedia function for products

* Add test for handleAssignMedia in products

* Follow AAA test convention

* Add confirm button to media dialog selector

* Move dialog styles to separate file
2022-12-06 12:03:41 +01:00
Dawid
b98d5d57ef
Fix visual regression in datetime attribute (#2787) 2022-12-06 12:02:45 +01:00
Patryk Andrzejewski
018b93aaa6
Prevent infinite reloading service worker (#2785)
* Respect interval for service worker

* Do not load sw by vie plugin

* Move comment above
2022-12-06 11:12:19 +01:00
Krzysztof Żuraw
04b93cdc9b
Use stable release of macaw-ui (#2789) 2022-12-06 10:49:51 +01:00
Patryk Andrzejewski
c4f6a18d38
Remove snapshots (#2754)
* Remove snapshots

* Remove setup file

* Keep config
2022-12-02 12:58:43 +01:00
Michał Droń
347e32ef4a
Replace classnames with clsx (#2759)
* Replace classnames with clsx

* Add clsx to package.json

* Remove classnames

* Remove classnames types

* Restrict classnames in eslint rules
2022-12-02 11:45:19 +01:00
Karol
d2496679c0
[cypress] Add tests for delete several gift cards (#2646)
* done

* pr fixes part1

* wip

* pr adjustments

* remove cy log
2022-12-02 10:37:09 +01:00
Michał Droń
e900f2e1df
Fix strict null checks in webhooks (#2678)
* Fix strict null errors in webhooks

* Disable strict null checks

* Update snapshots

* Add migration comment in tsconfig

* Fix 404 on loading

* Fix loading case
2022-12-01 14:42:18 +01:00
Patryk Andrzejewski
c46ec15e14
Wrap path into array (#2753) 2022-12-01 13:16:03 +01:00
Michał Droń
132fc1aa0a
Enabe strict bind call apply rule (#2750) 2022-12-01 12:12:41 +01:00
Patryk Andrzejewski
9bd69248d4
Fix service worker (#2760) 2022-12-01 11:55:46 +01:00
Karolina Rakoczy
7bcc6dac00
Remove vidoes after cypress tests (#2729)
* remove video if test passed, decrease video compression

* do not compress videos

* always remove videos
2022-12-01 10:46:59 +01:00
Lukasz Ostrowski
e06d3bdf0d
Improve dashboard and marketplace connection (#2666)
* Change env variables related to marketplace, add navigation item

* Change apps order

* Add button to browse marketplace

* Add redirect to Saleor Apps Marketplace on button click

* Move apps tabs state to URL

* Pass theme for initial marketplace iframe load

* Improve marketplace mount

* fix types

* fix cr

* Update env variables to disable marketplace on envs other than master staging

* Extract locales

* update snapshots
2022-11-30 17:20:20 +01:00
Dawid
f2af4a1b23
Metadata settings in tax classes (#2680)
* feat: added metadata settings to tax classes

* test: update test snapshots

* refactor: update taxes error handling

* refactor: add TaxClassBase fragment

* refactor: update tax classes initial values definition
2022-11-30 17:18:44 +01:00
Karolina Rakoczy
689568694e
Fix tags in cypress nightly tests (#2745) 2022-11-30 17:15:39 +01:00
Michał Droń
ea306ec11e
Enable always strict rule (#2710) 2022-11-30 11:27:23 +01:00
Michał Droń
20c69efe16
Enable no implicit this (#2709)
* Enable no implicit this

* Fix this reference in order return utils
2022-11-30 11:11:28 +01:00
Karol
cf2b42f467
Update feature_request.md (#2661) 2022-11-29 14:32:48 +01:00
Lukasz Ostrowski
46b0adec0e
Construct full API URL in case not full provided (#2738)
* Construct full API URL in case not full provided

* Resolve URL from base path

* Fix types
2022-11-29 11:45:51 +01:00
Michał Fijołek
3c260557a7
order list metadata filter can be saved (#2259) 2022-11-29 10:41:39 +01:00
Patryk Andrzejewski
aa10a1d08e
Introduce vite (#2677)
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
2022-11-28 14:56:46 +01:00
Karolina Rakoczy
ea2cd5fe96
clear session data when needed (#2711) 2022-11-28 12:36:53 +01:00
Lukasz Ostrowski
17e3c4c8f2
Resolve saleor host/domain from full saleor api url (#2613) 2022-11-28 12:15:48 +01:00
Anna Szczęch
231a32d115
Update permissions for staff members in e2e tests(#2728) 2022-11-28 11:40:27 +01:00
Michał Droń
4f78d00534
Remove warehouse selection for preorder cases on fulfill page (#2515) 2022-11-25 14:59:11 +01:00
Ewa Czerniak
7933ecf482
remove tests for preorders (#2699) 2022-11-25 13:22:14 +01:00
Krzysztof Żuraw
ab268dec0b
Use MacawUI that supports node 18 (#2684) 2022-11-25 11:08:24 +01:00
Dawid
7c1c7933e3
Fix account settings page when logged in with external auth (#2478)
* Fix account settings page when logged in with external auth

* Update staff details page types

* refactor: staff member page utils
2022-11-25 10:35:53 +01:00
Krzysztof Żuraw
51dc1f5276
Set proper line endings for windows (#2665) 2022-11-25 10:25:04 +01:00
Karolina Rakoczy
c222657463
On release tests run only critical paths (#2663)
* In old version release run small package of most important tests

* add to releases tests for stocks, warehouses and orders

* Update .github/workflows/tests-nightly.yml

Co-authored-by: Mika <6186720+NyanKiyoshi@users.noreply.github.com>

* remove set-output command

* Fix set tags step

* Fix for url in release

Co-authored-by: Mika <6186720+NyanKiyoshi@users.noreply.github.com>
2022-11-25 10:13:13 +01:00