summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Gaillard <jgaillard@google.com>2023-10-23 13:54:21 +0100
committerJerome Gaillard <jgaillard@google.com>2023-10-23 13:54:21 +0100
commit1aab1a3853bb0c2c1100906f984f857b7cd25f1c (patch)
treef3f98a747e01b80801eda2473982d538d4c91487
parent1862da731355e9bd6a04326436f9fcb159d872ed (diff)
downloadanalytics-library-1aab1a3853bb0c2c1100906f984f857b7cd25f1c.tar.gz
Update studio_stats.proto
Logs-Approval: cl/575781231 Bug: 300646581 Test: existing Change-Id: I0d6c1c3962f53a51da15c67108723a5ed5854469
-rw-r--r--protos/src/main/proto/studio_stats.proto15
1 files changed, 15 insertions, 0 deletions
diff --git a/protos/src/main/proto/studio_stats.proto b/protos/src/main/proto/studio_stats.proto
index 8e078cb..d5edbcc 100644
--- a/protos/src/main/proto/studio_stats.proto
+++ b/protos/src/main/proto/studio_stats.proto
@@ -5657,10 +5657,23 @@ message VisualLintEvent {
CANCEL_BACKGROUND_ANALYSIS = 9;
}
+ // Possible origins for visual lint event
+ enum EventOrigin {
+ UNKNOWN_ORIGIN = 0;
+ XML_LINTING = 1;
+ UI_CHECK = 2;
+ }
+
// The type of the visual lint issue affected by this event
optional IssueType issue_type = 1;
// The kind of event affecting the issue
optional IssueEvent issue_event = 2;
+ // The origin that triggered the visual lint event
+ optional EventOrigin event_origin = 3;
+ // The time it took for UI Check mode to start in ms
+ optional int64 ui_check_start_time_ms = 4;
+ // The number of visible previews in UI Check
+ optional int32 visible_previews_number = 5;
}
message UniversalProblemsPanelEvent {
@@ -5685,6 +5698,8 @@ message UniversalProblemsPanelEvent {
PROJECT_ERRORS = 2;
// This is the shared issue panel, used by compose, layout editor, etc.
DESIGN_TOOLS = 3;
+ // UI Check mode tab
+ UI_CHECK = 4;
}
// Event of triggering navigatable of an issue. This is usually done by double