From 3f81b13a2841a251be3c499686c3b35fc81a10b5 Mon Sep 17 00:00:00 2001 From: Shashwat Date: Fri, 10 Sep 2021 13:11:09 +0000 Subject: [PATCH] Add box for drag and drop files on winscope Test: Please see home screen with dashed drag and drop section on Open Files section. Bug: 199517977 Change-Id: Ida5c8979e1e98a5be6ead0af4d0da63c65df2d87 --- tools/winscope/src/DataInput.vue | 95 ++++++++++++++++++++++---------- 1 file changed, 66 insertions(+), 29 deletions(-) diff --git a/tools/winscope/src/DataInput.vue b/tools/winscope/src/DataInput.vue index 6bd7e354f..a907abe12 100644 --- a/tools/winscope/src/DataInput.vue +++ b/tools/winscope/src/DataInput.vue @@ -19,25 +19,43 @@
Open files
- - - {{FILE_ICONS[file.type]}} - {{file.filename}} ({{file.type}}) - - - close - - - - +
+ + + {{FILE_ICONS[file.type]}} + {{file.filename}} ({{file.type}}) + + + close + + + + + +

+ Drag your .winscope or .zip file(s) here to begin +

+
+
@@ -53,13 +71,6 @@
- \ No newline at end of file + + \ No newline at end of file