| // Copyright 2022 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // User notices for analytics. |
| |
| /* eslint-disable max-len */ |
| |
| const PARTICIPATING_TOOLS = 'device_launcher, ffx, fidlcat, Fuchsia extension for VS Code, Fuchsia Snapshot Viewer, scrutiny verify routes, symbol-index, symbolizer, zxdb'; |
| |
| export const MESSAGE_FIRST_RUN_FIRST_TOOL_TELEMETRY_OFF = `Welcome to Fuchsia for VS Code! |
| |
| |
| Fuchsia developer tools, including ${PARTICIPATING_TOOLS} use Google Analytics to report feature usage statistics and basic crash reports. Google may examine the collected data in aggregate to help improve these tools, other Fuchsia tools, and the Fuchsia SDK. |
| |
| Analytics are not sent on this very first run. To disable reporting from Fuchsia's command-line tools, run |
| ffx config analytics disable |
| |
| To display the current setting and what is collected, run |
| ffx config analytics show |
| |
| If you opt out of analytics, an opt-out event will be sent, and then no further information will be sent by the Fuchsia developer tools to Google. |
| |
| Since your VS Code's telemetry setting is currently off, the Fuchsia for VS Code extension itself will not send analytics. |
| |
| By using Fuchsia developer tools, you agree to the Google Terms of Service. |
| |
| Note: The Google Privacy Policy describes how data is handled in your use of this service. |
| |
| |
| See Google's privacy policy: https://policies.google.com/privacy`; |
| |
| export const MESSAGE_FIRST_RUN_FIRST_TOOL_TELEMETRY_ON = `Welcome to Fuchsia for VS Code! |
| |
| |
| Fuchsia developer tools, including ${PARTICIPATING_TOOLS} use Google Analytics to report feature usage statistics and basic crash reports. Google may examine the collected data in aggregate to help improve these tools, other Fuchsia tools, and the Fuchsia SDK. |
| |
| Analytics are not sent on this very first run. To disable reporting from Fuchsia's command-line tools, run |
| ffx config analytics disable |
| |
| To display the current setting and what is collected, run |
| ffx config analytics show |
| |
| If you opt out of analytics, an opt-out event will be sent, and then no further information will be sent by the Fuchsia developer tools to Google. |
| |
| By using Fuchsia developer tools, you agree to the Google Terms of Service. |
| |
| Note: The Google Privacy Policy describes how data is handled in your use of this service. |
| |
| |
| See Google's privacy policy: https://policies.google.com/privacy`; |
| |
| export const MESSAGE_FIRST_RUN_OTHER_TOOL_DISABLED = `Welcome to Fuchsia for VS Code! |
| |
| |
| Analytics is currently disabled for Fuchsia developer tools, so no information will be sent to Google from these tools. |
| |
| If you would like to help improve the Fuchsia developer tools, other Fuchsia tools, and the Fuchsia SDK via allowing us to report feature usage statistics and basic crash reports to Google, you can run |
| ffx config analytics enable |
| |
| To display the current setting, a full list of tools sharing this setting, and what is collected, type |
| ffx config analytics show |
| |
| Thank you! |
| |
| |
| See Google's privacy policy: https://policies.google.com/privacy`; |
| |
| export const MESSAGE_FIRST_RUN_OTHER_TOOL_ENABLED_TELEMETRY_ON = `Welcome to Fuchsia for VS Code! |
| |
| |
| As part of the Fuchsia developer tools, this tool uses Google Analytics to report feature usage statistics and basic crash reports. Google may examine the collected data in aggregate to help improve the developer tools, other Fuchsia tools, and the Fuchsia SDK. |
| |
| To disable reporting from Fuchsia's command-line tools, run |
| ffx config analytics disable |
| |
| To display the current setting, a full list of tools sharing this setting, and what is collected, type |
| ffx config analytics show |
| |
| If you opt out of analytics, an opt-out event will be sent, and then no further information will be sent by the Fuchsia developer tools to Google. |
| |
| Thank you! |
| |
| |
| See Google's privacy policy: https://policies.google.com/privacy`; |
| |
| export const MESSAGE_FIRST_RUN_OTHER_TOOL_ENABLED_TELEMETRY_OFF = `Welcome to Fuchsia for VS Code! |
| |
| |
| As part of the Fuchsia developer tools, this tool uses Google Analytics to report feature usage statistics and basic crash reports. Google may examine the collected data in aggregate to help improve the developer tools, other Fuchsia tools, and the Fuchsia SDK. |
| |
| To disable reporting from Fuchsia's command-line tools, run |
| ffx config analytics disable |
| |
| To display the current setting, a full list of tools sharing this setting, and what is collected, type |
| ffx config analytics show |
| |
| If you opt out of analytics, an opt-out event will be sent, and then no further information will be sent by the Fuchsia developer tools to Google. |
| |
| Since your VS Code's telemetry setting is currently off, the Fuchsia for VS Code extension itself will not send analytics. |
| |
| Thank you! |
| |
| |
| See Google's privacy policy: https://policies.google.com/privacy`; |
| |
| export const MESSAGE_INTERNAL_TELEMETRY_ON = `Enable enhanced analytics to help us improve Fuchsia tools! |
| |
| You are identified as a Googler since your hostname ends with corp.google.com |
| or c.googlers.com. To better understand how Fuchsia tools are used, and help |
| improve these tools and your workflow, Google already has an option, as you |
| know, to collect basic, very redacted, analytics listed in |
| https://fuchsia.dev/fuchsia-src/contribute/governance/policy/analytics_collected_fuchsia_tools. |
| As a Googler, you can help us even more by opting in to enhanced analytics: |
| |
| ffx config analytics enable-enhanced |
| |
| You may need to first run "fx build" to get the latest ffx if the above |
| does not work. |
| |
| Enabling enhanced analytics may collect the following additional information, |
| in accordance with Google's employee privacy policy |
| (go/employee-privacy-policy): |
| |
| • Full command line arguments |
| • Product name (e.g. core, minimal, etc.) |
| • Board type (e.g. vim3, x64, etc.) |
| • Environment variables that affect behavior of the tools |
| • User/Host/Target environment (e.g. tool/system versions, connection type |
| such as Network/USB/Remote, etc.) |
| • Full stacktrace |
| • Logs |
| • Content of configuration files (e.g. args.gn) |
| |
| Before any data is sent, we will replace the value of $USER with the literal |
| string "$USER" and also redact $HOSTNAME in a similar way. |
| |
| To collect basic analytics only, enter |
| ffx config analytics enable |
| If you want to disable all analytics, enter |
| ffx config analytics disable |
| To display the current setting and what is collected, type |
| ffx config analytics show |
| |
| You will continue to receive this notice until you select an option. |
| |
| See Google's employee privacy policy: |
| go/employee-privacy-policy`; |
| |
| export const MESSAGE_INTERNAL_TELEMETRY_OFF = `Enable enhanced analytics to help us improve Fuchsia tools! |
| |
| You are identified as a Googler since your hostname ends with corp.google.com |
| or c.googlers.com. To better understand how Fuchsia tools are used, and help |
| improve these tools and your workflow, Google already has an option, as you |
| know, to collect basic, very redacted, analytics listed in |
| https://fuchsia.dev/fuchsia-src/contribute/governance/policy/analytics_collected_fuchsia_tools. |
| As a Googler, you can help us even more by opting in to enhanced analytics: |
| |
| ffx config analytics enable-enhanced |
| |
| You may need to first run "fx build" to get the latest ffx if the above |
| does not work. |
| |
| Enabling enhanced analytics may collect the following additional information, |
| in accordance with Google's employee privacy policy |
| (go/employee-privacy-policy): |
| |
| • Full command line arguments |
| • Product name (e.g. core, minimal, etc.) |
| • Board type (e.g. vim3, x64, etc.) |
| • Environment variables that affect behavior of the tools |
| • User/Host/Target environment (e.g. tool/system versions, connection type |
| such as Network/USB/Remote, etc.) |
| • Full stacktrace |
| • Logs |
| • Content of configuration files (e.g. args.gn) |
| |
| Before any data is sent, we will replace the value of $USER with the literal |
| string "$USER" and also redact $HOSTNAME in a similar way. |
| |
| To collect basic analytics only, enter |
| ffx config analytics enable |
| If you want to disable all analytics, enter |
| ffx config analytics disable |
| To display the current setting and what is collected, type |
| ffx config analytics show |
| |
| You will continue to receive this notice until you select an option. |
| |
| Note that since your VS Code's telemetry setting is currently off, the Fuchsia |
| for VS Code extension itself will not send analytics. |
| |
| See Google's employee privacy policy: |
| go/employee-privacy-policy`; |