mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 05:27:57 -05:00
[InjiMob-745] Implemented sharing error modal with respective CTA's and message when VC sharing has failed. (#1234)
* [INJIMOB-745]: Implemented Error moda of sharing failure with title, message & CTAs were display based on Error_codes Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Implemented Error modal of sharing failure with title, message & CTAs were display based on Error_codes Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Updated respective text in all the locals Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Fixed the error of go to history button in success sharing status Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Resolved PR Merge conflicts Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: remove duplicate import which causes build issue Signed-off-by: srikanth716 <srikanthsri7447@gmail.com> * [INJIMOB-745]: Modified SharingStatusModal into dynamic props for buttons, text as per requirement Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Made changes in the rendering of respective button as per requirements Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Adjusted the alignment of bottom buttons & Made header as per wire frame Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Changed the verifier side text messages of Error codes[TUV_UNK_001, TVV_UNK_001, 002, 003] Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Added accessible props to Pressable in SharingStatusModal Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Modified success screen icons in to SVG's Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> --------- Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> Signed-off-by: srikanth716 <srikanthsri7447@gmail.com> Co-authored-by: srikanth716 <srikanthsri7447@gmail.com>
This commit is contained in:
23
assets/Error_Message_Icon.svg
Normal file
23
assets/Error_Message_Icon.svg
Normal file
@@ -0,0 +1,23 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="153" height="153" viewBox="0 0 153 153">
|
||||
<defs>
|
||||
<filter id="Rectangle_6853" x="0" y="0" width="153" height="153" filterUnits="userSpaceOnUse">
|
||||
<feOffset dy="3" input="SourceAlpha"/>
|
||||
<feGaussianBlur stdDeviation="7.5" result="blur"/>
|
||||
<feFlood flood-opacity="0.059"/>
|
||||
<feComposite operator="in" in2="blur"/>
|
||||
<feComposite in="SourceGraphic"/>
|
||||
</filter>
|
||||
</defs>
|
||||
<g id="success_message_icon" transform="translate(22 19.5)">
|
||||
<g transform="matrix(1, 0, 0, 1, -22, -19.5)" filter="url(#Rectangle_6853)">
|
||||
<rect id="Rectangle_6853-2" data-name="Rectangle 6853" width="108" height="108" rx="54" transform="translate(22.5 19.5)" fill="#fff"/>
|
||||
</g>
|
||||
<rect id="Rectangle_6846" data-name="Rectangle 6846" width="96" height="96" rx="48" transform="translate(6.5 6)" fill="rgba(157,32,32,0.08)"/>
|
||||
<g id="pending_activation_icon" transform="translate(-1328.424 -1133.959)">
|
||||
<g id="Group_57154" data-name="Group 57154" transform="translate(1366.33 1167.162)">
|
||||
<path id="gpp_maybe_FILL0_wght400_GRAD0_opsz48" d="M24.594,45.435a20.364,20.364,0,0,1-11.927-8.427A24.6,24.6,0,0,1,8,22.514V10.173L24.594,3.95l16.594,6.223V22.514a24.6,24.6,0,0,1-4.667,14.494A20.364,20.364,0,0,1,24.594,45.435Z" transform="translate(-8 -3.95)" fill="#db2e2e"/>
|
||||
<path id="gpp_maybe_FILL0_wght400_GRAD0_opsz48-2" data-name="gpp_maybe_FILL0_wght400_GRAD0_opsz48" d="M16.9,26.751a1.768,1.768,0,1,0-1.243-.518A1.695,1.695,0,0,0,16.9,26.751Zm-1.553-6.939h3.107V9.093H15.347ZM16.9,19.19Z" transform="translate(-0.306 1.601)" fill="#fff"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
16
assets/Success_history_iocn.svg
Normal file
16
assets/Success_history_iocn.svg
Normal file
@@ -0,0 +1,16 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="50" height="50" viewBox="0 0 50 50">
|
||||
<defs>
|
||||
<linearGradient id="linear-gradient" x1="0.5" x2="0.5" y2="1" gradientUnits="objectBoundingBox">
|
||||
<stop offset="0" stop-color="@fill"/>
|
||||
<stop offset="1" stop-color="@fill2"/>
|
||||
<stop offset="2" stop-color="@stroke"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g id="Group_57577" data-name="Group 57577" transform="translate(-175.424 -505.424)">
|
||||
<g id="Ellipse_1079" data-name="Ellipse 1079" transform="translate(175.424 505.424)" fill="#fff" stroke="@stroke" stroke-width="2">
|
||||
<circle cx="25" cy="25" r="25" stroke="none"/>
|
||||
<circle cx="25" cy="25" r="24" fill="none"/>
|
||||
</g>
|
||||
<path id="Union_40" data-name="Union 40" d="M-19073.066-7953.926a9.7,9.7,0,0,1-8.477-6.121,8.5,8.5,0,0,1-.617-2.231,1.257,1.257,0,0,1,1-1.413,1.238,1.238,0,0,1,1.475.934,8.575,8.575,0,0,0,.541,1.887,7.162,7.162,0,0,0,5.777,4.363,7.269,7.269,0,0,0,8.131-5.852,7.291,7.291,0,0,0-5.937-8.568,7.183,7.183,0,0,0-6.318,1.92.991.991,0,0,1-.158.11,1.628,1.628,0,0,1,.217.139c.475.47.943.939,1.412,1.408a.934.934,0,0,1,.264,1.083.971.971,0,0,1-.953.594c-1.293,0-2.592,0-3.885,0a1.9,1.9,0,0,1-1.977-1.983c-.006-1.293-.006-2.591-.006-3.884a.942.942,0,0,1,.619-.948.9.9,0,0,1,1.043.249c.508.517,1.02,1.025,1.533,1.538.344-.3.67-.594,1.02-.862a9.37,9.37,0,0,1,4.785-1.939,9.6,9.6,0,0,1,8.035,2.734,9.4,9.4,0,0,1,2.9,5.867,9.782,9.782,0,0,1-5.029,9.794,9.28,9.28,0,0,1-4.564,1.225C-19072.512-7953.889-19072.789-7953.9-19073.066-7953.926Zm2.207-6.92a1.208,1.208,0,0,1-.822-.354q-.964-.948-1.916-1.921a.345.345,0,0,1-.082-.244c0-.6,0-1.2,0-1.8h.006c0-.608-.02-1.221,0-1.834a1.235,1.235,0,0,1,1.045-1.168,1.241,1.241,0,0,1,1.363.737,1.7,1.7,0,0,1,.115.627c.016.781,0,1.561.01,2.342a.518.518,0,0,0,.125.3c.373.388.766.761,1.141,1.154a1.232,1.232,0,0,1,.229,1.394,1.3,1.3,0,0,1-1.17.762Z" transform="translate(19273 8494.156)" fill="url(#linear-gradient)"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
20
assets/Success_home_iocn.svg
Normal file
20
assets/Success_home_iocn.svg
Normal file
@@ -0,0 +1,20 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="50" height="50" viewBox="0 0 50 50">
|
||||
<defs>
|
||||
<linearGradient id="linear-gradient" x1="0.5" x2="0.5" y2="1" gradientUnits="objectBoundingBox">
|
||||
<stop offset="0" stop-color="@fill"/>
|
||||
<stop offset="1" stop-color="@fill2"/>
|
||||
<stop offset="2" stop-color="@stroke"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<g id="Group_57577" data-name="Group 57577" transform="translate(-175.424 -505.424)">
|
||||
<g id="Ellipse_1079" data-name="Ellipse 1079" transform="translate(175.424 505.424)" fill="#fff" stroke="@stroke" stroke-width="2">
|
||||
<circle cx="25" cy="25" r="25" stroke="0000"/>
|
||||
<circle cx="25" cy="25" r="24" fill="000"/>
|
||||
</g>
|
||||
<g id="Group_58183" data-name="Group 58183" transform="translate(190.526 520.523)">
|
||||
<g id="Group_57434" data-name="Group 57434">
|
||||
<path id="Path_155522" data-name="Path 155522" d="M2.124,14.849c0-.96-.006-1.92,0-2.88,0-.2-.043-.254-.247-.252A1.79,1.79,0,0,1,.065,10.366,1.771,1.771,0,0,1,.439,8.721c.061-.075.131-.142.2-.21L8.512.638a1.826,1.826,0,0,1,2.778,0Q15.247,4.6,19.2,8.556a1.822,1.822,0,0,1-.02,2.707,1.767,1.767,0,0,1-1.313.456c-.159-.009-.2.033-.2.2q.01,2.861,0,5.722a2.12,2.12,0,0,1-1.651,2.105,2.328,2.328,0,0,1-.555.057q-1.5,0-3,0a.6.6,0,0,1-.669-.666c0-1.488-.015-2.977.007-4.465a1.027,1.027,0,0,0-1.1-1.087c-.554.018-1.108,0-1.662,0A.974.974,0,0,0,8,14.635q0,2.223,0,4.446c0,.5-.213.719-.713.719q-1.469,0-2.938,0a2.13,2.13,0,0,1-2.221-2.225q0-1.363,0-2.725" transform="translate(0 0)" fill="url(#linear-gradient)"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
Reference in New Issue
Block a user