Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SIW-1953] Mixpanel tracking of new ITWallet feature #6601

Merged
merged 53 commits into from
Jan 21, 2025
Merged
Changes from 4 commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
58a10e4
chore: adjust margins
mastro993 Dec 19, 2024
eb9164b
chore: add CTA
mastro993 Dec 19, 2024
5c051d6
chore: update backend status definitions
mastro993 Dec 20, 2024
cff2916
refactor: move itw remote config selectors
mastro993 Dec 20, 2024
df4931f
chore: add iPatente CTA in MDL credential detail
mastro993 Dec 20, 2024
9dc29ae
Merge branch 'master' into SIW-1918-add-ipatente-cta-in-mdl-details-s…
mastro993 Dec 20, 2024
09b57ba
fix: lint errors
mastro993 Dec 20, 2024
4b032e1
CTA copy fixes
thisisjp Dec 26, 2024
c0eaac3
Merge branch 'master' into SIW-1918-add-ipatente-cta-in-mdl-details-s…
mastro993 Jan 2, 2025
44ba629
chore: rename
mastro993 Jan 2, 2025
4a2d74f
fix: merge
mastro993 Jan 2, 2025
689ea7f
fix: tests
mastro993 Jan 3, 2025
55f9d3e
Merge branch 'master' into SIW-1918-add-ipatente-cta-in-mdl-details-s…
mastro993 Jan 7, 2025
3132d70
Merge branch 'master' into SIW-1918-add-ipatente-cta-in-mdl-details-s…
mastro993 Jan 8, 2025
337529e
Merge branch 'master' into SIW-1918-add-ipatente-cta-in-mdl-details-s…
mastro993 Jan 9, 2025
950f672
fix: imports
mastro993 Jan 9, 2025
b44bc9d
Merge branch 'master' into SIW-1918-add-ipatente-cta-in-mdl-details-s…
mastro993 Jan 9, 2025
a019281
Merge branch 'master' into SIW-1918-add-ipatente-cta-in-mdl-details-s…
RiccardoMolinari95 Jan 10, 2025
96d0232
Merge branch 'master' into SIW-1918-add-ipatente-cta-in-mdl-details-s…
mastro993 Jan 13, 2025
17c0d3a
fix: imports
mastro993 Jan 13, 2025
e82edf3
fix: mocks
mastro993 Jan 13, 2025
7170af2
Merge branch 'master' into SIW-1918-add-ipatente-cta-in-mdl-details-s…
mastro993 Jan 13, 2025
3d2141f
Merge branch 'master' into SIW-1918-add-ipatente-cta-in-mdl-details-s…
mastro993 Jan 14, 2025
1609128
Merge branch 'master' into SIW-1918-add-ipatente-cta-in-mdl-details-s…
RiccardoMolinari95 Jan 14, 2025
483cdf2
Merge branch 'master' into SIW-1918-add-ipatente-cta-in-mdl-details-s…
RiccardoMolinari95 Jan 14, 2025
1995ab7
Merge commit '483cdf290ffc9da4326410901b9973720cf9bc0d' into SIW-1953…
RiccardoMolinari95 Jan 14, 2025
a7e2058
chore: add mixpanel events tracking for new itw feature
RiccardoMolinari95 Jan 14, 2025
f435657
chore: prettierfix lit
RiccardoMolinari95 Jan 14, 2025
aad58ec
chore: fix lint
RiccardoMolinari95 Jan 14, 2025
ff6d671
Merge branch 'master' into SIW-1918-add-ipatente-cta-in-mdl-details-s…
mastro993 Jan 14, 2025
eadfceb
Merge branch 'master' into SIW-1918-add-ipatente-cta-in-mdl-details-s…
mastro993 Jan 15, 2025
9318e43
chore: create trackTrustmarkFailure action in trustmark machine to tr…
RiccardoMolinari95 Jan 15, 2025
51238e9
fix: prettier
RiccardoMolinari95 Jan 15, 2025
aa6a98c
Merge branch 'master' into SIW-1918-add-ipatente-cta-in-mdl-details-s…
mastro993 Jan 15, 2025
1e5abcf
Merge commit 'aa6a98cdaf7aeba0e5232c6c7d6dbf29c83f12e6' into SIW-1953…
RiccardoMolinari95 Jan 15, 2025
9d4dc6a
chore: add itwIPatenteCtaSelector in itw remote config, handle new se…
RiccardoMolinari95 Jan 15, 2025
faac2de
refactor: iPatente cta selector
RiccardoMolinari95 Jan 15, 2025
23c013f
test: fix
RiccardoMolinari95 Jan 15, 2025
7eec56b
Merge branch 'master' into SIW-1918-add-ipatente-cta-in-mdl-details-s…
RiccardoMolinari95 Jan 15, 2025
7d3609a
chore: fix iPatente config in backend status mocked
RiccardoMolinari95 Jan 15, 2025
7932536
Merge commit '7eec56bc799d3ada3fe62a355554e5337094b6c8' into SIW-1953…
RiccardoMolinari95 Jan 15, 2025
fc16d5d
chore: add credential_details to trackAuthenticationStart source prop
RiccardoMolinari95 Jan 15, 2025
ec107c6
Merge commit 'eddd677034d88c164279fc9a23cd7128a4145056' into SIW-1953…
RiccardoMolinari95 Jan 17, 2025
c6b12b8
chore: use new iPatente cta selector
RiccardoMolinari95 Jan 17, 2025
68f3ebc
chore: prettify
RiccardoMolinari95 Jan 17, 2025
8605183
chore: reintroduced comment
RiccardoMolinari95 Jan 17, 2025
7659f97
fix: ctaConfig in IPatenteListItemAction
RiccardoMolinari95 Jan 17, 2025
a2a6017
Merge branch 'master' into SIW-1953-new-itw-mixpanel-events
RiccardoMolinari95 Jan 17, 2025
3ac1e84
Merge commit '4f037ed3349571c48e40aab8483fc9712e83d59a' into SIW-1953…
RiccardoMolinari95 Jan 20, 2025
42f93d2
Merge branch 'master' into SIW-1953-new-itw-mixpanel-events
RiccardoMolinari95 Jan 20, 2025
9744401
refactor: trackAuthenticationStart source name
RiccardoMolinari95 Jan 20, 2025
eee3425
Merge branch 'master' into SIW-1953-new-itw-mixpanel-events
RiccardoMolinari95 Jan 21, 2025
c0158b2
fix: prettier
RiccardoMolinari95 Jan 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -23,6 +23,7 @@ import {
import { ItwParamsList } from "../../navigation/ItwParamsList";
import { ItwPresentationCredentialCardFlipButton } from "../components/ItwPresentationCredentialCardFlipButton";
import { CREDENTIALS_MAP, trackCredentialCardModal } from "../../analytics";
import { usePreventScreenCapture } from "../../../../utils/hooks/usePreventScreenCapture";

export type ItwPresentationCredentialCardModalNavigationParams = {
credential: StoredCredential;
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@ import {
selectNameSurnameFromEid
} from "../../credentials/store/selectors";
import { trackCredentialCardModal } from "../../analytics";
import { usePreventScreenCapture } from "../../../../utils/hooks/usePreventScreenCapture";

/**
* This magic number is the lenght of the encoded fiscal code in a CODE39 barcode.

Unchanged files with check annotations Beta

const getServiceT: GetServiceT = {
method: "get",
url: params => `/api/v1/services/${params.service_id}`,
query: _ => ({}),

Check warning on line 157 in ts/api/backend.ts

GitHub Actions / static-checks

'_' is already declared in the upper scope on line 17 column 8
headers: tokenHeaderProducer,
response_decoder: getServiceDefaultDecoder()
};
const getServicePreferenceT: GetServicePreferencesT = {
method: "get",
url: params => `/api/v1/services/${params.service_id}/preferences`,
query: _ => ({}),

Check warning on line 165 in ts/api/backend.ts

GitHub Actions / static-checks

'_' is already declared in the upper scope on line 17 column 8
headers: tokenHeaderProducer,
response_decoder: getServicePreferencesDefaultDecoder()
};
method: "post",
url: params => `/api/v1/services/${params.service_id}/preferences`,
headers: composeHeaderProducers(tokenHeaderProducer, ApiHeaderJson),
query: _ => ({}),

Check warning on line 174 in ts/api/backend.ts

GitHub Actions / static-checks

'_' is already declared in the upper scope on line 17 column 8
body: body => JSON.stringify(body.body),
response_decoder: upsertServicePreferencesDefaultDecoder()
};
const getMessagesT: GetUserMessagesT = {
method: "get",
url: _ => "/api/v1/messages",

Check warning on line 181 in ts/api/backend.ts

GitHub Actions / static-checks

'_' is already declared in the upper scope on line 17 column 8
query: params => {
const {
maximum_id,
method: "get",
url: ({ id }) => `/api/v1/third-party-messages/${id}`,
headers: composeHeaderProducers(tokenHeaderProducer, ApiHeaderJson),
query: _ => ({}),

Check warning on line 225 in ts/api/backend.ts

GitHub Actions / static-checks

'_' is already declared in the upper scope on line 17 column 8
response_decoder: getThirdPartyMessageDefaultDecoder()
};
const getThirdPartyMessagePreconditionT: GetThirdPartyMessagePreconditionT = {
method: "get",
url: ({ id }) => `/api/v1/third-party-messages/${id}/precondition`,
query: _ => ({}),

Check warning on line 232 in ts/api/backend.ts

GitHub Actions / static-checks

'_' is already declared in the upper scope on line 17 column 8
headers: composeHeaderProducers(tokenHeaderProducer, ApiHeaderJson),
response_decoder: getThirdPartyMessagePreconditionDefaultDecoder()
};
const upsertMessageStatusAttributesT: UpsertMessageStatusAttributesT = {
method: "put",
url: params => `/api/v1/messages/${params.id}/message-status`,
query: _ => ({}),

Check warning on line 240 in ts/api/backend.ts

GitHub Actions / static-checks

'_' is already declared in the upper scope on line 17 column 8
body: params => JSON.stringify(params.body),
headers: composeHeaderProducers(tokenHeaderProducer, ApiHeaderJson),
response_decoder: upsertMessageStatusAttributesDefaultDecoder()
const getProfileT: GetUserProfileT = {
method: "get",
url: () => "/api/v1/profile",
query: _ => ({}),

Check warning on line 249 in ts/api/backend.ts

GitHub Actions / static-checks

'_' is already declared in the upper scope on line 17 column 8
headers: tokenHeaderProducer,
response_decoder: getUserProfileDefaultDecoder()
};
method: "post",
url: () => "/api/v1/profile",
headers: composeHeaderProducers(tokenHeaderProducer, ApiHeaderJson),
query: _ => ({}),

Check warning on line 258 in ts/api/backend.ts

GitHub Actions / static-checks

'_' is already declared in the upper scope on line 17 column 8
body: p => JSON.stringify(p.body),
response_decoder: updateProfileDefaultDecoder()
};
const postStartEmailValidationProcessT: StartEmailValidationProcessT = {
method: "post",
url: () => "/api/v1/email-validation-process",
query: _ => ({}),

Check warning on line 266 in ts/api/backend.ts

GitHub Actions / static-checks

'_' is already declared in the upper scope on line 17 column 8
headers: composeHeaderProducers(tokenHeaderProducer, ApiHeaderJson),
body: _ => JSON.stringify({}),
response_decoder: startEmailValidationProcessDefaultDecoder()