Skip to content

Commit

Permalink
Inji 604 Verify VC error changes to be merged into release branch (#1277
Browse files Browse the repository at this point in the history
)

* [INJI-604]: Handle Verification VC Error Scenarios

Signed-off-by: BalachandarG <[email protected]>

* [INJIMOB-604] remove the card from UI when verify credential is failed and show error overlay

Signed-off-by: PuBHARGAVI <[email protected]>

* [INJIMOB-604] remove unused actions in existingMosipVcItem and issuers machine

Signed-off-by: PuBHARGAVI <[email protected]>

* INJIMOB-604 Replace Error message overlay with new error screen.

Signed-off-by: BalachandarG <[email protected]>

* [INJI-604]: Transation added for Verification error messages.

Signed-off-by: BalachandarG <[email protected]>

* [INJI-604] remove unnecessary log in error screen

Signed-off-by: PuBHARGAVI <[email protected]>

* [INJIMOB-604] remove removeVcFromMyVcs action from verify vc failed event and fix typegen warnings

Signed-off-by: PuBHARGAVI <[email protected]>

* INJIMOB-604 : Removing logs and renaming functions

Signed-off-by: BalachandarG <[email protected]>

* [INJIMOB-604]: Removing unused method.

Signed-off-by: BalachandarG <[email protected]>

* [Inji-604]: Fixing the issue of recursive VC deletion during Go Back event in Verification Error screen.

Signed-off-by: BalachandarG <[email protected]>

* [Inji-604]: Fixing bugs post conflict resolve.

Signed-off-by: BalachandarG <[email protected]>

* [Inji-604]: Removing unused events and adding translations for Go Back button

* [Inji-604]: Removed angle brackets for Technical Error

* [Inji-604]: Added ToDo to handle backup

* [Inji-604]: Removing isVerified flag from the Existing VC Item Machine.

* [Inji-604] iOS crash fixed for Verification error Go Back Button
Signed-off-by: BalachandarG <[email protected]>

---------

Signed-off-by: BalachandarG <[email protected]>
Signed-off-by: PuBHARGAVI <[email protected]>
Signed-off-by: Swati Goel <[email protected]>
Co-authored-by: PuBHARGAVI <[email protected]>
Co-authored-by: Swati Goel <[email protected]>
  • Loading branch information
3 people authored Feb 21, 2024
1 parent b761722 commit 576c634
Show file tree
Hide file tree
Showing 20 changed files with 414 additions and 140 deletions.
2 changes: 1 addition & 1 deletion components/VC/MosipVCItem/MosipVCItemDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export const MosipVCItemDetails: React.FC<
justifyContent: 'flex-start',
alignItems: 'center',
}}>
{props.vc?.isVerified && <VerifiedIcon />}
{props.vc && <VerifiedIcon />}
<Text
testID="valid"
style={{maxWidth: 80}}
Expand Down
7 changes: 7 additions & 0 deletions locales/ara.json
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,12 @@
"downloadLimitExpires": {
"title": "الخطأ تحميل",
"message": "حدثت مشكلة أثناء تنزيل البطاقات التالية. حاول مرة اخرى"
},
"verificationFailed": {
"title" : "حدث خطأ!",
"goBackButton": "عُد",
"technicalError": "بسبب خطأ فني، لم نتمكن من تنزيل البطاقة.",
"networkError": "بسبب عدم استقرار الاتصال بالإنترنت، لم نتمكن من تنزيل البطاقة. الرجاء التحقق من اتصال الانترنت الخاص بك."
}
}
},
Expand Down Expand Up @@ -716,6 +722,7 @@
"editLabel": "يحرر {{label}}",
"tryAgain": "حاول مجددا",
"ignore": "يتجاهل",
"goBack": "عُد",
"camera": {
"errors": {
"missingPermission": "يستخدم هذا التطبيق الكاميرا لمسح رمز الاستجابة السريعة لجهاز آخر."
Expand Down
6 changes: 6 additions & 0 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,12 @@
"downloadLimitExpires": {
"title": "Download Error",
"message": "There was an issue downloading following cards. Please try again"
},
"verificationFailed": {
"title" : "An Error Occurred!",
"goBackButton": "Go Back",
"technicalError": "Due to Technical Error, we were unable to download the card.",
"networkError": "Due to unstable internet connection, we were unable to download the card. Please check your internet connection."
}
}
},
Expand Down
7 changes: 7 additions & 0 deletions locales/fil.json
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,12 @@
"downloadLimitExpires": {
"title": "Error sa Pag-download",
"message": "Nagkaroon ng isyu sa pag-download ng mga sumusunod na card. Pakisubukang muli"
},
"verificationFailed": {
"title" : "May pagkakamaling naganap!",
"goBackButton": "Bumalik ka",
"technicalError": "Dahil sa Technical Error, hindi namin na-download ang card.",
"networkError": "Dahil sa hindi matatag na koneksyon sa internet, hindi namin na-download ang card. Pakisuri ang iyong koneksyon sa internet."
}
}
},
Expand Down Expand Up @@ -718,6 +724,7 @@
"dismiss": "Dismissed",
"editLabel": "Palitan ang {{label}}",
"tryAgain": "Subukan muli",
"goBack": "Bumalik ka",
"camera": {
"errors": {
"missingPermission": "Ginagamit ng app na ito ang camera upang i-scan ang QR code ng isa pang device."
Expand Down
7 changes: 7 additions & 0 deletions locales/hin.json
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,12 @@
"downloadLimitExpires": {
"title": "डाउनलोड त्रुटि",
"message": "निम्नलिखित कार्ड डाउनलोड करने में एक समस्या थी। कृपया पुन: प्रयास करें"
},
"verificationFailed": {
"title" : "एक त्रुटि पाई गई!",
"goBackButton": "वापस जाओ",
"technicalError": "तकनीकी त्रुटि के कारण, हम कार्ड डाउनलोड करने में असमर्थ रहे।",
"networkError": "अस्थिर इंटरनेट कनेक्शन के कारण, हम कार्ड डाउनलोड करने में असमर्थ थे। कृपया अपने इंटरनेट कनेक्शन की जाँच करें।"
}
}
},
Expand Down Expand Up @@ -714,6 +720,7 @@
"dismiss": "नकार देना",
"editLabel": "संपादित करें {{label}}",
"tryAgain": "पुनः प्रयास करें",
"goBack": "वापस जाओ",
"camera": {
"errors": {
"missingPermission": "यह ऐप दूसरे डिवाइस के क्यूआर कोड को स्कैन करने के लिए कैमरे का इस्तेमाल करता है."
Expand Down
7 changes: 7 additions & 0 deletions locales/kan.json
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,12 @@
"downloadLimitExpires": {
"title": "ಡೌನ್‌ಲೋಡ್ ದೋಷ",
"message": "ಕೆಳಗಿನ ಕಾರ್ಡ್‌ಗಳನ್ನು ಡೌನ್‌ಲೋಡ್ ಮಾಡುವಲ್ಲಿ ಸಮಸ್ಯೆ ಕಂಡುಬಂದಿದೆ. ದಯವಿಟ್ಟು ಪುನಃ ಪ್ರಯತ್ನಿಸಿ"
},
"verificationFailed": {
"title" : "ಒಂದು ತಪ್ಪು ನಡೆದಿದೆ!",
"goBackButton": "ಹಿಂದೆ ಹೋಗು",
"technicalError": "ತಾಂತ್ರಿಕ ದೋಷ ಕಾರಣ, ನಮಗೆ ಕಾರ್ಡ್ ಡೌನ್‌ಲೋಡ್ ಮಾಡಲು ಸಾಧ್ಯವಾಗಲಿಲ್ಲ.",
"networkError": "ಅಸ್ಥಿರ ಇಂಟರ್ನೆಟ್ ಸಂಪರ್ಕದ ಕಾರಣ, ನಮಗೆ ಕಾರ್ಡ್ ಡೌನ್‌ಲೋಡ್ ಮಾಡಲು ಸಾಧ್ಯವಾಗಲಿಲ್ಲ. ದಯವಿಟ್ಟು ನಿಮ್ಮ ಇಂಟರ್ನೆಟ್ ಸಂಪರ್ಕವನ್ನು ಪರಿಶೀಲಿಸಿ."
}
}
},
Expand Down Expand Up @@ -708,6 +714,7 @@
"editLabel": "ಸಂಪಾದಿಸು {{label}}",
"tryAgain": "ಮತ್ತೆ ಪ್ರಯತ್ನಿಸು",
"ignore": "ನಿರ್ಲಕ್ಷಿಸಿ",
"goBack": "ಹಿಂದೆ ಹೋಗು",
"camera": {
"errors": {
"missingPermission": "ಮತ್ತೊಂದು ಸಾಧನದ QR ಕೋಡ್ ಅನ್ನು ಸ್ಕ್ಯಾನ್ ಮಾಡಲು ಈ ಅಪ್ಲಿಕೇಶನ್ ಕ್ಯಾಮರಾವನ್ನು ಬಳಸುತ್ತದೆ."
Expand Down
7 changes: 7 additions & 0 deletions locales/spa.json
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,12 @@
"downloadLimitExpires": {
"title": "Error de descarga",
"message": "Hubo un problema al descargar las siguientes tarjetas. "
},
"verificationFailed": {
"title" : "¡Ocurrió un error!",
"goBackButton": "Regresa",
"technicalError": "Debido a un Error técnico, no pudimos descargar la tarjeta.",
"networkError": "Debido a una conexión a Internet inestable, no pudimos descargar la tarjeta. Por favor revise su conexion a internet."
}
}
},
Expand Down Expand Up @@ -672,6 +678,7 @@
"editLabel": "Editar {{label}}",
"tryAgain": "Intentar otra vez",
"ignore": "Ignorar",
"goBack": "Regresa",
"camera": {
"errors": {
"missingPermission": "Esta aplicación utiliza la cámara para escanear el código QR de otro dispositivo."
Expand Down
7 changes: 7 additions & 0 deletions locales/tam.json
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,12 @@
"downloadLimitExpires": {
"title": "பதிவிறக்கப் பிழை",
"message": "பின்வரும் கார்டுகளைப் பதிவிறக்குவதில் சிக்கல் ஏற்பட்டது. தயவு செய்து மீண்டும் முயற்சிக்கவும்"
},
"verificationFailed": {
"title" : "ஒரு பிழை ஏற்பட்டது!",
"goBackButton": "திரும்பி செல்",
"technicalError": "தொழில்நுட்பப் பிழை காரணமாக, எங்களால் கார்டைப் பதிவிறக்க முடியவில்லை.",
"networkError": "நிலையற்ற இணைய இணைப்பு காரணமாக, எங்களால் கார்டைப் பதிவிறக்க முடியவில்லை. உங்கள் இணைய இணைப்பைச் சரிபார்க்கவும்."
}
}
},
Expand Down Expand Up @@ -714,6 +720,7 @@
"editLabel": "திருத்து {{label}}",
"tryAgain": "மீண்டும் முயற்சி செய்",
"ignore": "புறக்கணிக்க",
"goBack": "திரும்பி செல்",
"camera": {
"errors": {
"missingPermission": "இந்தப் பயன்பாடு மற்றொரு சாதனத்தின் QR குறியீட்டை ஸ்கேன் செய்ய கேமராவைப் பயன்படுத்துகிறது."
Expand Down
Loading

0 comments on commit 576c634

Please sign in to comment.