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
Patryk Andrzejewski
9ef4d4c6ee
Revert "Introduce vite ( #2580 )" ( #2676 )
...
This reverts commit 9de945d61a
.
2022-11-24 16:24:04 +01:00
Patryk Andrzejewski
470acdb97f
Revert "Set fixed assets directory ( #2674 )" ( #2675 )
...
This reverts commit 495862478f
.
2022-11-24 16:22:42 +01:00
Patryk Andrzejewski
495862478f
Set fixed assets directory ( #2674 )
2022-11-24 16:08:32 +01:00
Patryk Andrzejewski
9de945d61a
Introduce vite ( #2580 )
...
* Vite, remove webpack
* Clean deps
* Fix apollo types
* Fix types
* CI
* Fix types
* Fix types
* Keep required deps for storybook
* Rename build dir
* Sentry config, fix react-virtualized issue
* Set NODE_OPTIONS
* Fast-refresh rule for eslint
* Update deps
* Update deps
* Update deps
* Remove webpack
* Add sw
* Update dockerfile
* Update dockerfile
* Update readme, dev port
2022-11-24 15:24:08 +01:00
Wojciech Mista
9574e6a92c
Macaw UI update ( #2512 )
...
Co-authored-by: andrzejewsky <vox3r69@gmail.com>
Co-authored-by: timur <timuric@gmail.com>
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
2022-11-24 13:16:51 +01:00
Dawid
dbe394f2a8
Fix images overflow in media picker ( #2625 )
...
* Fix scroll bar in media picker
* Update storybook types
2022-11-24 11:54:25 +01:00
Lukasz Ostrowski
1beb8473aa
Fix master-staging api path ( #2662 )
2022-11-24 10:35:38 +01:00
Karol
6c96ce681b
Update bug_report.md ( #2659 )
2022-11-24 10:13:40 +01:00
Lukasz Ostrowski
9e351829c8
Change marketplace domain in master-staging ( #2658 )
2022-11-24 08:48:41 +01:00
Timur Carpeev
93b70cb2b7
Spacing nudges ( #2472 )
...
* Spacing nudges
* Use flex
* Added wrapping
* Update snapshot
2022-11-23 18:17:19 +01:00
Dawid
2e45f04802
Fix improper double attempt to get external access token ( #2504 )
...
* Fix improper double attempt to get external access token
* Update messages
* Add auth error types
2022-11-23 12:09:48 +01:00
Lukasz Ostrowski
1fa9213871
Add support for synchronizing App's routing with Dashboard path ( #2551 )
...
* Add draft redirection fix
* Update SDK
2022-11-22 10:29:29 +01:00
Krzysztof Żuraw
3247131570
Use cross-env to pass env vars ( #2610 )
2022-11-21 11:52:35 +01:00
Krzysztof Żuraw
056aab2560
Allow to send 0 as price ( #2620 )
2022-11-18 15:59:58 +01:00
Dawid
e1b3d5b4f3
Add names of attributes translations ( #2566 )
...
* Add names of attributes translations
* Support plain text attributes translation
* Fix translation field type
* Refactor attribute translations input data
* Refactor translation fields code
* Fix translation fields invalid skeleton display
2022-11-17 15:14:45 +01:00
Lukasz Ostrowski
8ab43fd519
Provide full API URL of Saleor to app iframe, add test ( #2579 )
...
* Provide full API URL of Saleor to app iframe, add test
* Fix imports after refactor
2022-11-17 15:10:33 +01:00
Krzysztof Żuraw
f0918842e6
Update docker copy syntax & readme runtime API URL change ( #2597 )
2022-11-17 14:51:58 +01:00
Karolina Rakoczy
a3c011c9bf
Create workflow to run tests in loop for detecting flaky tests ( #2547 )
...
* Run cypress in repeat
* change node version
* install with frozen lock file
2022-11-17 13:52:58 +01:00
Michał Droń
5c1a62171d
🦄 Simple taxes ( #2072 )
...
* Tax configuration - implement channels view (#2048 )
* Add channels view
* Fix channels view import
* Remove legacy stories references
* Fix link in configuration
* Update snapshots
* Remove sample checkboxes props
* Disable hover in country exceptions
* Update snapshots
* Extract country exception rows to seperate component
* Extract components to seperate files
* Remove duplicated section name
* Remove backlink
* Add translations to section names
* Extract messages
* Add ListItemLink component
* Replace navigator with link in TaxChannelsMenu
* Fix horizontal scroll in TaxChannelsMenu
* Change codegen to build from custom schema
* Build types
* Update fragments
* Add fixtures
* Change any to proper types
* Add story for tax channels page
* Replace MUI Skeleton with Saleor Skeleton
* Change clsx import to classnames
* Fix checkboxes shadows in settings card
* Update IDs in fixtures
* Fix offset in TaxChannelsMenu
* Update snapshots
* Remove any from TaxSettings
* Fix todos
* Change relative marginLeft to before pseudoelement
* Extract styles to seperate files
* Change folder structure
* Extract redirect logic to custom hook
* Update snapshots
* Fix comment
* Add early return in channels view
* Tax configuration - implement countries view (#2053 )
* Add channels view
* Remove sample checkboxes props
* Disable hover in country exceptions
* Extract country exception rows to seperate component
* Extract components to seperate files
* Remove duplicated section name
* Remove backlink
* Add translations to section names
* Replace navigator with link in TaxChannelsMenu
* Fix horizontal scroll in TaxChannelsMenu
* Change any to proper types
* Add story for tax channels page
* Replace MUI Skeleton with Saleor Skeleton
* Change clsx import to classnames
* Fix checkboxes shadows in settings card
* Update IDs in fixtures
* Fix offset in TaxChannelsMenu
* Remove any from TaxSettings
* Add countries list view
* Add TaxCountryMenu component
* Add CountryList page
* Change channels menu rows height
* Change countries menu rows height
* Add TaxInput component
* Add tax classes rates to countries page
* Fix search input padding
* Add minmax to TaxInput
* Add searching through tax class rates
* Extract messages
* Add better handlers
* Add fullWidth to TaxInput
* Specify type for TaxInputs
* Remove spinboxes on firefox
* Remove custom spinboxes
* Remove maxHeight from menu rows
* Post-rebase fix
* Change setter to formchagne
* Add TaxConfiguration fragment
* Add isDefault field to taxClass
* Add fixtures
* Shape data
* Replace useEffect with useTaxUrlRedirect
* Fix country names in menu
* Add country page story
* Add early return in countries view
* Unify loading states between channels and countries pages
* Handle special chars and case insensitiveness in local search
* Replace navigate function with ListItemLink
* Move styles to seperate file
* Move styles to seperate file
* Migrate to strict null checks
* Remove unnecessary optional chaining
* Change overflow scroll to Y only
* Add useMemo on finding selected country
* Add useMemo on local search
* Translate labels in page tabs
* Change url from /taxes/classes to /taxes/tax-classes
* Remove capitalization from strings
* Extract messages
* Bump macaw to 0.6.2
* Update snapshots
* Add spinboxes explanation comment
* Handle empty state
* Add tax classes view (#2093 )
* Add TaxClass fragment
* Build types
* Add tax classes to fixtures
* Add tax classes view
* wip Add tax classes page
* Add tax classes menu
* Add TaxRate fragment
* Extract logic
* Handle loading state & add story
* Extract messages
* Update snapshots
* Change schema building from schema back to introspection
* Update schema
* Update fragments
* Build types
* Update fixtures
* Reshape data
* Move styles to seperate file
* Use getById
* Add explicit undefined
* Comment out unfinished modal stories
* Update snapshots
* Taxes - add API calls in channels view (#2106 )
* Build types
* Add TaxRate fragment
* Update snapshots
* Add taxConfigurationList query
* Add taxCountriesList query
* Add TaxClassesList query
* Rename TaxConfigurationsList query
* Handle empty state
* Fix types post-rebase
* Add form to TaxChannelsPage
* wip Add dialog for handling country exceptions
* wip Fix dialog url
* wip Add update exceptions handlers
* Add dialog story
* Fix type errors
* Add mutation support
* Fix types in story
* Add transition state to submit button
* Add notifier
* Extract messages
* Remove unused import
* Add backlink in savebar
* Update snapshots
* Fix link in navigation
* Update snapshots
* Remove message from tax config error fragment
* Add hook description
* Use useStateFromProps
* Remove error handling
* Improve url & path function names
* Use theme.spacing in TaxCountryDialog styles
* Remove redundant key modification
* Revert "Use useStateFromProps"
This reverts commit d3c68b04701cf935e917d7baa3ed1361ca3446d5.
* Move initial map to parent & add open dependency to countries state
* Use useModalDialogOpen
* Fix state update
* Remove scrolls & add ellipsis in side menu
* Center checkboxes
* Update snapshots
* Add fake div for list alignment
* Trigger deployment
* Close modal on submit
* Remove divider on last ListItem
* Align add country button
* Wrap grid child in div to avoid card stretching
* Update snapshots
* Trigger changes in add/delete exceptions
* Trigger change on expcetion checkboxes
* Add trailing commas
* Connect countries view to API (#2178 )
* Add empty states
* Update countries view urls
* Remove unused import
* Add country modal to countries view
* Update schema
* Implement country view mutations & error fragments
* Implement tax class update mutation
* Add sidebar temporary state for new configs
* Remove unused imports
* Wrap in form
* Add savebar & fix search
* Update schema
* Add form wrapper
* Fix types
* Extract messages
* Bump macaw
* Update snapshots
* Fix comma dangles
* Update snapshots
* Notify about mutation success
* Add logic for mixing current and new rates
* Workaround for sending null rates
* Fix filling form with correct data after submitting
* Handle deleting configuration
* Fix selected banner
* Remove leftover comment
* Add handler for country configuration delete
* Trigger deployment
* Clean up useEffects causing infinite render loops
* Sort countries from api by name
* Fix card bottom padding
* Remove bottom divider & fix padding
* Remove scroll wrapper in side menu
* Update snapshots
* Remove scroll wrapper from tax classes menu
* Update snapshots
* Refresh form to initial onSubmit
* Revert "Refresh form to initial onSubmit"
This reverts commit 42414237d35086da63f4aa088c8072411429b1d8.
* Allow only 3 decimal characters in tax inputs
* Update snapshots
* Update schema
* Update types
* Change logic from default tax class to null class
* Fix sorting
* Send empty country rates as nulls in mutation
* Extract messages
* Update lockfile
* Update schema
* Drop default tax classes
* Update snapshots
* Post-rebase fixes
* Connect tax classes view to API (#2334 )
* Add mutations
* Handle empty state
* Wrap page in form
* Update stories
* Build types
* Handle tax class delete
* Handle update tax class
* Update stories
* Handle tax class change name
* Add mutation state to savebar
* Handle creating new tax classes
* Extract messages
* Specify type
* Update stories
* Sort rates
* Fix skeleton rendering
* Remove placeholders
* Fix skeleton rendering on country list
* Update snapshots
* Change initial pagination to 100
* Disallow creating multiple new tax classes
* Disallow creating multiple country configurations
* Fix messages
* Autofocus on new tax class name
* Add country name to header
* Temporarily comment out broken code in tax channels
* Update snapshots
* Update snapshots post-rebase
* Add tax strategies & assigning tax classes (#2369 )
* Update fragments
* Add optional merging in useForm
* Handle tax strategies
* Update snapshots
* Update fixtures
* Extract messages
* Remove unused shop query fields
* Fix breaking bug when fetchMore is used in non-searchable SingleAutocompleteSelectFields
* Migrate product types to tax classes
* Add tax classes to shipping methods
* Use encapsulated logic in product types
* Fix product type stories
* Fix shipping fixtures
* Fix product type type mismatch
* Fix shipping stories
* Fix product type fixtures
* Fix mismatching types
* Extract messages
* Update snapshots
* Update snapshots
* Fix comment
* Drop deprecated graphql fields
* Replace tax types with tax classes in product create view
* Replace tax types with tax classes in product update view
* Fix tests, stories, fixtures
* Extract messages
* Update snapshots
* Move status messages to commonStatusMessages
* Handle empty array case in tax class change handler
* Reuse messages
* Simple taxes bugfixes (#2395 )
* Fix tax channels menu - dense layout
* Change view names to fit convention
* Fix per country exceptions in tax channels view
* Fix skeleton rendering on tax countries card title
* Filter out existing countries from modal
* Update snapshots
* Fix deleting country configuration
* Disallow negative values in tax inputs
* Handle empty tax classes view
* Allow empty options in shipping & product types views tax class assignment field
* Modify undefined rates in tax classes view
* Update macaw-ui
* Fix UI on channels view
* Fix UI on countries view
* Fix UI on countries view
* Align tax class rate label to the right
* Updaste snapshots
* Extract messages
* Fix adding rates on new tax class
* Fix key errors
* Update schema
* Build types
* Allow empty rates in taxClassUpdate mutation
* Extract tax channels change country function as a handler
* Deprecate useStateFromProps
* Change useStateFromProps to useStateUpdate
* Fix dividers
* Delete delete icon on new tax classes
* Update snapshots
* Update lockfile
* Update macaw to 0.6.6
* Update snapshots
* Specify type of input in country change handler
* Extract autofocus logic to custom hook
* Replace alternative with switch statement
* Extract country exclusion logic from JSX
* Update lockfile
* Update lockfile
* Trigger deployment
* Fix invisible select markers
* Fix linter issue
* Fix crashing product details page
* Fix e2e error
* Update snapshots
* Allow view taxes with any staff permissions (#2510 )
* Update after rebase
Co-authored-by: Dawid <tarasiukdawid@gmail.com>
2022-11-17 13:48:50 +01:00
Ewa Czerniak
6e1230b10d
removing returnUrl to fix stock test ( #2562 )
2022-11-17 13:47:40 +01:00
Karolina Rakoczy
3b99eb9033
Fix nightly tests after changing node to 18 ( #2594 )
...
* Add image with installed node 18 version
* increase memory limit
2022-11-17 13:42:28 +01:00
Karolina Rakoczy
3653653e29
Add sqash method when merging release pull requests ( #2596 )
2022-11-17 12:35:34 +00:00
Dawid
03f2b5c544
Fix product channels update error ( #2528 )
...
* Fix product channels update error
Fixed error occured after trying to update availability of variant
channel in datagrid, which (channel) was later on removed from being available on
product. Now variant channel availability shouldn't be appended to channel listing
update input when channel has been disabled on product.
* Add test of inferProductChannelsAfterUpdate
2022-11-17 12:47:11 +01:00
Krzysztof Żuraw
ac063c6410
Update Dockerfile ( #2523 )
...
Co-authored-by: Francisco Marques <franciscopcmarques@gmail.com>
2022-11-16 16:01:34 +01:00
Karolina Rakoczy
1eecdfa5c1
Fix issue url in release PR ( #2577 )
2022-11-16 15:40:19 +01:00
Karolina Rakoczy
2bbb458f56
Fix tests for customer registration and reset password ( #2560 )
2022-11-16 13:44:34 +01:00
Krzysztof Żuraw
a64ea3609d
Add explicit node version to nightly test job ( #2576 )
2022-11-16 11:53:50 +01:00
Krzysztof Żuraw
5bd79d9692
Upgrade node to 18 ( #2533 )
...
Co-authored-by: Karolina Rakoczy <karolina.rakoczy@saleor.io>
2022-11-15 15:41:46 +01:00
Ewa Czerniak
8d4cacc68c
fix for addUserToPermissionGroup and refactor of permissions tests ( #2555 )
2022-11-15 10:55:31 +01:00
Anna Szczęch
1c70ad3a4b
Fix adyen tests ( #2545 )
...
* update adyen plugin before tests
* add payments tag to PR template
2022-11-14 15:56:50 +01:00
Krzysztof Żuraw
32cc9c9bdb
Do not send availableForPurchaseDate if channel is unavailable ( #2506 )
2022-11-09 17:41:11 +01:00
Krzysztof Żuraw
5fdb51c0ee
Close datagrid modal by esc key ( #2507 )
2022-11-09 17:40:57 +01:00
Karolina Rakoczy
33cfd21a76
Fix add comment to release PR with tests status ( #2548 )
2022-11-09 16:26:49 +01:00
Karolina Rakoczy
9d4c198140
Run cypress in repeat ( #2537 )
...
* Run cypress in repeat
* Update .github/workflows/cypress-repeat.yml
Co-authored-by: Anna Szczęch <30683248+szczecha@users.noreply.github.com>
Co-authored-by: Anna Szczęch <30683248+szczecha@users.noreply.github.com>
2022-11-09 13:56:50 +01:00
Ewa Czerniak
b0cdfb7545
refactor c&c tests ( #2542 )
2022-11-08 11:23:24 +01:00
Anna Szczęch
6efd73230b
add wait for ProductCreate request ( #2543 )
2022-11-08 10:20:02 +00:00
Anna Szczęch
0c1fa47c35
wait for requests on add menu item page ( #2540 )
2022-11-08 10:19:52 +00:00
Dawid
7fd2eb2a2c
Revert "Add names of attributes translations ( #2433 )" ( #2531 )
...
This reverts commit 796383637c
.
2022-11-07 12:20:58 +00:00
Karolina Rakoczy
8ab097b7d3
Speed up releases ( #2527 )
...
* create issues on github, a add comment that can be merged if known bugs
* remove old lines for comment
2022-11-07 09:25:00 +00:00
Anna Szczęch
4549b0d5ab
add retries to cypress config ( #2536 )
2022-11-04 16:00:46 +01:00
Mika
47dce437b6
CODEOWNERS: require SRE approval for CI changes ( #2529 )
...
When a CI is added or changed, @cloud/sre should be reviewing the changes unless the changes are deployments, in which care @saleor/cloud will be reviewing.
2022-11-04 11:23:07 +01:00