Skip to content

Commit 4fe6349

Browse files
authored
Merge pull request #2559 from lindapaiste/chore/legacy-mobile
Delete legacy mobile UI - Fixes #2557
2 parents 7907672 + 543feeb commit 4fe6349

26 files changed

+14
-1506
lines changed

.env.example

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ MAILGUN_KEY=<your-mailgun-api-key>
1919
ML5_LIBRARY_USERNAME=ml5
2020
ML5_LIBRARY_EMAIL=[email protected]
2121
ML5_LIBRARY_PASS=helloml5
22-
MOBILE_ENABLED=true
2322
MONGO_URL=mongodb://localhost:27017/p5js-web-editor
2423
PORT=8000
2524
PREVIEW_PORT=8002

client/components/mobile/IconButton.jsx renamed to client/common/IconButton.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React from 'react';
22
import PropTypes from 'prop-types';
33
import styled from 'styled-components';
4-
import Button from '../../common/Button';
5-
import { remSize } from '../../theme';
4+
import Button from './Button';
5+
import { remSize } from '../theme';
66

77
const ButtonWrapper = styled(Button)`
88
width: ${remSize(48)};

client/components/Dropdown.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import PropTypes from 'prop-types';
33
import styled from 'styled-components';
44
import { remSize, prop } from '../theme';
5-
import IconButton from './mobile/IconButton';
5+
import IconButton from '../common/IconButton';
66

77
const DropdownWrapper = styled.ul`
88
background-color: ${prop('Modal.background')};

client/components/mobile/ActionStrip.jsx

-56
This file was deleted.

client/components/mobile/Explorer.jsx

-30
This file was deleted.

client/components/mobile/FloatingNav.jsx

-44
This file was deleted.

client/components/mobile/Footer.jsx

-17
This file was deleted.

client/components/mobile/Header.jsx

-121
This file was deleted.

client/components/mobile/IDEWrapper.jsx

-12
This file was deleted.

client/components/mobile/MobileScreen.jsx

-45
This file was deleted.

0 commit comments

Comments
 (0)