@bigbinary/neeto-email-pipeline-frontend 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -5
- package/app/javascript/src/translations/ar.json +1 -1
- package/app/javascript/src/translations/bg.json +1 -1
- package/app/javascript/src/translations/ca.json +1 -1
- package/app/javascript/src/translations/cs.json +1 -1
- package/app/javascript/src/translations/da.json +1 -1
- package/app/javascript/src/translations/de.json +1 -1
- package/app/javascript/src/translations/es-MX.json +1 -1
- package/app/javascript/src/translations/es.json +1 -1
- package/app/javascript/src/translations/et.json +1 -1
- package/app/javascript/src/translations/fi.json +1 -1
- package/app/javascript/src/translations/fil.json +1 -1
- package/app/javascript/src/translations/fr.json +1 -1
- package/app/javascript/src/translations/he.json +1 -1
- package/app/javascript/src/translations/hi.json +1 -1
- package/app/javascript/src/translations/hr.json +1 -1
- package/app/javascript/src/translations/hu.json +1 -1
- package/app/javascript/src/translations/id.json +1 -1
- package/app/javascript/src/translations/it.json +1 -1
- package/app/javascript/src/translations/ja.json +1 -1
- package/app/javascript/src/translations/ko.json +1 -1
- package/app/javascript/src/translations/nl.json +1 -1
- package/app/javascript/src/translations/pl.json +1 -1
- package/app/javascript/src/translations/pt-BR.json +1 -1
- package/app/javascript/src/translations/pt.json +1 -1
- package/app/javascript/src/translations/ro.json +1 -1
- package/app/javascript/src/translations/ru.json +1 -1
- package/app/javascript/src/translations/sk.json +1 -1
- package/app/javascript/src/translations/sl.json +1 -1
- package/app/javascript/src/translations/sv.json +1 -1
- package/app/javascript/src/translations/th.json +1 -1
- package/app/javascript/src/translations/tr.json +1 -1
- package/app/javascript/src/translations/uk.json +1 -1
- package/app/javascript/src/translations/vi.json +1 -1
- package/app/javascript/src/translations/zh-CN.json +1 -1
- package/app/javascript/src/translations/zh-TW.json +1 -1
- package/dist/.ready +1 -1
- package/dist/EmailLogs.js +21 -6
- package/dist/EmailLogs.js.map +1 -1
- package/dist/cjs/EmailLogs.js +21 -6
- package/dist/cjs/EmailLogs.js.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -235,16 +235,18 @@ import { EmailLogs } from "@bigbinary/neeto-email-pipeline-frontend";
|
|
|
235
235
|
{ text: "Email Logs" },
|
|
236
236
|
]}
|
|
237
237
|
helpUrl="https://neetocalhelp.neetokb.com/p/a-8ed45325"
|
|
238
|
+
pageTitle="Email Logs"
|
|
238
239
|
/>;
|
|
239
240
|
```
|
|
240
241
|
|
|
241
242
|
**Props:**
|
|
242
243
|
|
|
243
|
-
| Prop | Type | Required | Description
|
|
244
|
-
| ------------------ | --------- | -------- |
|
|
245
|
-
| `canViewEmailLogs` | `boolean` | Yes | Permission gate. If `false`, nothing renders.
|
|
246
|
-
| `breadcrumbs` | `array` | Yes | Breadcrumb trail for the Header component.
|
|
247
|
-
| `helpUrl` | `string` | No | URL for the help article. Renders a help icon next to the title.
|
|
244
|
+
| Prop | Type | Required | Description |
|
|
245
|
+
| ------------------ | --------- | -------- | ----------------------------------------------------------------------------------- |
|
|
246
|
+
| `canViewEmailLogs` | `boolean` | Yes | Permission gate. If `false`, nothing renders. |
|
|
247
|
+
| `breadcrumbs` | `array` | Yes | Breadcrumb trail for the Header component. |
|
|
248
|
+
| `helpUrl` | `string` | No | URL for the help article. Renders a help icon next to the title. |
|
|
249
|
+
| `pageTitle` | `string` | No | Browser/document title. Defaults to the localized "Email Logs" title if not passed. |
|
|
248
250
|
|
|
249
251
|
## Features
|
|
250
252
|
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "تم وضع علامة كرسالة غير مرغوب فيها"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "تتبع كل رسالة إلكترونية صادرة من حسابك. مراقبة حالات التسليم وفهم سبب إسقاط الرسائل الإلكترونية أو تأخيرها أو ارتدادها.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "مشكلة في تسليم البريد الإلكتروني؟"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Означен като спам"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Проследявайте всяко изходящо имейл съобщение, изпратено от вашия акаунт. Наблюдавайте състоянията на доставката и разберете защо имейлите са били отхвърлени, върнати или забавени.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Проблем с доставката на имейла?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Marcat com a spam"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Rastreja cada correu electrònic sortint enviat des del teu compte. Controla els estats de lliurament i entén per què els correus electrònics han estat rebutjats, retornats o endarrerits.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Problema en la entrega de correu?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Označeno jako spam"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Sledujte každý odchozí e-mail odeslaný z vašeho účtu. Monitorujte statusy doručení a pochopte, proč byly e-maily zamítnuty, vráceny nebo zpožděny.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Problém s doručením e-mailu?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Markeret som spam"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Spor hver udgående e-mail, der sendes fra din konto. Overvåg leveringsstatuser og forstå, hvorfor e-mails blev droppet, tilbagevist eller forsinket.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Problemer med e-maillevering?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Als Spam markiert"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Verfolgen Sie jede ausgehende E-Mail, die von Ihrem Konto gesendet wurde. Überwachen Sie den Zustellstatus und verstehen Sie, warum E-Mails zurückgewiesen, abgelehnt oder verzögert wurden.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "E-Mail-Zustellproblem?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Marcado como spam"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Realiza un seguimiento de cada correo electrónico saliente enviado desde tu cuenta. Monitorea los estados de entrega y entiende por qué los correos electrónicos fueron descartados, rebotados o retrasados.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "¿Problemas de entrega de correos electrónicos?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Marcado como spam"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Realiza un seguimiento de cada correo electrónico saliente enviado desde tu cuenta. Monitorea los estados de entrega y comprende por qué los correos electrónicos fueron rechazados, rebotados o retrasados.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "¿Problema de entrega de correo electrónico?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Märgitud rämpspostiks"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Jälgi iga väljasaatetud e-kirja saadetisest oma kontolt. Jälgi kohaletoimetamise olekuid ja saa aru, miks e-kirjad tagasi lükati, ebaõnnestusid või viibisid.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Kohaletoimetamise probleem e-kirjaga?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Merkitty roskapostiksi"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Seuraa jokaista tililtäsi lähetettyä sähköpostia. Valvo toimitustilastoja ja ymmärrä, miksi sähköpostit hylättiin, palautettiin tai viivästyivät.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Sähköpostin toimitusongelma?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Minarkahan bilang spam"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Subaybayan ang bawat outbound na email na ipinadala mula sa iyong account. I-monitor ang mga status ng paghahatid at alamin kung bakit ang mga email ay na-drop, nag-bounce, o naantala.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Isyu sa paghahatid ng email?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Marqué comme spam"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Suivez chaque e-mail sortant envoyé depuis votre compte. Surveillez les statuts de livraison et comprenez pourquoi les e-mails ont été supprimés, ont rebondi ou ont été retardés.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Problème de livraison de l'email ?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "מסומן כספאם"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "עקוב אחרי כל דוא\"ל יוצא שנשלח מחשבונך. חשוב על סטטוסים של משלוח וודא מדוע דוא\"לים נפלו, החזירו או התעכבו.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "בעיה במשלוח הדוא\"ל?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "स्पैम के रूप में चिह्नित किया गया"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "अपने खाते से भेजे गए प्रत्येक आउटबाउंड ईमेल पर नज़र रखें। डिलीवरी की स्थिति की निगरानी करें और समझें कि ईमेल क्यों गिराए गए, लौटा दिए गए या विलंबित हुए।",
|
|
53
|
-
"debugDeliverability": "डिलीवरी
|
|
53
|
+
"debugDeliverability": "ईमेल डिलीवरी समस्या?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Označeno kao spam"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Pratite svaki odlazni email poslan s vašeg računa. Pratite status isporuke i razumite zašto su emailovi odbijeni, vraćeni ili odgođeni.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Problemi s isporukom e-pošte?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Spamként megjelölve"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Kövesd nyomon az összes kimenő e-mailt, amelyet a fiókodból küldtél. Figyeld a kézbesítési állapotokat, és értsd meg, miért kerültek a levelek elutasításra, ugrásra vagy késésre.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Email kézbesítési probléma?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Ditandai sebagai spam"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Lacak setiap email keluar yang dikirim dari akun Anda. Monitor status pengiriman dan pahami mengapa email dibatalkan, ditolak, atau terlambat.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Masalah pengiriman email?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Contrassegnato come spam"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Monitora ogni email in uscita inviata dal tuo account. Tieni traccia degli stati di consegna e comprendi perché le email sono state escluse, rimbalzate o ritardate.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Problema di consegna dell'email?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Als spam gemarkeerd"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Volg elke verzonden e-mail vanuit uw account. Controleer de afleverstatus en begrijp waarom e-mails zijn geweigerd, teruggestuurd of vertraagd.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Probleem met e-mailbezorging?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Oznaczone jako spam"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Śledź każdą wychodzącą wiadomość e-mail wysłaną z twojego konta. Monitoruj statusy dostarczania i zrozum, dlaczego wiadomości e-mail zostały odrzucone, zignorowane lub opóźnione.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Problem z dostarczaniem wiadomości e-mail?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Marcado como spam"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Acompanhe todos os e-mails enviados de sua conta. Monitore os status de entrega e entenda por que os e-mails foram descartados, rejeitados ou atrasados.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Problema de entrega de e-mail?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Marcado como spam"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Rastreie cada e-mail enviado da sua conta. Monitore os status de entrega e entenda por que os e-mails foram descartados, devolvidos ou atrasados.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Problema de entrega de e-mail?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Marcat ca spam"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Urmăriți fiecare e-mail trimis din contul dvs. Monitorizați stările de livrare și înțelegeți de ce e-mailurile au fost respinse, returnate sau întârziate.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Problemă de livrare a emailului?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Отмечено как спам"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Отслеживайте каждое исходящее электронное письмо, отправленное с вашего аккаунта. Мониторьте статус доставки и понимайте, почему письма были отклонены, отправлены обратно или задержаны.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Проблема с доставкой электронной почты?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Označené ako spam"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Sledujte každú odoslanú e-mailovú správu z vášho účtu. Monitorujte stavy doručenia a pochopte, prečo boli e-maily odmietnuté, vrátené alebo oneskorené.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Problém s doručením e-mailu?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Označeno kot spam"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Spremljajte vsa odhajajoča e-pošta, poslana iz vašega računa. Natančno spremljajte status dostave in razumite, zakaj so bile e-pošte zavržene, odbite ali zamujene.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Težava z dostavo e-pošte?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Markerad som skräppost"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Spåra varje utgående e-post som skickats från ditt konto. Övervaka leveransstatusar och förstå varför e-postmeddelanden drogs tillbaka, studsade eller försenades.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Problem med e-postleverans?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "ถูกระบุว่าเป็นสแปม"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "ติดตามอีเมลขาออกทุกฉบับที่ส่งจากบัญชีของคุณ ตรวจสอบสถานะการจัดส่งและทำความเข้าใจว่าทำไมอีเมลถึงถูกดรอป, ถูกปฏิเสธ, หรือล่าช้า",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "มีปัญหาการส่งอีเมลหรือไม่?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Spam olarak işaretlendi"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Hesabınızdan gönderilen her çıkış e-postayı takip edin. Teslimat durumlarını izleyin ve e-postaların neden düştüğünü, geri döndüğünü veya geciktiğini anlayın.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "E-posta teslimat sorun mu?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Позначено як спам"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Слідкуйте за кожним вихідним електронним листом, надісланим з вашого облікового запису. Моніторте статуси доставки та зрозумійте, чому електронні листи були відхилені, повернуті або затримані.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Проблема з доставкою електронної пошти?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"markedAsSpam": "Được đánh dấu là thư rác"
|
|
51
51
|
},
|
|
52
52
|
"helpDescription": "Theo dõi từng email ra khỏi tài khoản của bạn. Giám sát trạng thái giao hàng và hiểu lý do tại sao email bị rớt, bị hoàn lại hoặc bị trì hoãn.",
|
|
53
|
-
"debugDeliverability": "
|
|
53
|
+
"debugDeliverability": "Vấn đề giao hàng email?"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
package/dist/.ready
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Built at 2026-07-
|
|
1
|
+
Built at 2026-07-29T05:21:05.797Z
|
package/dist/EmailLogs.js
CHANGED
|
@@ -3,6 +3,7 @@ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
|
3
3
|
import { useMemo, useState } from 'react';
|
|
4
4
|
import { isPresent } from '@bigbinary/neeto-cist';
|
|
5
5
|
import { DEFAULT_PAGE_SIZE } from '@bigbinary/neeto-commons-frontend/constants';
|
|
6
|
+
import { withT, PageTitle } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
6
7
|
import Container from '@bigbinary/neeto-molecules/Container';
|
|
7
8
|
import Header from '@bigbinary/neeto-molecules/Header';
|
|
8
9
|
import TableWrapper from '@bigbinary/neeto-molecules/TableWrapper';
|
|
@@ -20,7 +21,6 @@ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
|
20
21
|
import Spinner from '@bigbinary/neetoui/Spinner';
|
|
21
22
|
import { dateFormat } from '@bigbinary/neeto-commons-frontend/utils';
|
|
22
23
|
import { prop, isEmpty } from 'ramda';
|
|
23
|
-
import { withT } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
24
24
|
import FiltersBar from '@bigbinary/neeto-filters-frontend/Bar';
|
|
25
25
|
import SubHeader from '@bigbinary/neeto-molecules/SubHeader';
|
|
26
26
|
import NeetoUITable from '@bigbinary/neetoui/Table';
|
|
@@ -180,10 +180,12 @@ var EmailBody = function EmailBody(_ref) {
|
|
|
180
180
|
|
|
181
181
|
var TimelineEntry = function TimelineEntry(_ref) {
|
|
182
182
|
var label = _ref.label,
|
|
183
|
+
testId = _ref.testId,
|
|
183
184
|
timestamp = _ref.timestamp,
|
|
184
185
|
isLast = _ref.isLast;
|
|
185
186
|
return /*#__PURE__*/jsxs("div", {
|
|
186
187
|
className: "flex gap-3",
|
|
188
|
+
"data-testid": testId,
|
|
187
189
|
children: [/*#__PURE__*/jsxs("div", {
|
|
188
190
|
className: "flex flex-col items-center",
|
|
189
191
|
children: [/*#__PURE__*/jsx("div", {
|
|
@@ -214,6 +216,7 @@ var Timeline = function Timeline(_ref2) {
|
|
|
214
216
|
return /*#__PURE__*/jsx(TimelineEntry, {
|
|
215
217
|
isLast: index === visibleEntries.length - 1,
|
|
216
218
|
label: entry.label,
|
|
219
|
+
testId: entry.testId,
|
|
217
220
|
timestamp: entry.timestamp
|
|
218
221
|
}, entry.label);
|
|
219
222
|
});
|
|
@@ -272,6 +275,7 @@ var Pane = function Pane(_ref) {
|
|
|
272
275
|
value: record.subject
|
|
273
276
|
}), showDeliveryMethod && /*#__PURE__*/jsx(DetailField, {
|
|
274
277
|
label: t("neetoEmailPipeline.emailLogs.pane.deliveryMethod"),
|
|
278
|
+
testId: "email-logs-pane-delivery-method",
|
|
275
279
|
value: record.deliveryMethod
|
|
276
280
|
}), /*#__PURE__*/jsxs("div", {
|
|
277
281
|
className: "neeto-ui-border-gray-200 mt-5 border-t pt-4",
|
|
@@ -283,30 +287,38 @@ var Pane = function Pane(_ref) {
|
|
|
283
287
|
}), /*#__PURE__*/jsx(Timeline, {
|
|
284
288
|
entries: [{
|
|
285
289
|
label: t("neetoEmailPipeline.emailLogs.pane.rateLimited"),
|
|
290
|
+
testId: "email-logs-timeline-rate-limited",
|
|
286
291
|
timestamp: record.rateLimitedAt
|
|
287
292
|
}, {
|
|
288
293
|
label: t("neetoEmailPipeline.emailLogs.pane.queued"),
|
|
294
|
+
testId: "email-logs-timeline-queued",
|
|
289
295
|
timestamp: record.createdAt
|
|
290
296
|
}, {
|
|
291
297
|
label: t("neetoEmailPipeline.emailLogs.pane.dropped"),
|
|
298
|
+
testId: "email-logs-timeline-dropped",
|
|
292
299
|
timestamp: record.status === "dropped" ? record.createdAt : null
|
|
293
300
|
}, {
|
|
294
301
|
label: t("neetoEmailPipeline.emailLogs.pane.handedOver"),
|
|
302
|
+
testId: "email-logs-timeline-handed-over",
|
|
295
303
|
timestamp: record.sentAt
|
|
296
304
|
}, {
|
|
297
305
|
label: t("neetoEmailPipeline.emailLogs.pane.delivered"),
|
|
306
|
+
testId: "email-logs-timeline-delivered",
|
|
298
307
|
timestamp: record.deliveredAt
|
|
299
308
|
}, {
|
|
300
309
|
label: t("neetoEmailPipeline.emailLogs.pane.markedAsSpam"),
|
|
310
|
+
testId: "email-logs-timeline-marked-as-spam",
|
|
301
311
|
timestamp: record.status === "spam_complaint" ? record.failedAt : null
|
|
302
312
|
}, {
|
|
303
313
|
label: t("neetoEmailPipeline.emailLogs.pane.failed"),
|
|
314
|
+
testId: "email-logs-timeline-failed",
|
|
304
315
|
timestamp: record.status !== "spam_complaint" ? record.failedAt : null
|
|
305
316
|
}]
|
|
306
317
|
})]
|
|
307
318
|
}), record.statusDetail && /*#__PURE__*/jsx("div", {
|
|
308
319
|
className: "mt-4",
|
|
309
320
|
children: /*#__PURE__*/jsx(Callout, {
|
|
321
|
+
"data-testid": "email-logs-pane-status-detail",
|
|
310
322
|
style: "danger",
|
|
311
323
|
children: record.statusDetail
|
|
312
324
|
})
|
|
@@ -449,7 +461,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
449
461
|
var EmailLogs = function EmailLogs(_ref) {
|
|
450
462
|
var canViewEmailLogs = _ref.canViewEmailLogs,
|
|
451
463
|
breadcrumbs = _ref.breadcrumbs,
|
|
452
|
-
helpUrl = _ref.helpUrl
|
|
464
|
+
helpUrl = _ref.helpUrl,
|
|
465
|
+
pageTitle = _ref.pageTitle;
|
|
453
466
|
var _useTranslation = useTranslation(),
|
|
454
467
|
t = _useTranslation.t;
|
|
455
468
|
var _useState = useState(1),
|
|
@@ -469,9 +482,9 @@ var EmailLogs = function EmailLogs(_ref) {
|
|
|
469
482
|
isFilterPaneOpen = _useState8[0],
|
|
470
483
|
setIsFilterPaneOpen = _useState8[1];
|
|
471
484
|
var _useState9 = useState(null),
|
|
472
|
-
|
|
473
|
-
selectedRecord =
|
|
474
|
-
setSelectedRecord =
|
|
485
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
486
|
+
selectedRecord = _useState0[0],
|
|
487
|
+
setSelectedRecord = _useState0[1];
|
|
475
488
|
var resetPage = function resetPage() {
|
|
476
489
|
return setPage(1);
|
|
477
490
|
};
|
|
@@ -520,7 +533,9 @@ var EmailLogs = function EmailLogs(_ref) {
|
|
|
520
533
|
var subtitle = buildSubtitle();
|
|
521
534
|
var rateLimited = stats.rateLimited || 0;
|
|
522
535
|
return /*#__PURE__*/jsxs(Container, {
|
|
523
|
-
children: [/*#__PURE__*/jsx(
|
|
536
|
+
children: [/*#__PURE__*/jsx(PageTitle, {
|
|
537
|
+
title: pageTitle || t("neetoEmailPipeline.emailLogs.title")
|
|
538
|
+
}), /*#__PURE__*/jsx(Header, _objectSpread({
|
|
524
539
|
breadcrumbs: breadcrumbs,
|
|
525
540
|
title: t("neetoEmailPipeline.emailLogs.title"),
|
|
526
541
|
searchProps: {
|