@@ -2,6 +2,7 @@ import React, { useState } from "react";
22import BottomButtons from "../BottomButtons" ;
33import SwitchBig from "components/SwitchBig" ;
44import { api } from "api" ;
5+ import { docsUrl , externalUrlProps } from "params" ;
56
67export default function EnableUiTelemetry ( { onBack, onNext } : { onBack ?: ( ) => void ; onNext : ( ) => void } ) {
78 const [ telemetryOn , setTelemetryOn ] = useState ( true ) ;
@@ -19,53 +20,21 @@ export default function EnableUiTelemetry({ onBack, onNext }: { onBack?: () => v
1920 < div className = "title" > Help improve Dappnode</ div >
2021 < div className = "description" >
2122 < p >
22- You can optionally enable telemetry to help us improve Dappnode.
23- When enabled, we collect usage data such as UI interactions,
24- performance metrics, and error reports.
23+ Help us improve Dappnode by enabling telemetry. We collect usage data, performance metrics, and error
24+ reports. You can disable this at any time in System > Advanced.{ " " }
25+ < a href = { docsUrl . uiTelemetry } { ...externalUrlProps } >
26+ Learn more
27+ </ a >
28+ { " · " }
29+ < a href = "https://dappnode.com/pages/privacy-policy" { ...externalUrlProps } >
30+ Privacy Policy
31+ </ a >
2532 </ p >
26-
27- < p >
28- By enabling this option, you consent to the collection and processing of this telemetry data.
29- You can disable telemetry at any time in System > Advanced.
30- </ p >
31-
32- < details style = { { textAlign : "left" , marginTop : "0.5rem" } } >
33- < summary style = { { cursor : "pointer" , fontWeight : 500 } } > What data is collected and why?</ summary >
34-
35- < ul style = { { paddingLeft : "1.5rem" , marginTop : "0.5rem" } } >
36- < li >
37- < strong > Improve Dappnode:</ strong > Your usage data helps us understand how features are used and where
38- issues occur, so we can build a better product.
39- </ li >
40- < li >
41- < strong > Better support:</ strong > Telemetry helps the Dappnode team diagnose and resolve issues faster
42- when you reach out for support.
43- </ li >
44- </ ul >
45-
46- < p >
47- This data includes your IP address and a pseudonymous persistent session identifier to understand usage over time.
48- Telemetry is proxied through Dappnode infrastructure and processed using third-party services such as Grafana Cloud.
49- </ p >
50-
51- < p style = { { fontSize : "0.85rem" , opacity : 0.8 } } >
52- Learn more in our{ " " }
53- < a href = "https://dappnode.com/pages/privacy-policy" target = "_blank" rel = "noopener noreferrer" >
54- Privacy Policy
55- </ a >
56- .
57- </ p >
58- </ details >
5933 </ div >
6034 </ div >
6135
6236 < div className = "auto-updates-switch" >
63- < SwitchBig
64- checked = { telemetryOn }
65- onChange = { setTelemetryOn }
66- label = "Enable anonymous telemetry"
67- id = "enable-ui-telemetry"
68- />
37+ < SwitchBig checked = { telemetryOn } onChange = { setTelemetryOn } label = "Enable telemetry" id = "enable-ui-telemetry" />
6938 </ div >
7039
7140 < BottomButtons onBack = { onBack } onNext = { onSubmit } />
0 commit comments