Skip to content

Commit 88dec71

Browse files
Fix survey metadata URL in documentation. (#7964)
* Fix survey metadata URL in documentation. * formatting
1 parent bebfe49 commit 88dec71

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

packages/devtools_app/lib/src/shared/development_helpers.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,12 @@ abstract class StubDevToolsExtensions {
210210
///
211211
/// When this flag is true, [debugSurveyMetadata] will be used instead of what
212212
/// we normally fetch from
213-
/// 'docs.flutter.dev/f/dart-devtools-survey-metadata.json'.
213+
/// 'https://storage.googleapis.com/flutter-uxr/surveys/devtools-survey-metadata.json'.
214214
bool debugSurvey = false;
215215

216216
/// The survey metadata that will be used instead of the live data from
217-
/// 'docs.flutter.dev/f/dart-devtools-survey-metadata.json' when [debugSurvey]
218-
/// is true;
217+
/// 'https://storage.googleapis.com/flutter-uxr/surveys/devtools-survey-metadata.json'
218+
/// when [debugSurvey] is true.
219219
final debugSurveyMetadata = DevToolsSurvey.fromJson(
220220
{
221221
'_comments': [

packages/devtools_app/lib/src/shared/survey.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ class SurveyService {
2727

2828
static const _maxShowSurveyCount = 5;
2929

30+
/// The URL that we will fetch the DevTools survey metadata from.
31+
///
32+
/// To run new surveys, update the content at
33+
/// https://github.com/flutter/uxr/blob/master/surveys/devtools-survey-metadata.json.
34+
///
35+
/// This content will be propagated to the storage.googleapis.com domain
36+
/// automatically.
3037
static final _metadataUrl = Uri.https(
3138
'storage.googleapis.com',
3239
'flutter-uxr/surveys/devtools-survey-metadata.json',

0 commit comments

Comments
 (0)