From 4cfef9c0ad7cd490e7dc3aa00c21bc67b818852b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20M=C3=BCller?= Date: Wed, 27 Oct 2021 06:59:28 +0200 Subject: [PATCH] Added info on "skip" key to tutorial. (#68) --- frontend/src/App/Record.js | 4 + frontend/src/App/Tutorial.js | 6 +- frontend/src/App/assets/S.svg | 133 ++++++++++++++++++++++++++++++++++ 3 files changed, 141 insertions(+), 2 deletions(-) create mode 100644 frontend/src/App/assets/S.svg diff --git a/frontend/src/App/Record.js b/frontend/src/App/Record.js index 1d6480b..98f52b1 100644 --- a/frontend/src/App/Record.js +++ b/frontend/src/App/Record.js @@ -10,6 +10,7 @@ import Wave from "./components/Wave"; import spacebarSVG from "./assets/space.svg"; import PSVG from "./assets/P.svg"; import rightSVG from "./assets/right.svg"; +import SSVG from "./assets/S.svg"; import { postAudio, getPrompt, getUser, createUser, getAudioLen } from "./api"; import { getUUID, getName } from "./api/localstorage"; @@ -355,6 +356,9 @@ class TopContainer extends Component { -> will go to next prompt +
  • + -> skip current prompt +
  • diff --git a/frontend/src/App/Tutorial.js b/frontend/src/App/Tutorial.js index 33dadd6..90e9c12 100644 --- a/frontend/src/App/Tutorial.js +++ b/frontend/src/App/Tutorial.js @@ -4,6 +4,7 @@ import { ReactMic as Visualizer } from "react-mic"; import spacebarSVG from "./assets/space.svg"; import PSVG from "./assets/P.svg"; import rightSVG from "./assets/right.svg"; +import SSVG from "./assets/S.svg"; class Tutorial extends Component { render() { @@ -42,8 +43,9 @@ class Tutorial extends Component { that same phrase as many times as you like. It is essential that the recorded words match the text in the script exactly. If you accidentally deviate from the script or are unsure, please record - the prompt again. Once saved you may not be able to go back. Press - the   + the prompt again. Once saved you may not be able to go back. To skip a prompt + press s and the next prompt will + be shown. Press the   ->  key to keep the recording and move on to the next phrase.

    diff --git a/frontend/src/App/assets/S.svg b/frontend/src/App/assets/S.svg new file mode 100644 index 0000000..e1620b5 --- /dev/null +++ b/frontend/src/App/assets/S.svg @@ -0,0 +1,133 @@ + + + + + + + + + + P + Created with Sketch. + + + + + + P + + + + + + + P + + + + + + S +