Commit graph

3252 commits

Author SHA1 Message Date
Lukasz Ostrowski
98ad73acdc
Assign new staging domain for Appstore env (#3114) 2023-02-07 08:27:20 +01:00
Lukasz Ostrowski
3d1fa0df35
Remove MARKETPLACE_URL env which was used for previous AppStore implementation (#3086) 2023-02-06 15:05:06 +01:00
Jonatan Witoszek
2ddbb8bf9a
Improve Polly.js config (#3040)
* Fix Polly.js configuration

* Update test ids

* Fix CR comments

* Remove env var
2023-02-06 14:05:45 +01:00
Mika
84849f1eea
Allow v3.11 on demo staging (#3103) 2023-02-03 13:57:18 +01:00
Karolina Rakoczy
2958ab2ac5
Add notification if release job fails (#3080)
* add notification if release job fails

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

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

---------

Co-authored-by: Mika <6186720+NyanKiyoshi@users.noreply.github.com>
2023-02-02 10:40:28 +01:00
Anna Szczęch
e4db92be74
Fix for create and updateVouchers tests (#3056)
* remove find(input) and fix checkIfDataAreNotNull place in updatevouchers

* restore find input
2023-02-02 09:59:55 +01:00
poulch
c8bb645ae8
Fix edit user settings (#3079)
* Prepare mutation for change password nad user first nad last name

* User mutations

* User and staff mutation hooks

* Split mution for user and staff specific

* Ad props types and refetch after user mutations

* Add save button status for user mutation

* Get rid of maybe

* Improve hooks naming

* useProfileOperations
2023-02-01 16:50:43 +01:00
Michał Droń
34cdd75b60
Change tax configurations amount from 20 to 100 (#3088) 2023-02-01 15:25:51 +01:00
Karol
b702aba701
uncomment and add test number (#3073) 2023-01-31 13:01:24 +00:00
Lukasz Ostrowski
7321ca959f
Encode appID when updateRouting action handled (#3064) 2023-01-30 17:12:21 +01:00
poulch
83962d6e93
Fix cut numbers (#3072) 2023-01-30 14:49:08 +01:00
Bartłomiej Wiaduch
6dbb8e4ecc
Webhook query dry run (#2960) 2023-01-30 13:06:54 +01:00
Jakub Neander
7b8ececc3d
Make webhook active by default (#3067) 2023-01-30 12:59:24 +01:00
Anna Szczęch
1baa9d35a7
Fix test should not be able to create staff member with not unique email. TC: SALEOR_3508 (#3055)
* add data-test-id for error text and update test SALEOR_3508

* undo xit

* move selector form test body to elements
2023-01-30 11:54:58 +01:00
Karolina Rakoczy
2b3c566e09
Update cypress version (#3053)
* update cypress

* Fix clearAndtypeCommand

* Fix selects

* Fix attribute query, and logging errored responses

* Fix mailhog commands

* Fix mailhog

* Fix for warehouses

* fix tests for plugins and sku

* Fix creating variants

* Fix plugins

* move cypress to optionalDependencies

* move cypress to optionalDependencies
2023-01-27 16:27:49 +01:00
Lukasz Ostrowski
4ae2748e8e
Refactor app actions handling (#3042)
* Update app-sdk

* extract useHandleNotificationAction

* Extract useUpdateRoutingAction hook

* extract redirect action

* Extract isAppDeepUrlChange to AppUrls

* Rewrite redirection logic

* Remove useCallback

* add tests

* finish tests

* refactor trycatch

* Fix actions respond calls

* Fix how route is resolved for updateRouting
2023-01-27 16:21:19 +01:00
poulch
301b488277
Fix sending type when new attribute (#3058) 2023-01-26 16:21:22 +01:00
Jakub Neander
b510d68fa9
Add redirect to GraphiQL from product & order (#2940) 2023-01-26 12:04:39 +01:00
Patryk Andrzejewski
ffb16ff1ed
Cover optional error property (#3004) 2023-01-26 11:11:50 +01:00
Lukasz Ostrowski
f1d13dd264
Provide active theme to app in iframe URL (#3028) 2023-01-26 11:09:39 +01:00
Jonatan Witoszek
aecf3768c8
Fix issues with build-types, when feature flags are used (#3043) 2023-01-26 11:04:06 +01:00
Krzysztof Żuraw
71d0e4a980
Revert feature flag for sidebar from main (#3047) 2023-01-26 11:01:15 +01:00
poulch
993595caac
Fix strict null check in attributes (#3005) 2023-01-26 09:38:19 +01:00
Karolina Rakoczy
01172aed95
create env when minor release (#3041) 2023-01-25 17:38:36 +01:00
Karolina Rakoczy
d413c8e852
update tax configuration before creating vouchers (#2939) 2023-01-25 13:32:30 +01:00
Krzysztof Żuraw
ee00b27795
Revert "Basic sidebar version" (#3046) 2023-01-25 12:21:36 +01:00
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