diff --git a/ghost/admin/app/styles/layouts/settings.css b/ghost/admin/app/styles/layouts/settings.css index 793a10a244..68512af22f 100644 --- a/ghost/admin/app/styles/layouts/settings.css +++ b/ghost/admin/app/styles/layouts/settings.css @@ -3230,16 +3230,20 @@ p.theme-validation-details { } .gh-email-debug .gh-list { - display: block; border-bottom: none; } +.gh-email-debug .gh-list thead, +.gh-email-debug .gh-list tbody { + width: 100%; +} + .gh-email-debug .gh-list tr:first-of-type .gh-list-data { border-top: none; } -.gh-email-debug-permanent-failures .gh-list-data { - vertical-align: top; +.gh-email-debug .gh-list tr .gh-list-data:first-of-type { + padding-left: 0; } .gh-email-debug-col-member { @@ -3279,5 +3283,93 @@ p.theme-validation-details { .gh-email-debug-failure-code span { color: var(--darkgrey); - font-weight: 600; + font-weight: 500; +} + +.gh-email-debug .gh-list-data { + height: 98px; +} + +.gh-email-debug-batch-col-status span { + display: inline-block; + position: relative; + padding-left: 16px; + color: var(--midlightgrey); +} + +.gh-email-debug-batch-col-status span::before { + display: block; + position: absolute; + content: ""; + top: 6px; + left: 0; + width: 8px; + height: 8px; + border-radius: 999px; + background: var(--midlightgrey); +} + +.gh-email-debug-batch-col-status .failed { + color: var(--red); +} + +.gh-email-debug-batch-col-status .failed::before { + background: var(--red); +} + +.gh-email-debug-batch-col-status .submitting { + color: var(--blue); +} + +.gh-email-debug-batch-col-status .submitting::before { + background: var(--blue); +} + +.gh-email-debug-batch-col-status .submitted { + color: var(--green); +} + +.gh-email-debug-batch-col-status .submitted::before { + background: var(--green); +} + +.gh-email-debug-batch-col-created, +.gh-email-debug-batch-col-details { + color: var(--midgrey); +} + +.gh-email-debug-batch-col-created span, +.gh-email-debug-batch-col-segment span { + white-space: nowrap; +} + +.gh-email-debug-batch-col-details .detailtext div { + word-break: break-all; +} + +.gh-email-debug-batch-col-segment span { + display: inline-block; + border-radius: 2px; + background: color-mod(var(--black) a(5%)); + padding: 1px 6px; + color: var(--middarkgrey); +} + +.gh-email-debug-batch-col-details span { + color: var(--darkgrey); + font-weight: 500; +} + +.gh-email-debug-batch-col-details .download-icon { + width: 20px; + height: 20px; + margin-left: 20px; +} + +.gh-email-debug-batch-col-details .download-icon path { + stroke: var(--midgrey); +} + +.gh-email-debug-batch-col-details .detailtext { + flex-grow: 1; } \ No newline at end of file diff --git a/ghost/admin/app/templates/posts/debug.hbs b/ghost/admin/app/templates/posts/debug.hbs index f06c59ee39..3033e6ed7c 100644 --- a/ghost/admin/app/templates/posts/debug.hbs +++ b/ghost/admin/app/templates/posts/debug.hbs @@ -79,15 +79,70 @@
- {{!--
--}} - {{!-- {{svg-jar "warning-stroke"}} --}} - {{!--
--}}
Failure code: 402 Enhanced code: 4.2.2
- The email account that you tried to reach is over quota. Please direct the recipient to https://support.google.com/mail/?p=OverQuotaTemp bb1-20020a05622a1b0100b0039ce87e3d49si1009300qtb.292 - gsmtp + 4.2.2 The email account that you tried to reach is over quota. Please direct\n4.2.2 the recipient to\n4.2.2 https://support.google.com/mail/?p=OverQuotaTemp bb1-20020a05622a1b0100b0039ce87e3d49si1009300qtb.292 - gsmtp +
+
+
+ + +
+
+
+
+ PD +
+ {{#if this.avatarImage}} + {{or @member.name @member.email}} + {{/if}} +
+
+

Permanent Dude

+

dude@whofails.com

+
+
+
+
+
+
+
+ Failure code: 402 + Enhanced code: 4.2.2 +
+ 4.2.2 The email account that you tried to reach is over quota. Please direct\n4.2.2 the recipient to\n - gsmtp +
+
+
+ + +
+
+
+
+ PD +
+ {{#if this.avatarImage}} + {{or @member.name @member.email}} + {{/if}} +
+
+

Permanent Dude

+

dude@whofails.com

+
+
+
+
+
+
+
+ Failure code: 402 + Enhanced code: 4.2.2 +
+ 4.2.2 The email account that you tried to reach is over quota. Please direct\n4.2.2 the recipient to\n4.2.2 https://support.google.com/mail/?p=OverQuotaTemp bb1-20020a05622a1b0100b0039ce87e3d49si1009300qtb.292 - gsmtp
@@ -123,15 +178,41 @@
- {{!--
--}} - {{!-- {{svg-jar "warning-stroke"}} --}} - {{!--
--}}
Failure code: 402 Enhanced code: 4.2.2
- The email account that you tried to reach is over quota. Please direct the recipient to https://support.google.com/mail/?p=OverQuotaTemp bb1-20020a05622a1b0100b0039ce87e3d49si1009300qtb.292 - gsmtp + 4.2.2 The email account that you tried to reach is over quota. Please direct\n4.2.2 the recipient to\n4.2.2 https://support.google.com/mail/?p=OverQuotaTemp bb1-20020a05622a1b0100b0039ce87e3d49si1009300qtb.292 - gsmtp +
+
+
+ + +
+
+
+
+ TD +
+ {{#if this.avatarImage}} + {{or @member.name @member.email}} + {{/if}} +
+
+

Temporary Dude

+

dude@whofails.com

+
+
+
+
+
+
+
+ Failure code: 402 + Enhanced code: 4.2.2 +
+ 4.2.2 The email account that you tried to reach is over quota. Please direct\n4.2.2 the recipient to\n4.2.2 https://support.google.com/mail/?p=OverQuotaTemp bb1-20020a05622a1b0100b0039ce87e3d49si1009300qtb.292 - gsmtp
@@ -146,7 +227,106 @@ - TBD + + + + + + + + + + + + +
+ Failed +
+
+ 22 June, 2022 19:34:29 +
+
+ -status:free +
+
+ 1,000 +
+
+
+
+
Provider id: 20220824043031.b31949925525913d@m.ghost.io
+
Failure status code: 500
+ Mailgun Error 500: Internal server error +
+
{{svg-jar "download" title="Download full failure message"}}
+
+
+ + +
+ Pending +
+
+ 22 June, 2022 19:34:29 +
+
+ -status:free +
+
+ 1,000 +
+
+
+
+
Provider id: 20220824043031.b31949925525913d@m.ghost.io
+
+
+
+ + +
+ Submitting +
+
+ 22 June, 2022 19:34:29 +
+
+ -status:free +
+
+ 1,000 +
+
+
+
+
Provider id: 20220824043031.b31949925525913d@m.ghost.io
+
+
+
+ + +
+ +
+
+ 22 June, 2022 19:34:29 +
+
+ -status:free +
+
+ 1,000 +
+
+
+
+
Provider id: 20220824043031.b31949925525913d@m.ghost.io
+
+
+
+ + +
StatusCreatedSegmentRecipientsDetails
diff --git a/ghost/admin/public/assets/icons/download.svg b/ghost/admin/public/assets/icons/download.svg index c19d2f12ee..1c03330d0b 100644 --- a/ghost/admin/public/assets/icons/download.svg +++ b/ghost/admin/public/assets/icons/download.svg @@ -1,4 +1,3 @@ - download