From 5a87668fac35a22345ed7bbc4da5e7d4cacd6fe7 Mon Sep 17 00:00:00 2001 From: cv <34649812+cpvalente@users.noreply.github.com> Date: Mon, 25 Oct 2021 22:19:02 +0200 Subject: [PATCH] fix: stu test fixes - QR code url was hardcoded - fix language in add menus - changed release symbol - changed order of release and reload --- client/src/common/components/buttons/UnloadIconBtn.jsx | 4 ++-- client/src/features/control/PlaybackButtons.jsx | 2 +- client/src/features/editors/list/ActionButtons.jsx | 6 +++--- client/src/features/menu/MenuActionButtons.jsx | 6 +++--- client/src/features/viewers/backstage/StageManager.jsx | 2 +- client/src/features/viewers/foh/Public.jsx | 2 +- client/src/features/viewers/production/Pip.jsx | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/client/src/common/components/buttons/UnloadIconBtn.jsx b/client/src/common/components/buttons/UnloadIconBtn.jsx index 631f4b9e8..e27d5a29d 100644 --- a/client/src/common/components/buttons/UnloadIconBtn.jsx +++ b/client/src/common/components/buttons/UnloadIconBtn.jsx @@ -1,11 +1,11 @@ import { IconButton } from '@chakra-ui/button'; -import { FiCornerLeftUp } from 'react-icons/fi'; +import { FiXOctagon } from 'react-icons/fi'; export default function UnloadIconBtn(props) { const { clickhandler, ...rest } = props; return ( } + icon={} colorScheme='whiteAlpha' backgroundColor='#ffffff05' variant='outline' diff --git a/client/src/features/control/PlaybackButtons.jsx b/client/src/features/control/PlaybackButtons.jsx index 8958bba51..5e74204d8 100644 --- a/client/src/features/control/PlaybackButtons.jsx +++ b/client/src/features/control/PlaybackButtons.jsx @@ -41,11 +41,11 @@ const Transport = ({ selectedId, playbackControl }) => {
playbackControl('previous')} /> playbackControl('next')} /> - playbackControl('unload')} /> playbackControl('reload')} disabled={!selectedId} /> + playbackControl('unload')} />
); }; diff --git a/client/src/features/editors/list/ActionButtons.jsx b/client/src/features/editors/list/ActionButtons.jsx index f571be840..6035a00ec 100644 --- a/client/src/features/editors/list/ActionButtons.jsx +++ b/client/src/features/editors/list/ActionButtons.jsx @@ -28,7 +28,7 @@ export default function ActionButtons(props) { onClick={() => actionHandler('event')} isDisabled={!showAdd} > - Event next + Add Event after actionHandler('delay')} isDisabled={!showDelay} > - Delay next + Add Delay after } onClick={() => actionHandler('block')} isDisabled={!showBlock} > - Block next + Add Block after diff --git a/client/src/features/menu/MenuActionButtons.jsx b/client/src/features/menu/MenuActionButtons.jsx index 5df8ecb95..25a34304f 100644 --- a/client/src/features/menu/MenuActionButtons.jsx +++ b/client/src/features/menu/MenuActionButtons.jsx @@ -24,16 +24,16 @@ export default function MenuActionButtons(props) { /> } onClick={() => actionHandler('event')}> - Event first + Add Event first } onClick={() => actionHandler('delay')}> - Delay first + Add Delay first } onClick={() => actionHandler('block')} > - Block first + Add Block first {general.url != null && general.url !== '' && ( diff --git a/client/src/features/viewers/foh/Public.jsx b/client/src/features/viewers/foh/Public.jsx index f0ee2fb82..126e67918 100644 --- a/client/src/features/viewers/foh/Public.jsx +++ b/client/src/features/viewers/foh/Public.jsx @@ -109,7 +109,7 @@ export default function Public(props) {
{general.url != null && general.url !== '' && ( diff --git a/client/src/features/viewers/production/Pip.jsx b/client/src/features/viewers/production/Pip.jsx index b793d6e2b..b0b5492f8 100644 --- a/client/src/features/viewers/production/Pip.jsx +++ b/client/src/features/viewers/production/Pip.jsx @@ -87,7 +87,7 @@ export default function Pip(props) {
{general.url != null && general.url !== '' && (