Commit graph

3279 commits

Author SHA1 Message Date
Karol
0d7af543ac
2916 fix cypress tags (#2927)
* part one

* part two

* part three

* part four, changes menage to manage

* done
2022-12-30 08:21:28 +01:00
poulch
bf2a2035d3
Fix strict null check in Apps (#2911)
* Fix apps strict null checks

* Set strictNullChecks to false

* Improve strict null checks

* Replace typ to Extension
2022-12-29 13:51:54 +01:00
Karolina Rakoczy
39ea58f02b
Fix comment on release PR if tests errored (#2915) 2022-12-27 12:22:16 +01:00
Patryk Andrzejewski
4e0528146b
Fix displaying ountry are as readable name (#2910)
* Fix displaying country area

* Fix displaying country area

* Remove local code
2022-12-23 13:17:41 +01:00
Karol
e69eb9cc5f
Cypress 2608 staff member tests (#2902)
* fix existing

* add SALEOR_3508

* add data-test-id needed for 3509

* add TODOs

* 3509 done, work on 3510

* done 3510

* found bug blocking test 3507, gh 2847

* pr review adjustments

* pr adjustments

* additional pr adjustments
2022-12-23 11:30:21 +01:00
Michał Droń
402069f464
Fix dialog maxHeight on short viewports (#2881) 2022-12-21 13:17:33 +01:00
Patryk Andrzejewski
6db5dfa94a
Implement dropdown for province/country area selection based on allowedFields from the API (#2833)
* Dropdown for province / country area

* Remove unused ref

* Implementation for settings and warehouses

* Disable autocomplete
2022-12-21 09:54:45 +01:00
Endo
3669f45061
replace filter method from fuzzaldrin with native filter method of javascript to fix country select issue #2751 (#2772)
* replace filter method from fuzzaldrin with native filter method of javascript to fix country select issue #2751

* added fuse.js and replace filter of fuzzaldrin with search of fuse.js to fix country select issue #2751

* use original array if query is empty in SingleAutocompleteSelectField, not use fusejs result
2022-12-20 14:18:50 +01:00
Patryk Andrzejewski
2327d92b41
Fix search in reference attributes (#2878)
* Fix attribute reference search

* Fix attribute reference search
2022-12-20 11:55:28 +01:00
poulch
1d4c4d878e
Datagrid - show icon button when single menu item with icon (#2862)
* RowMenu component

* Show first menu item as icon

* RowAction tests

* Change Edit button

* Remove outline from colum picker

* Change ghost color

* Update enterVariantEditPage test

* Update test id in test for edit button

* Update editVariant selector in test
2022-12-16 20:59:39 +01:00
Michał Droń
e90a2fd757
Remove submitting from exit dirty form modal (#2820)
* Remove submit from exit dirty form util

* Extract messages

* Change data-test-id attributes

* Add a unit test

* Change given when then to AAA

* Mock packages

* Change button click to user events
2022-12-16 15:54:41 +01:00
Dawid
bba95a8fb4
Extract "webhooks & events" to separate page (#2818)
* Extract "webhooks & events" to separate page

* Create separate /custom-app/ path for custom apps with webhooks

* Change all /webhooks/ paths to /custom-apps/

* Update messages

* Update generated graphql types

* Create findById util

* Refactor consts and resolvers for custom app urls

* Fix app graphql fragment

* Update Miscellaneous icon for Webhooks and Events

* Add tests for custom apps utils

* Fix dark-mode Miscellaneous icon for Webhooks and Events

* adjustments for autotests

Co-authored-by: karolm-saleor <karol.macheta@saleor.io>
2022-12-15 14:51:05 +01:00
poulch
ef35e5149b
Fix strict null check in SiteSettings module (#2851)
* Fix strict null check in SiteSettings

* Improve urls
2022-12-14 18:11:24 +01:00
poulch
769268a9a7
Restore expand-icon test id (#2856)
* Remove expand icon in ChannelList

* Update macaw ui to 0.7.1
2022-12-14 13:48:43 +01:00
Patryk Andrzejewski
550ef12ab2
Fix assign attribute for pages (#2843)
* Fix assign attribute for pages

* Fix assign attribute for pages

* Fix assign attribute for pages

* Fix assign reference for edit page
2022-12-14 12:15:39 +01:00
Tomasz Magulski
e77c20722e
[CLOUD-2287] Don't automerge CORE deployments to SANDBOXES (#2846) 2022-12-14 10:42:23 +01:00
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