-
Notifications
You must be signed in to change notification settings - Fork 91
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
[Inji 434 & INJI 441]: Add events in receiver VC sharing flow and cancel button handle #990
[Inji 434 & INJI 441]: Add events in receiver VC sharing flow and cancel button handle #990
Conversation
Signed-off-by: Alka <prasadalka1998@gmail.com>
… end Signed-off-by: Alka <prasadalka1998@gmail.com>
Signed-off-by: Alka <prasadalka1998@gmail.com>
Signed-off-by: Alka <prasadalka1998@gmail.com>
Signed-off-by: Alka <prasadalka1998@gmail.com>
…g-flow Signed-off-by: Alka Prasad <Alka1703@users.noreply.github.com>
screens/Home/MyVcs/AddVcModal.tsx
Outdated
@@ -5,7 +5,8 @@ import {OtpVerificationModal} from './OtpVerificationModal'; | |||
import {IdInputModal} from './IdInputModal'; | |||
import {useTranslation} from 'react-i18next'; | |||
import {GET_INDIVIDUAL_ID} from '../../../shared/constants'; | |||
import {TelemetryConstants} from '../../../shared/telemetry/TelemetryUtils'; | |||
import {TelemetryConstants} from '../../../shared/telemetry/TelemetryConstants'; | |||
import {Button, Column} from '../../../components/ui'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only import, no usage?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing it. Added by mistake
on: { | ||
CANCEL: { | ||
target: '#request.cancelling', | ||
actions: ['sendVCSharingTerminatedEvent'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should rename this to sendVCReceiveTerminatedEvent.
}, | ||
}, | ||
}, | ||
}, | ||
on: { | ||
DISCONNECT: { | ||
target: 'disconnected', | ||
actions: ['sendVCSharingDisconnectedEvent'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should rename this to sendVCReceiveDisconnectedEvent.
actions: 'setReceiveLogTypeUnverified', | ||
actions: [ | ||
'setReceiveLogTypeUnverified', | ||
'sendVcShareFailedEvent', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should rename this to sendVcReceiveFailedEvent.
@@ -394,6 +420,7 @@ export const requestMachine = | |||
'sendVcReceived', | |||
'setReceiveLogTypeRegular', | |||
'logReceived', | |||
'sendVcShareSuccessEvent', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should rename this to sendVcReceiveSuccessEvent.
entry: [ | ||
'setReceiveLogTypeDiscarded', | ||
'logReceived', | ||
'sendVcRejectedEvent', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should rename this to sendVcReceiveRejectedEvent.
entry: [ | ||
'setReceiveLogTypeDiscarded', | ||
'logReceived', | ||
'sendVcRejectedEvent', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should rename this to sendVcReceiveRejectedEvent.
Signed-off-by: Alka <prasadalka1998@gmail.com>
Signed-off-by: Alka <prasadalka1998@gmail.com>
fb24fa7
to
e57972e
Compare
Signed-off-by: Alka <prasadalka1998@gmail.com>
e57972e
to
1f1b417
Compare
…cel button handle (mosip#990) * refactor(INJI-434): rename some variables and functions to meaning names Signed-off-by: Alka <prasadalka1998@gmail.com> * feat(INJI-434): add telemetry events in the VC share flow on verifier end Signed-off-by: Alka <prasadalka1998@gmail.com> * fix(INJI-434): handle cancel button press during vc share Signed-off-by: Alka <prasadalka1998@gmail.com> * fix(INJI-441): handle cancel button press during vc share Signed-off-by: Alka <prasadalka1998@gmail.com> * refactor(INJI-434): extracts telemetry constants to a seperate file Signed-off-by: Alka <prasadalka1998@gmail.com> * refactor(INJI-434): remove unused imports Signed-off-by: Alka <prasadalka1998@gmail.com> * fix(INJI-441): update the CANCEL event on press of cancel button Signed-off-by: Alka <prasadalka1998@gmail.com> * refactor(INJI-434): update the method name Signed-off-by: Alka <prasadalka1998@gmail.com> --------- Signed-off-by: Alka <prasadalka1998@gmail.com> Signed-off-by: Alka Prasad <Alka1703@users.noreply.github.com>
https://mosip.atlassian.net/browse/INJI-441
https://mosip.atlassian.net/browse/INJI-434
Handle cancel button on vc share flow on verifier side
Extract out Telemetry constants to a separate file