-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding new issue templates * Fixing yaml issue * Fixing indent * Fixing links * Fixing path * Apply suggestions from code review Co-authored-by: Elias Yishak <[email protected]> * Update pkgs/unified_analytics/USAGE_GUIDE.md Co-authored-by: Elias Yishak <[email protected]> --------- Co-authored-by: Elias Yishak <[email protected]>
- Loading branch information
1 parent
5daf7bc
commit 01c0b52
Showing
3 changed files
with
114 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: "[package:unified_analytics] Request a new event" | ||
description: "Create a request for collecting a new event or new event data." | ||
labels: "package:unified_analytics" | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
An event is an action that a user, or the tool, performs. | ||
You can see the events that are being collected [here](../../pkgs/unified_analytics/lib/src/enums.dart) | ||
and the data associated with those events [here](../../pkgs/unified_analytics/lib/src/event.dart). | ||
- type: checkboxes | ||
attributes: | ||
label: Has this already been approved in the privacy design documentation? | ||
options: | ||
- label: This field is already covered in the PDD | ||
description: | | ||
You can request that a new event be added to the package | ||
regardless of whether it's included in the privacy design documentation. | ||
However, the privacy team will need to approve before it is added. | ||
- type: textarea | ||
attributes: | ||
label: Event name | ||
description: | | ||
If the event already exists, please tell us the name of the event | ||
you would like to add data to. | ||
If this is a new event, tell us the name, description, and tool owner. | ||
Possible tool owners can be found in the `DashTool` enum [here](../../pkgs/unified_analytics/lib/src/enums.dart). | ||
For example, pub_get represents pub package resolution details. The owner is the Dart tool. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Event data | ||
description: | | ||
Event data are key-value pairs that are associated with an event. | ||
Please list the different event data associated with this event. | ||
You should also include a description of the event data values. | ||
For example, if the event is pub_get, one event data may be | ||
the packageName. The values would be the name of the package | ||
as a string. | ||
validations: | ||
required: true |
37 changes: 37 additions & 0 deletions
37
.github/ISSUE_TEMPLATE/unified_analytics_user_property.yml
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: "[package:unified_analytics] Request a new user property" | ||
description: "Create a request for collecting a new user property." | ||
labels: "package:unified_analytics" | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
A user property is a key-value pair that is used to segment users. | ||
For example, the Flutter channel that the user is on. You can see | ||
which user properties are being collected | ||
[here](../../pkgs/unified_analytics/lib/src/user_property.dart). | ||
- type: checkboxes | ||
attributes: | ||
label: Has this already been approved in the privacy design documentation? | ||
options: | ||
- label: This field is already covered in the PDD | ||
description: | | ||
You can request that a new user property be added to the package | ||
regardless of whether it's included in the privacy design documentation. | ||
However, the privacy team will need to approve before it is added. | ||
- type: textarea | ||
attributes: | ||
label: User property name | ||
description: | | ||
Please tell us the name of the user property you would like to add (e.g. flutter_channel). | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: User property values | ||
description: | | ||
Please list or describe the unique values for this property (e.g. master, beta, stable). | ||
validations: | ||
required: true |
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