From efef5fa44a4fb52851477518a0103a7fa5c2bb26 Mon Sep 17 00:00:00 2001 From: dumbmachine Date: Sat, 11 Jul 2020 22:03:58 +0530 Subject: [PATCH 1/2] added filename dashboard --- frontend/src/pages/annotate.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/pages/annotate.js b/frontend/src/pages/annotate.js index f529fcb..7bd7e34 100644 --- a/frontend/src/pages/annotate.js +++ b/frontend/src/pages/annotate.js @@ -353,6 +353,7 @@ class Annotate extends React.Component { isPlaying, labels, isDataLoading, + filename, isMarkedForReview, referenceTranscription, selectedSegment, @@ -390,6 +391,9 @@ class Annotate extends React.Component { {!isDataLoading ? (
+
+ {filename} +
Date: Sat, 12 Sep 2020 18:55:57 +0530 Subject: [PATCH 2/2] showing original_filename on the top --- frontend/src/pages/annotate.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/annotate.js b/frontend/src/pages/annotate.js index e0fc0ee..fa61258 100644 --- a/frontend/src/pages/annotate.js +++ b/frontend/src/pages/annotate.js @@ -107,6 +107,7 @@ class Annotate extends React.Component { reference_transcription, is_marked_for_review, segmentations, + original_filename, filename, } = response[1].data; @@ -126,6 +127,7 @@ class Annotate extends React.Component { isDataLoading: false, referenceTranscription: reference_transcription, isMarkedForReview: is_marked_for_review, + original_filename, filename, }); @@ -353,7 +355,7 @@ class Annotate extends React.Component { isPlaying, labels, isDataLoading, - filename, + original_filename, isMarkedForReview, referenceTranscription, selectedSegment, @@ -368,6 +370,11 @@ class Annotate extends React.Component { Annotate
+ {!isDataLoading ? ( +
+ {original_filename} +
+ ) : null}
{errorMessage ? ( {!isDataLoading ? (
-
- {filename} -