From c12b72ac707b30c3bc1b6804fba2635084147cc7 Mon Sep 17 00:00:00 2001 From: Pablo Gamito Date: Tue, 23 May 2023 14:48:02 +0000 Subject: [PATCH] Add status to transition rows Bug: 277181336 Test: npm run test:all Change-Id: I7eb981367191a47d3b50b31ee68492844936923a --- .../viewer_transitions_component.ts | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/tools/winscope/src/viewers/viewer_transitions/viewer_transitions_component.ts b/tools/winscope/src/viewers/viewer_transitions/viewer_transitions_component.ts index 4ce4e3200..f214bfc07 100644 --- a/tools/winscope/src/viewers/viewer_transitions/viewer_transitions_component.ts +++ b/tools/winscope/src/viewers/viewer_transitions/viewer_transitions_component.ts @@ -33,6 +33,7 @@ import {UiData} from './ui_data';
Type
Send Time
Duration
+
Status
n/a
+
+
+ MERGED + + +
+ +
+ ABORTED + +
+ +
+ PLAYED + +
+
@@ -192,6 +222,21 @@ import {UiData} from './ui_data'; flex: 3; } + .table-row .status { + flex: 2; + } + + .status > div { + display: flex; + justify-content: center; + align-items: center; + gap: 5px; + } + + .current .status mat-icon { + color: white !important; + } + .transition-timeline .row svg rect { cursor: pointer; }