Skip to content

Commit 769283e

Browse files
authored
Merge pull request #224 from /issues/220
Issues/220
2 parents ee2ef2f + 77135bd commit 769283e

File tree

4 files changed

+0
-71
lines changed

4 files changed

+0
-71
lines changed

src/components/menu-bar/menu-bar.jsx

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import AuthorInfo from './author-info.jsx';
2626
import AccountNav from '../../containers/account-nav.jsx';
2727
import LoginDropdown from './login-dropdown.jsx';
2828
import SB3Downloader from '../../containers/sb3-downloader.jsx';
29-
import RubyDownloader from '../../containers/ruby-downloader.jsx';
3029
import DeletionRestorer from '../../containers/deletion-restorer.jsx';
3130
import TurboMode from '../../containers/turbo-mode.jsx';
3231
import MenuBarHOC from '../../containers/menu-bar-hoc.jsx';
@@ -446,20 +445,6 @@ class MenuBar extends React.Component {
446445
</MenuItem>
447446
)}</SB3Downloader>
448447
</MenuSection>
449-
<MenuSection>
450-
<RubyDownloader>{(className, downloadProjectCallback) => (
451-
<MenuItem
452-
className={className}
453-
onClick={this.getSaveToComputerHandler(downloadProjectCallback)}
454-
>
455-
<FormattedMessage
456-
defaultMessage="Save Ruby to your computer"
457-
description="Menu bar item for downloading Ruby code to your computer" // eslint-disable-line max-len
458-
id="gui.smalruby3.menuBar.downloadRubyCodeToComputer"
459-
/>
460-
</MenuItem>
461-
)}</RubyDownloader>
462-
</MenuSection>
463448
</MenuBarMenu>
464449
</div>
465450
)}

src/playground/render-gui.jsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ export default appTarget => {
3939
HashParserHOC
4040
)(GUI);
4141

42-
// TODO a hack for testing the backpack, allow backpack host to be set by url param
43-
const backpackHostMatches = window.location.href.match(/[?&]backpack_host=([^&]*)&?/);
44-
const backpackHost = backpackHostMatches ? backpackHostMatches[1] : null;
45-
4642
const scratchDesktopMatches = window.location.href.match(/[?&]isScratchDesktop=([^&]+)/);
4743
let simulateScratchDesktop;
4844
if (scratchDesktopMatches) {
@@ -75,9 +71,6 @@ export default appTarget => {
7571
/> :
7672
<WrappedGui
7773
canEditTitle
78-
backpackVisible
79-
showComingSoon
80-
backpackHost={backpackHost}
8174
canSave={false}
8275
onClickLogo={onClickLogo}
8376
/>,

test/integration/backpack.test.js

Lines changed: 0 additions & 44 deletions
This file was deleted.

test/integration/menu-bar.test.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,6 @@ describe('Menu bar settings', () => {
5252
await findByXpath('//*[li[span[text()="Save to your computer"]] and not(@data-tip="tooltip")]');
5353
});
5454

55-
test('Share button should NOT be enabled', async () => {
56-
await loadUri(uri);
57-
await findByXpath('//div[span[div[span[text()="Share"]]] and @data-tip="tooltip"]');
58-
});
59-
6055
test('Logo should be clickable', async () => {
6156
await loadUri(uri);
6257
await clickXpath('//img[@alt="Smalruby"]');

0 commit comments

Comments
 (0)