1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54
   55
   56
   57
   58
   59
   60
   61
   62
   63
   64
   65
   66
   67
   68
   69
   70
   71
   72
   73
   74
   75
   76
   77
   78
   79
   80
   81
   82
   83
   84
   85
   86
   87
   88
   89
   90
   91
   92
   93
   94
   95
   96
   97
   98
   99
  100
  101
  102
  103
  104
  105
  106
  107
  108
  109
  110
  111
  112
  113
  114
  115
  116
  117
  118
  119
  120
  121
  122
  123
  124
  125
  126
  127
  128
  129
  130
  131
  132
  133
  134
  135
  136
  137
  138
  139
  140
  141
  142
  143
  144
  145
  146
  147
  148
  149
  150
  151
  152
  153
  154
  155
  156
  157
  158
  159
  160
  161
  162
  163
  164
  165
  166

ash / webui / os_feedback_ui / resources / questionnaire.ts [blame]

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

export const questionnaireBegin = '(Google Internal) To help us diagnose and ' +
    'fix the issue, please answer the following questions:';

const questionGeneralTimestamp =
    '[General] When did this happen? Please mention the exact time ' +
    '(for example: 2:45pm). ';

const questionGeneralCurrentProblem =
    '[General] Are you experiencing this problem now? ';

const questionGeneralRegression =
    '[General] Do you know if this issue is a regression? ' +
    'If so, in which Chrome OS version did this issue start appearing? ';

const questionGeneralReproducibility =
    '[General] Does this always happen during a particular activity? ' +
    'Does it happen randomly? If so, how often? ' +
    'Please describe the steps to reproduce this problem. ';

const questionBluetoothPeripheral =
    '[Bluetooth] What is the brand and model of your Bluetooth peripheral ' +
    '(such as headset or mouse) you had an issue with? ';

const questionBluetoothOtherDevices = '[Bluetooth] Do other computer devices ' +
    '(such as non-Chrome OS devices or other Chromebooks) ' +
    'work well with this Bluetooth peripheral (such as headset or mouse)? ';

const questionWifiTypeOfIssue = '[WiFi] What kind of issue is this? ' +
    'Please select one or more from the below: \n' +
    '   * Failure to connect to Wi-Fi \n' +
    '   * Internet connectivity \n' +
    '   * Intermittently disconnects \n' +
    '   * Constantly slow Wi-Fi \n' +
    '   * Intermittently slow Wi-Fi';

const questionWifiConnectedButNotInternet =
    '[WiFi] Does your computer show that Wi-Fi is connected? ' +
    'If so, is your internet still not working? ';

const questionWifiNetworkWorkingBefore =
    '[WiFi] Has this device been able to connect ' +
    'to this Wi-Fi network before? ';

const questionWifiOtherDevices = '[WiFi] Do other computer devices ' +
    '(such as non-Chrome OS devices or other Chromebooks) ' +
    'have the same issue using the same Wi-Fi network? ' +
    'If so, please specify the kind of device. ';

const questionCellularSim = '[Cellular] Who is your SIM card carrier? ' +
    'For example: Verizon, T-Mobile, AT&T. ';

const questionCellularLastSuccess =
    '[Cellular] Have you been able to use this SIM card previously ' +
    'on this Chrome OS device? ';

const questionCellularRoaming =
    '[Cellular] Are you currently roaming internationally?';

const questionCellularAPN =
    '[Cellular] Did you manually configure the Access Point Name (APN)?';

const questionDisplayConnectionConnected =
    '[Display] How many external displays are connected to your device? ';

const questionDisplayConnectionNumberConnected =
    '[Display] What make/model are any connected external displays? ';

const questionDisplayConnectionCableType =
    '[Display] What cable (DisplayPort/HDMI) are connected displays using? ';

const questionDisplayConnectionDock =
    '[Display] Are your displays connected via dock? If so, what make/model? ';

const questionDisplayProblemScope =
    '[Display] If you have multiple displays connected, is the problem ' +
    'affecting all displays? ';

const questionDisplayProblem =
    '[Display] What kind of issue is this? Please select one from below:\n' +
    '   * Entire screen is consistently black/off \n' +
    '   * Entire screen is intermittently black/off \n' +
    '   * Part of screen is consistently black/off \n' +
    '   * Part of screen is intermittently black/off \n' +
    '   * Picture on screen is corrupted \n';

const questionUSBDevice = '[USB] What is the make/model of the affected USB ' +
    'device?';

const questionUSBCable = '[USB] Tell us about your cable. What kind of plug ' +
    'does it have at each end (USB-A, USB-C, Micro USB, etc.). Does it have ' +
    'any logos or labeling?';

const questionUSBTopology = '[USB] How is the device connected to your ' +
    'Chromebook? Which port is the device connected to? Is it directly ' +
    'connected to your Chromebook, or connected through hubs? If it is ' +
    'connected through hubs, please tell us their make and model.';

const questionThunderboltDevice = '[Thunderbolt] What is the make/model of ' +
    'the affected Thunderbolt device?';

const questionThunderboltCable = '[Thunderbolt] Tell us about your cable. Is ' +
    'it labeled as a Thunderbolt cable? If not, what kind of plug does it ' +
    'have at each end (USB-A, USB-C, Micro USB, etc.). Does it have any ' +
    'other logos or labeling?';

const questionThunderboltDisplays = '[Thunderbolt] If you are having trouble ' +
    'connecting external displays to your Chromebook with a Thunderbolt ' +
    'dock, what are the make and model of the displays? Which ports on the ' +
    'dock are they connected to?';

export const domainQuestions = {
  'bluetooth': [
    questionGeneralTimestamp,
    questionGeneralRegression,
    questionGeneralReproducibility,
    questionBluetoothPeripheral,
    questionBluetoothOtherDevices,
  ],
  'wifi': [
    questionGeneralTimestamp,
    questionWifiTypeOfIssue,
    questionWifiConnectedButNotInternet,
    questionWifiNetworkWorkingBefore,
    questionWifiOtherDevices,
  ],
  'cellular': [
    questionCellularSim,
    questionCellularLastSuccess,
    questionCellularRoaming,
    questionCellularAPN,
  ],
  'display': [
    questionGeneralTimestamp,
    questionGeneralCurrentProblem,
    questionGeneralRegression,
    questionGeneralReproducibility,
    questionDisplayConnectionConnected,
    questionDisplayConnectionNumberConnected,
    questionDisplayConnectionCableType,
    questionDisplayConnectionDock,
    questionDisplayProblemScope,
    questionDisplayProblem,
  ],
  'usb': [
    questionGeneralTimestamp,
    questionGeneralCurrentProblem,
    questionGeneralRegression,
    questionGeneralReproducibility,
    questionUSBDevice,
    questionUSBCable,
    questionUSBTopology,
  ],
  'thunderbolt': [
    questionGeneralTimestamp,
    questionGeneralCurrentProblem,
    questionGeneralRegression,
    questionGeneralReproducibility,
    questionThunderboltDevice,
    questionThunderboltCable,
    questionThunderboltDisplays,
  ],
};