popup to cancel the download card (#944)

* feat(INJI-299): add popup component

Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com>

* feat(INJI-299): add language translations for the cancel dialog textfeilds

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* feat(INJI-299): refactor confirmation dialog props

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* feat(INJI-299): add cancel confirmation dialog in otp screen

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* feat(INJI-299): refactor confirmation dialog flow

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* feat(INJI-299): remove console logs

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* feat(INJI-299): style confirmation dialog elements

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* feat(INJI-299): refactor the cancel flow

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* feat(INJI-299): refactor to show id modal when in not cancel download state

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* feat(INJI-299): replace confirmation dialog with message overlay

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

---------

Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
Signed-off-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com>
Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
This commit is contained in:
PoojaBabusing
2023-10-20 12:52:54 +05:30
committed by GitHub
parent 142228b0db
commit 3a8e2cc06a
10 changed files with 90 additions and 7 deletions

View File

@@ -209,6 +209,12 @@
},
"AddVcModal": {
"requestingCredential": "Requesting credential...",
"confirmationDialog": {
"title": "Do you want to cancel downloading?",
"message": "Once cancelled, your card will not be downloaded and you need to reinitiate the download.",
"wait": "No, Ill wait",
"cancel": "Yes, Cancel"
},
"errors": {
"input": {
"empty": "The input cannot be empty",