From b7026e08bb53cd9e4e049934121b7c907868300d Mon Sep 17 00:00:00 2001 From: Farber Denis Date: Mon, 10 Apr 2023 19:50:25 +0300 Subject: [PATCH] fix(#in503): google analylics ids added fix(#in503): more ids added fix(#in503): more ids added and mobile fix fix(#in503): min fix2 --- src/components/AccessTimer/index.tsx | 2 +- src/components/PictureInPicture/PiP.tsx | 2 +- src/components/SimplePopup/index.tsx | 5 ++++- src/components/SmartBanner/index.tsx | 1 + src/features/AddCardForm/index.tsx | 1 + .../components/ConfirmPopup/index.tsx | 4 ++-- .../AuthServiceApp/components/Login/index.tsx | 5 ++++- .../components/RegisterPopup/index.tsx | 6 +++++- .../components/Registration/index.tsx | 2 +- .../components/PackageSelectionStep/index.tsx | 1 + .../components/SelectSubscription/index.tsx | 1 + src/features/Common/Input/index.tsx | 3 +++ .../components/DateFilter/index.tsx | 6 +++++- src/features/HeaderMenu/index.tsx | 2 +- .../HomePage/components/Header/index.tsx | 1 + .../components/HeaderFilters/index.tsx | 3 +++ .../components/LiveMatchPlaylist/index.tsx | 4 ++-- .../components/MatchPlaylists/index.tsx | 2 +- .../components/PlayersPlaylists/index.tsx | 2 ++ .../components/TabEvents/index.tsx | 4 +++- .../components/TabStats/index.tsx | 6 ++++-- src/features/MatchSidePlaylists/index.tsx | 4 ++++ .../components/ScoreSwitch/index.tsx | 1 + src/features/Menu/index.tsx | 1 + .../components/Settings/index.tsx | 2 +- src/features/ProfileCard/index.tsx | 20 ++++++++++++++++++- src/features/ProfileHeader/index.tsx | 2 +- src/features/Search/index.tsx | 1 + .../components/SelectSport/index.tsx | 2 +- .../Components/ControlsMobile/index.tsx | 2 ++ .../Components/ControlsMobile/styled.tsx | 2 +- .../Controls/Components/ControlsWeb/index.tsx | 7 +++++-- .../components/VolumeBar/index.tsx | 2 +- src/features/StreamPlayer/index.tsx | 5 +++-- .../UserAccount/components/Header/index.tsx | 2 +- .../components/LogoutButton/index.tsx | 2 +- .../components/PersonalInfoForm/index.tsx | 2 ++ .../components/ScoreSwitch/index.tsx | 1 + src/features/UserAccount/index.tsx | 7 ++++++- src/features/UserFavorites/index.tsx | 1 + 40 files changed, 100 insertions(+), 29 deletions(-) diff --git a/src/components/AccessTimer/index.tsx b/src/components/AccessTimer/index.tsx index faebddbe..16cd7f19 100644 --- a/src/components/AccessTimer/index.tsx +++ b/src/components/AccessTimer/index.tsx @@ -107,7 +107,7 @@ export const AccessTimer = ({ - logout('saveToken')}> + logout('saveToken')} id='match_register'> diff --git a/src/components/PictureInPicture/PiP.tsx b/src/components/PictureInPicture/PiP.tsx index 8e39fe0b..7584fb28 100644 --- a/src/components/PictureInPicture/PiP.tsx +++ b/src/components/PictureInPicture/PiP.tsx @@ -53,7 +53,7 @@ export const PiP = memo(({ isPlaying, videoRef }: PipProps) => { }, [videoRef, isPlaying, user]) return ( - + ) diff --git a/src/components/SimplePopup/index.tsx b/src/components/SimplePopup/index.tsx index e848daff..465fedfc 100644 --- a/src/components/SimplePopup/index.tsx +++ b/src/components/SimplePopup/index.tsx @@ -58,7 +58,10 @@ export const SimplePopup = (props: Props) => { {buttonName && (
- +
diff --git a/src/components/SmartBanner/index.tsx b/src/components/SmartBanner/index.tsx index 817341d4..57dfb26b 100644 --- a/src/components/SmartBanner/index.tsx +++ b/src/components/SmartBanner/index.tsx @@ -51,6 +51,7 @@ export const SmartBanner = ({ setIsOpenDownload }: SmartBannerProps) => ( ) setIsOpenDownload(false) }} + id='download_app' > Download diff --git a/src/features/AddCardForm/index.tsx b/src/features/AddCardForm/index.tsx index 8ced5b20..98287322 100644 --- a/src/features/AddCardForm/index.tsx +++ b/src/features/AddCardForm/index.tsx @@ -42,6 +42,7 @@ export const AddCardForm = ({ diff --git a/src/features/AuthServiceApp/components/ConfirmPopup/index.tsx b/src/features/AuthServiceApp/components/ConfirmPopup/index.tsx index e449235e..4966a0a8 100644 --- a/src/features/AuthServiceApp/components/ConfirmPopup/index.tsx +++ b/src/features/AuthServiceApp/components/ConfirmPopup/index.tsx @@ -44,11 +44,11 @@ export const ConfirmPopup = (props: Props) => { - +   - + diff --git a/src/features/AuthServiceApp/components/Login/index.tsx b/src/features/AuthServiceApp/components/Login/index.tsx index a9baa90b..7c3645f0 100644 --- a/src/features/AuthServiceApp/components/Login/index.tsx +++ b/src/features/AuthServiceApp/components/Login/index.tsx @@ -121,7 +121,10 @@ const Login = () => { } - + diff --git a/src/features/AuthServiceApp/components/RegisterPopup/index.tsx b/src/features/AuthServiceApp/components/RegisterPopup/index.tsx index 7ce862ac..7b57ee3f 100644 --- a/src/features/AuthServiceApp/components/RegisterPopup/index.tsx +++ b/src/features/AuthServiceApp/components/RegisterPopup/index.tsx @@ -47,7 +47,11 @@ export const RegisterPopup = (props: Props) => {
- handleModalClose()}>Ok + handleModalClose()} + id='auth_register_ok' + >Ok +
diff --git a/src/features/AuthServiceApp/components/Registration/index.tsx b/src/features/AuthServiceApp/components/Registration/index.tsx index e8980eb7..505841cf 100644 --- a/src/features/AuthServiceApp/components/Registration/index.tsx +++ b/src/features/AuthServiceApp/components/Registration/index.tsx @@ -131,7 +131,7 @@ const Registration = () => { - + { isFetching ? diff --git a/src/features/BuyMatchPopup/components/PackageSelectionStep/index.tsx b/src/features/BuyMatchPopup/components/PackageSelectionStep/index.tsx index 6873280f..40bb0d67 100644 --- a/src/features/BuyMatchPopup/components/PackageSelectionStep/index.tsx +++ b/src/features/BuyMatchPopup/components/PackageSelectionStep/index.tsx @@ -152,6 +152,7 @@ export const PackageSelectionStep = () => { logout('saveToken') } }} + id='purchase_buy' > {loader ? ( diff --git a/src/features/BuyMatchPopup/components/SelectSubscription/index.tsx b/src/features/BuyMatchPopup/components/SelectSubscription/index.tsx index a5d99a2b..be9f9513 100644 --- a/src/features/BuyMatchPopup/components/SelectSubscription/index.tsx +++ b/src/features/BuyMatchPopup/components/SelectSubscription/index.tsx @@ -105,6 +105,7 @@ export const SelectSubscriptionStep = () => { diff --git a/src/features/Common/Input/index.tsx b/src/features/Common/Input/index.tsx index 7304c8b7..3d2efc97 100644 --- a/src/features/Common/Input/index.tsx +++ b/src/features/Common/Input/index.tsx @@ -26,6 +26,7 @@ type Props = { disabled?: boolean, editIcon?: boolean, iconName?: string, + id?: string, inputWidth?: number, label?: string, labelAfter?: string, @@ -54,6 +55,7 @@ export const Input = ({ editIcon = false, error, iconName, + id, inputWidth, label, labelAfter, @@ -84,6 +86,7 @@ export const Input = ({ wrapperHeight={wrapperHeight} hasRightIcon={editIcon} error={error} + id={id} >