Skip to content

Commit

Permalink
AAP-21297: Reword the telemetry settings page in admin portal (#861)
Browse files Browse the repository at this point in the history
  • Loading branch information
romartin authored Mar 5, 2024
1 parent f8abe36 commit f81f72a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
"Telemetry": "Telemetry",
"TelemetrySettings": "Telemetry settings",
"TelemetryManageUsage": "Manage telemetry usage",
"TelemetryManageUsageDescription": "Telemetry data is used to enable app usage and the ",
"TelemetryManageUsageDescription": "There are two options available for data collection.",
"TelemetryManageUsageAdminDashboardURLText": "admin dashboard.",
"TelemetryManageUsageLearnMoreURLText": "Learn more about how Ansible Lightspeed uses data. ",
"TelemetryManageUsageLearnMoreURL": "https://access.redhat.com/documentation/en-us/red_hat_ansible_lightspeed_with_ibm_watsonx_code_assistant/2.x_latest/html/red_hat_ansible_lightspeed_with_ibm_watsonx_code_assistant_user_guide/lightspeed-intro#training-data_lightspeed-intro",
"TelemetryOptInLabel": "Admin dashboard telemetry data.",
"TelemetryOptInDescription": "Additional telemetry data is collected to enable the admin dashboard.",
"TelemetryOptInDescription": "Additional telemetry data is collected to enable the ",
"TelemetryOptOutLabel": "Operational telemetry data only.",
"TelemetryOptOutDescription": "The minimum data required to operate Ansible Lightspeed is collected.",
"TelemetryOptInSaveSuccessAlert": "Advanced telemetry enabled.",
Expand Down
20 changes: 13 additions & 7 deletions ansible_wisdom_console_react/src/TelemetrySettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,6 @@ export function TelemetrySettings(props: TelemetrySettingsProps) {
<Text component={"h3"}>{t("TelemetryManageUsage")}</Text>
<Text component={"p"}>
{t("TelemetryManageUsageDescription")}
<a
data-testid={"telemetry-settings__admin_dashboard_url"}
href={adminDashboardUrl}
>
{t("TelemetryManageUsageAdminDashboardURLText")}
</a>
</Text>
<Text component={"p"}>
<a href={t("TelemetryManageUsageLearnMoreURL")}>
Expand Down Expand Up @@ -182,7 +176,19 @@ export function TelemetrySettings(props: TelemetrySettingsProps) {
id="optInRadio"
name="optInOutRadio"
label={t("TelemetryOptInLabel")}
description={t("TelemetryOptInDescription")}
description={
<div>
{t("TelemetryOptInDescription")}
<a
data-testid={
"telemetry-settings__admin_dashboard_url"
}
href={adminDashboardUrl}
>
{t("TelemetryManageUsageAdminDashboardURLText")}
</a>
</div>
}
isChecked={!telemetryOptOut}
onChange={() => setTelemetryOptOut(false)}
isDisabled={saving}
Expand Down

1 comment on commit f81f72a

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ClamAV Virus Definition DB Files:
----
total 228208
-rw-r--r--  1 root root 170479789 Mar  5 06:07 main.cvd
-rw-r--r--  1 root root        69 Mar  5 06:07 freshclam.dat
-rw-r--r--  1 root root  62893345 Mar  5 06:07 daily.cvd
-rw-r--r--  1 root root    289733 Mar  5 06:07 bytecode.cvd
drwxr-xr-x 16 root root      4096 Mar  5 23:08 ..
drwxr-xr-x  2 root root      4096 Mar  5 23:08 .
----
File: /var/lib/clamav/bytecode.cvd
Build time: 27 Feb 2024 10:37 -0500
Version: 335
Signatures: 86
Functionality level: 90
Builder: raynman
MD5: 16d388f042f5c44628a66228df427c20
Digital signature: 7fD3mweaw4tqQH9Dl7ZewBLXZBSrLKX5no/rYN/6NQBmhnWUyTBt3uzd7ZjEnIT5yN1ygLwsDcuzoKRoA+syrfk3PcDHf5/h6Wb/d8uikXSALygH5VYAPo2ksV5Pitn3reECJ90q2m9m0CH2VpT1tDkkcVi05LLV5PwBle2Ufpe
Verification OK.
----
File: /var/lib/clamav/daily.cvd
Build time: 04 Mar 2024 04:25 -0500
Version: 27204
Signatures: 2054232
Functionality level: 90
Builder: raynman
MD5: 6289b0d02269207da94fb9d6601a2203
Digital signature: 3GO358Nl9etz8vPSqunTl7gH9PtuH8dSw6ZIS0JlNyH7vzqdQw2oROgKtZS5TN9AefnN7hHz+EAxyGErgufOQPzI1ftRJf6mVrmoVC+GQ6gmBaIKmE4ze/UHDOgHlHbnpe2LHCLYKy64GDytX9p6zFIzKt0RBwne/95OK3RZUEc
Verification OK.
----
File: /var/lib/clamav/main.cvd
Build time: 16 Sep 2021 08:32 -0400
Version: 62
Signatures: 6647427
Functionality level: 90
Builder: sigmgr
MD5: 137eccce31aacb21b5a98bb8c21cefd6
Digital signature: twaJBls8V5q64R7QY10AatEtPNuPWoVoxTaNO1jpBg7s5jIMMXpitgG1000YLp6rb0TWkEKjRqxneGTxuxWaWm7XBjsgwX2BRWh/y4fhs7uyImdKRLzQ5y8e2EkSChegF/i8clqfn+1qetq9j4gbktJ3JZpOXPoHlyr2Dv9S/Bg
Verification OK.
----
Scanning Results:
ClamAV 1.0.5/27204/Mon Mar  4 09:25:09 2024
LibClamAV Warning: Max file-size was set to 4194304000 bytes. Unfortunately, scanning files greater than 2147483647 bytes (2 GiB - 1) is not supported.

----------- SCAN SUMMARY -----------
Known viruses: 8686091
Engine version: 1.0.5
Scanned directories: 30962
Scanned files: 190032
Infected files: 0
Data scanned: 6494.55 MB
Data read: 3413.26 MB (ratio 1.90:1)
Time: 1886.284 sec (31 m 26 s)
Start Date: 2024:03:05 23:10:31
End Date:   2024:03:05 23:41:57

Please sign in to comment.