-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The buttons will be now be contained in an array instead of having hard coded `accept` and `reject` texts at the top level Each button will also have the ability to link to a url specified within the object
- Loading branch information
1 parent
fd0d00a
commit d620e46
Showing
1 changed file
with
27 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,34 @@ | ||
[ | ||
{ | ||
"uniqueId": "test_channel", | ||
"url": "https://google.qualtrics.com/jfe/form/SV_5gsB2EuG5Et5Yy2", | ||
"uniqueId": "eca0100a-505b-4539-96d0-57235f816cef", | ||
"startDate": "2023-07-01T09:00:00-07:00", | ||
"endDate": "2023-07-30T09:00:00-07:00", | ||
"description": "Help improve Flutter's release builds with this 3-question survey!", | ||
"dismissForMinutes": "7200", | ||
"moreInfoURL": "https://docs.flutter.dev/reference/crash-reporting", | ||
"acceptButtonText": "Take Survey", | ||
"rejectButtonText": "Dismiss", | ||
"samplingRate": "0.1", | ||
"conditions": [ | ||
{ | ||
"field": "logFileStats.recordCount", | ||
"operator": ">=", | ||
"value": 1000 | ||
"description": "Help improve Flutter's release builds with this 3-question survey!", | ||
"dismissForMinutes": "7200", | ||
"samplingRate": "0.1", | ||
"conditions": [ | ||
{ | ||
"field": "logFileStats.recordCount", | ||
"operator": ">=", | ||
"value": 1000 | ||
} | ||
] | ||
], | ||
"buttons": [ | ||
{ | ||
"buttonText": "Take Survey", | ||
"action": "accepted", | ||
"url": "https://google.qualtrics.com/jfe/form/SV_5gsB2EuG5Et5Yy2" | ||
}, | ||
{ | ||
"buttonText": "Dismiss", | ||
"action": "dismissed", | ||
"url": null | ||
}, | ||
{ | ||
"buttonText": "More Info", | ||
"action": "snoozed", | ||
"url": "https://docs.flutter.dev/reference/crash-reporting" | ||
} | ||
] | ||
} | ||
] |