Commit graph

3326 commits

Author SHA1 Message Date
Anna Szczęch
644b58a914
Fix failed night schedule tests (#3015)
* fix e2e tests

* update test tag

* update tax config in tests failing on v310

* updatet taxes for product variant tests

* move updateRaxConfiguration to beforeEach

* fix imports

* change retries in config

* update data-test-id and remove failing wait for request
2023-01-25 11:32:28 +01:00
poulch
7593e6378a
Fix crash staff page when access property of undefined (#3038) 2023-01-25 08:34:01 +01:00
Mika
c3a925d63d
Update CODEOWNERS (#3026) 2023-01-24 18:52:41 +01:00
Krzysztof Żuraw
1e6b53e249
Basic sidebar version (#3039) 2023-01-24 16:48:51 +01:00
Jakub Neander
112747a51c
Add GraphiQL for defining subscription queries for webhooks (#2885)
Co-authored-by: Bartłomiej Wiaduch <tukan2can@gmail.com>
Co-authored-by: timur <timuric@gmail.com>
Co-authored-by: Michał Droń <dron.official@yahoo.com>
2023-01-24 14:59:14 +01:00
Bartłomiej Wiaduch
93df011c7b
Fix data-test-id for TokenCreateDialog (#3034) 2023-01-24 13:18:53 +01:00
poulch
167274d361
Remove flagsmith (#3025) 2023-01-24 11:50:14 +01:00
poulch
0c704cf1d7
Improve feature flags (#3027)
* Fix checking if env flag is enabled

* Restrict flag value to string

* Flagsmit to string value
2023-01-24 11:27:04 +01:00
Jonatan Witoszek
1b51a978ec
Fix Jest wrong timezone when run locally (#3029) 2023-01-24 10:50:08 +01:00
Timur Carpeev
8e09d15522
Add playground headers (#3016)
* Add playground headers

* Small refactor, messages generation

* Small refactor, messages generation

* Ci

* Ci

Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2023-01-24 09:35:29 +01:00
Krzysztof Żuraw
373c9e9ac3
Add sidebar feature flag (#3019)
Co-authored-by: andrzejewsky <vox3r69@gmail.com>
2023-01-23 12:16:02 +01:00
Lukasz Ostrowski
076ea0ca66
Remove redundant envs from master.staging env (#3022)
These envs were not updated with last PR, from Marketplace/Appstore POV envs should be the same on staging and master.staging
2023-01-23 11:59:24 +01:00
Michał Droń
abbe76442d
Fix strict null errors in utils (#3007)
* Fix strict null in utils/errors

* Fix auth-related src/utils strict null errors

* Fix data, maps and tables utils

* Fix utils/urls

* Fix filters

* Fix strict null errors in utils/handlers

* Fix strict nulls in utils/menu

* Fix strict nulls in utils/sort

* Fix strict nulls in utils/richText

* Fix search handler

* Fix siteSettings leftover type mismatch

* Fix page map error for attribute case

* Fix type error for sdk error codes

* Fix Choice type in page maps

* Fix error types mismatch

* Remove addressType from type union in auth error message
2023-01-23 09:30:04 +01:00
poulch
221adf25d6
Paginate tax rates in the tax class view (#2997) 2023-01-20 13:51:46 +01:00
Dawid
05b2da8082
Uncover new apps marketplace (#2993)
* Uncover new apps marketplace

* Update apps marketplace GitHub workflows envs
2023-01-19 14:15:46 +01:00
Dawid
513655f3a1
Improve contextual actions in new apps marketplace (#2975) 2023-01-19 12:54:57 +01:00
poulch
ae5af8ff3d
Update dockerfile after remove codegen file (#3010) 2023-01-19 11:19:19 +01:00
Krzysztof Żuraw
b88ee3c3b9
Add Feature Flags support to storybook (#2994) 2023-01-18 14:23:43 +01:00
Michał Droń
931467a73a
Fix strict null checks in warehouses (#2945)
* Fix strict nulls in warehouse details

* Fix strict null check in warehouse list

* Fix stcit null checks in warehouse create view

* Fix overlapping label in textfields

* Improve labels in warehouse details

* Improve function description
2023-01-18 10:23:24 +01:00
Patryk Andrzejewski
53806abc10
Staff member cannot chnge its own settings (#2968) 2023-01-17 09:51:18 +01:00
Anna Szczęch
b723e05b2f
Change tags in tests from stagedOnly to allEnv (#2985) 2023-01-16 15:05:07 +01:00
poulch
d5ed6fb202
Feature flags (#2961)
* [Feature Flags] Abstraction over flags provider (#2928)

* Remove useFlag hook

* [Feature Flags] GraphQL build multiple schemas (#2937)

* Build script

* Refactor build types script

* Remove old codegen.yml

* Clean feature flags in script

* Refactor schema path

* Restore useAuthProvider

* Update configuration file

* encapsulate details for feature flags provider

* Add proper env to flagsmith provider

* Remove flagsmith mocks

* Vite config define global variables

* Render flagmisth provider only when is used

* Keep name service agnostic

* Test with mocked flagsmith

* Use global FLAGS varaible for env flags

* Fix type issue with FLAGS

* Fix build issue

* Remove duplicate translations

* Fix typo

* Prepare for QA tests

* Remove test feature flag
2023-01-16 14:55:38 +01:00
Patryk Andrzejewski
7a43421af5
Use mount uri in redirect (#2979)
* Reflect mount uri in the app redirect

* use URL constructor
2023-01-16 11:09:24 +01:00
Krzysztof Żuraw
04247d3f95
Migrate from @saleor alias to @dashboard (#2981) 2023-01-16 10:45:12 +01:00
Karolina Rakoczy
39ce183583
Update tests check if all data created in before are correct (#2917)
* add commend to check if data are correct

* Add command for checking created data
2023-01-16 10:43:13 +01:00
Michał Droń
92539ae968
Bump dev version to 3.11.0-dev (#2980) 2023-01-13 11:02:36 +01:00
Anna Szczęch
d90abd4f8b
Fix test related to saving variant (#2962)
* Update test after changes in variant name behaviour

* remove comment

* Add data-test-id and update tests
2023-01-13 09:21:18 +01:00
Michał Droń
2714ac82b6
Fix duplicate attributes type error (#2977)
* Fix intl.ts

* Disable failing tests
2023-01-12 14:26:28 +01:00
Michał Droń
88d0cecfed
Replace order line total calculation with API value (#2969)
* Query total price in order line data

* Add order line total to discount context consumer

* Replace frontend calculations with api value for order line totals

* Split logic for order discount and order line discount contexts

* Pass extra props to money component

* Add unit test

* Do not pass all props to Money's span
2023-01-12 13:57:39 +01:00
Cezary Miącz
f02a5a32e1
Retry failed CF cache invalidations (#2957) 2023-01-12 11:42:13 +01:00
Timur Carpeev
b17f6e735b
Align label to dropdown (#2822) 2023-01-12 09:24:06 +01:00
Dawid
eb01b84412
Improve apps contextual actions (#2943) 2023-01-12 09:19:13 +01:00
Michał Droń
ddf4adda9d
Mark taxes as preview (#2971)
* Create dedicated TaxPageTitle component

* Change page headers in taxes views

* Apply CR fixes
2023-01-11 17:10:04 +01:00
poulch
e619866338
fix: datagrid does not save prices without decimal prices (#2955) 2023-01-11 10:49:21 +01:00
Dawid
5bc8e39eb7
Hide toolbar in app page (#2938)
* Hide toolbar in app page

* Remove back button from app frame page
2023-01-10 15:24:24 +01:00
Dawid
1621feb691
Apps marketplace (#2850)
* Add new Apps List

* Update apps routing

* Add marketplace apps list

* Update apps urls

* Update app list style

* Add installed apps section

* Update apps sections and connect actions with mutations

* Add latest missing buttons and labels to installed apps list

* Update installed apps list

* Update installed apps list

* Add tests and marketplace error handling

* Update environment configuration

* Update GitHub actions env configuration

* Refactor AppListCard component

* Test InstallWithManifestFormButton

* Test AppListCard

* Extract InstalledAppListRow with tests

* Update GitHub actions env configuration

* Tests of apps dialogs

* Update GitHub actions env configuration

* Update messages

* Update GitHub actions env configuration

* Quote untrusted GitHub actions variables

* Change useFetch to useMarketplaceApps and add tests

* Fix strict null check errors

* Refactor apps details components

* Add strict null checks for /new-apps/ components
2023-01-10 11:04:30 +01:00
Anna Szczęch
ee19e42e7e
Restore saving variant in fillUpVariantDetails (#2954) 2023-01-09 14:40:19 +01:00
Anna Szczęch
2b4a819fae
Fix for cleaning customers function in e2e (#2952) 2023-01-09 12:28:12 +01:00
Anna Szczęch
d695bb9aa6
Fix should make a refund 2107 (#2950)
* get/update taxes for tests

* update creating shipping and product of tax class
2023-01-09 10:55:12 +01:00
Karol
91478a8b6d
done (#2948) 2023-01-09 10:26:09 +01:00
İlkay Kısayol
3f94803c79
Update ProductVariantName components "name" form field into "variantName" (#2903) 2023-01-05 14:33:17 +01:00
Krzysztof Żuraw
fe709db82b
Clean up storybook (#2941) 2023-01-05 13:34:34 +01:00
Anna Szczęch
7545bc152b
Fix tests for SKU (#2924)
* add tests update and tc ids

* move test to proper file and refactor

* update before for createProductWithoutSku

* update before for updatingProductsWithoutSku

* add function for create simple product
2023-01-05 08:06:46 +01:00
Krzysztof Żuraw
c60f6f870c
Remove isDevelopment flag and cleanup a code in Form component (#2912) 2023-01-03 11:04:42 +01:00
Karol
1c0076a0db
Bump macaw-ui to 0.7.2 (#2936)
* macaw 0.7.2

* add lock
2023-01-03 10:04:16 +01:00
Karol
00757a50d1
2865 standardize test ids for elements (#2931)
* done

* done
2023-01-03 09:18:56 +01:00
Anna Szczęch
46a9c527a7
E2E fixes after countryArea changes 2023-01-02 08:45:07 +01:00
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