Add telemetry consent setting

This commit is contained in:
Damien Guard
2016-08-01 16:03:33 -07:00
parent 475ad6b4e6
commit 369bd12faa

View File

@@ -112,7 +112,16 @@ module.exports =
description: 'Allow items to be previewed without adding them to a pane permanently, such as when single clicking files in the tree view.'
type: 'boolean'
default: true
telemetryConsent:
description: 'Allow usage statistics and exception reports to be sent to the Atom team to help improve the product.'
title: 'Send Telemetry to the Atom Team'
type: 'string'
default: 'undecided'
enum: [
{value: 'limited', description: 'Allow limited anonymous usage stats, exception and crash reporting'}
{value: 'no', description: 'Do not send any telemetry data'}
{value: 'undecided', description: 'Undecided (Atom will ask again next time it is launched)'}
]
editor:
type: 'object'
properties: