diff --git a/components/measurement/StatusInfo.js b/components/measurement/StatusInfo.js
index c7040faa..2553377b 100644
--- a/components/measurement/StatusInfo.js
+++ b/components/measurement/StatusInfo.js
@@ -2,14 +2,16 @@ import PropTypes from 'prop-types'
const StatusInfo = ({ title, message }) => (
-
+
{' '}
{title}{' '}
-
- {' '}
- {message}{' '}
-
+ {message && (
+
+ {' '}
+ {message}{' '}
+
+ )}
)
diff --git a/components/measurement/nettests/WebConnectivity.js b/components/measurement/nettests/WebConnectivity.js
index d0a696c0..04fad500 100644
--- a/components/measurement/nettests/WebConnectivity.js
+++ b/components/measurement/nettests/WebConnectivity.js
@@ -335,10 +335,7 @@ const WebConnectivityDetails = ({
id="Measurement.SummaryText.Websites.Failed"
values={{
date,
- WebsiteURL: (
-
- //
{input}
- ),
+ WebsiteURL:
,
network: probe_asn,
country,
}}
@@ -351,10 +348,7 @@ const WebConnectivityDetails = ({
id="Measurement.SummaryText.Websites.ConfirmedBlocked"
values={{
date,
- WebsiteURL: (
-
- //
{input}
- ),
+ WebsiteURL:
,
network: probe_asn,
country,
}}
@@ -382,15 +376,15 @@ const WebConnectivityDetails = ({
id="Measurement.SummaryText.Websites.Anomaly"
values={{
date,
- WebsiteURL: (
-
- //
{input}
- ),
- 'link-to-docs': (string) => (
-
- {string}
-
- ),
+ WebsiteURL:
,
+ 'link-to-docs': (string) =>
+ isEmbeddedView ? (
+ string
+ ) : (
+
+ {string}
+
+ ),
network: probe_asn,
country,
reason,
@@ -416,10 +410,7 @@ const WebConnectivityDetails = ({
id="Measurement.SummaryText.Websites.Accessible"
values={{
date,
- WebsiteURL: (
-
- //
{input}
- ),
+ WebsiteURL:
,
network: probe_asn,
country,
}}
@@ -444,10 +435,7 @@ const WebConnectivityDetails = ({
id="Measurement.SummaryText.Websites.Down"
values={{
date,
- WebsiteURL: (
-
- //
{input}
- ),
+ WebsiteURL:
,
network: probe_asn,
country,
}}
@@ -473,10 +461,7 @@ const WebConnectivityDetails = ({
id="Measurement.SummaryText.Websites.Failed"
values={{
date,
- WebsiteURL: (
-
- //
{input}
- ),
+ WebsiteURL:
,
network: probe_asn,
country,
}}
@@ -533,115 +518,111 @@ const WebConnectivityDetails = ({
details: (
<>
{/* Failures */}
-
-
- }
- content={
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ }
+ content={
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ }
+ />
+
{/* DNS Queries */}
-
-
- }
- content={
- Array.isArray(queries) ? (
- <>
-
-
-
-
- :
-
-
-
{client_resolver || '(unknown)'}
-
-
- {queries.map((query, index) => (
-
- ))}
+
+
+ }
+ content={
+ Array.isArray(queries) ? (
+ <>
+
+
+
+
+ :
+
- >
- ) : (
-
- )
- }
- />
-
+
{client_resolver || '(unknown)'}
+
+
+ {queries.map((query, index) => (
+
+ ))}
+
+ >
+ ) : (
+
+ )
+ }
+ />
+
{/* TCP COnnections */}
-
-
- }
- content={
- tcpConnections.length > 0 ? (
- tcpConnections.map((connection, index) => (
-
-
- {connection.destination}:{' '}
- {connection.failure
- ? `${intl.formatMessage({ id: 'Measurement.Details.Websites.TCP.ConnectionTo.Failed' })} (${connection.failure})`
- : intl.formatMessage({
- id: 'Measurement.Details.Websites.TCP.ConnectionTo.Success',
- })}
-
+
+
+ }
+ content={
+ tcpConnections.length > 0 ? (
+ tcpConnections.map((connection, index) => (
+
+
+ {connection.destination}:{' '}
+ {connection.failure
+ ? `${intl.formatMessage({ id: 'Measurement.Details.Websites.TCP.ConnectionTo.Failed' })} (${connection.failure})`
+ : intl.formatMessage({
+ id: 'Measurement.Details.Websites.TCP.ConnectionTo.Success',
+ })}
- ))
- ) : (
-
- )
- }
- />
-
+
+ ))
+ ) : (
+
+ )
+ }
+ />
+
{/* I would like us to enrich the HTTP response body section with
information about every request and response as this is a very common
thing we look at when investigating a case. */}
-
-
- }
- content={
- Array.isArray(requests) ? (
-
- {requests.map((request, index) => (
-
- ))}
-
- ) : (
-
- )
- }
- />
-
+
+
+ }
+ content={
+ Array.isArray(requests) ? (
+
+ {requests.map((request, index) => (
+
+ ))}
+
+ ) : (
+
+ )
+ }
+ />
>
),
})}