From 8e137d0b6891a577d01c2df94259d093be16e765 Mon Sep 17 00:00:00 2001 From: ghalestrilo Date: Wed, 15 Jul 2020 17:44:47 -0300 Subject: [PATCH] :construction: Add Console to Preview Screen --- client/modules/Mobile/MobileSketchView.jsx | 25 ++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/client/modules/Mobile/MobileSketchView.jsx b/client/modules/Mobile/MobileSketchView.jsx index 64eabb5e..9ba811cc 100644 --- a/client/modules/Mobile/MobileSketchView.jsx +++ b/client/modules/Mobile/MobileSketchView.jsx @@ -7,6 +7,7 @@ import Header from '../../components/mobile/Header'; import IconButton from '../../components/mobile/IconButton'; import PreviewFrame from '../IDE/components/PreviewFrame'; import Screen from '../../components/mobile/MobileScreen'; +import Console from '../IDE/components/Console'; import * as ProjectActions from '../IDE/actions/project'; import * as IDEActions from '../IDE/actions/ide'; import * as PreferencesActions from '../IDE/actions/preferences'; @@ -18,6 +19,7 @@ import { getHTMLFile } from '../IDE/reducers/files'; import { ExitIcon } from '../../common/icons'; import { remSize } from '../../theme'; +import Footer from '../../components/mobile/Footer'; const Content = styled.div` @@ -39,13 +41,16 @@ const MobileSketchView = (props) => { // Actions const { setTextOutput, setGridOutput, setSoundOutput, - endSketchRefresh, stopSketch, + endSketchRefresh, stopSketch, console, dispatchConsoleEvent, expandConsole, clearConsole, setBlobUrl, } = props; const { preferences, ide } = props; + // FIXME: + const collapseConsole = () => {}; + return (
{ clearConsole={clearConsole} /> +