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
Dawid
796383637c
Add names of attributes translations ( #2433 )
...
* 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-04 11:11:47 +01:00
Michał Droń
dc5a6ac76b
Update Typescript ( #2494 )
...
* Update TypeScript
* Fix recursive typing in navigation
* Fix linter issue
* Update lockfile
2022-11-03 11:43:44 +01:00
Krzysztof Żuraw
44f7dc9ba9
tests: use env file for e2e tests ( #2457 )
2022-11-02 14:53:38 +01:00
Dawid
3a3a4a7ae6
Add metadata webhook events ( #2375 )
2022-11-02 13:31:17 +01:00
Michał Droń
7387019288
Use single price value instead of range in product list ( #2386 )
...
* Render single value when amount of money is matching
* Use Intl.NumberFormat in money formatting
* Extract messages
2022-11-02 12:20:25 +01:00
Krzysztof Żuraw
da8e4e5a9c
Fallback data length to 0 on product dialog ( #2485 )
2022-10-31 11:39:42 +01:00
Krzysztof Żuraw
cac3e43702
Disable spellcheck for PII fields ( #2416 )
2022-10-31 11:37:07 +01:00
Patryk Andrzejewski
802524744b
Set different version of macaw ( #2501 )
...
* Set different version of macaw
* Spanshots
2022-10-28 11:29:07 +02:00
Anna Szczęch
522e06d519
Fix test should create simple product without sku SALEOR_2806 ( #2497 )
...
* fix eslint errors
* add assertion to fillAutocompleteSelect
2022-10-28 10:39:22 +02:00
Michał Droń
513b39ae5f
Bump version to 3.9.0-dev ( #2491 )
...
* Bump package.json version to 3.9.0-dev
* Update lockfile
2022-10-28 09:48:43 +02:00
Patryk Andrzejewski
223fe64456
Update CI workflow for demo staging ( #2487 )
2022-10-27 20:37:27 +02:00
Patryk Andrzejewski
992aa64937
Update Macaw-UI ( #2495 )
...
* Update Macaw-UI
* Update snapshots
2022-10-27 17:52:13 +02:00
Patryk Andrzejewski
c009f07581
DataGrid full-screen mode ( #2453 )
...
* full screen mode
* add product title, review
* update snapshots
* Update messages
2022-10-27 17:26:09 +02:00
Timur Carpeev
cfb8be1893
Made headers smaller ( #2466 )
...
* Made headers smaller
* Changed to h3
* update snapshots
Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2022-10-27 15:04:29 +02:00
Michał Droń
96650bb237
Update macaw to 0.6.6 ( #2459 )
...
* Update macaw-ui
* Update snapshots
* Change caret to tilde
2022-10-27 14:02:51 +02:00
Jonatan Witoszek
11a990d197
Remove hover from non-interactive table rows ( #2358 )
...
* Disable hover effect when TableRow is not clickable
* Replace TableRow with TableRowLink
* Update snapshots
2022-10-27 12:58:17 +02:00
Karolina Rakoczy
b729a59fce
Fix tests for metadata ( #2462 )
2022-10-27 11:40:52 +02:00
Karolina Rakoczy
8a28230577
Activate plugins before tests ( #2477 )
2022-10-27 11:40:33 +02:00
Karolina Rakoczy
4dcc38cf48
Fix tests for products ( #2447 )
2022-10-27 11:27:34 +02:00
Anna Szczęch
469328de0b
remove multiselect from use attributes in variant selection ( #2484 )
2022-10-27 10:30:08 +02:00
Karolina Rakoczy
d669fef773
Disable test for weight recalculate ( #2476 )
2022-10-26 17:15:52 +02:00