Skip to content

Some missing icons and detected legacy code #9803

Open
@jlaungos

Description

@jlaungos

Expected Behavior

All of the icons would be loaded once the page is rendered, as shown by the 1st screenshot below.

Actual Behavior

Some of the icons have a "broken image" icons, as shown by the 2nd screenshot below.

Steps to Reproduce

I tried to embed the scratch GUI interface into my own website using the below code snippet after downloading scratch-gui through npm install https://github.com/scratchfoundation/scratch-gui.git

import React from 'react';
import GUI, { AppStateHOC } from 'scratch-gui';

const WrappedGUI = AppStateHOC(GUI);

function ScratchEmbed() {
    return (
        <WrappedGUI  
            locale="en"
            projectId={0}
            canEditTitle
            width="100%"
            height="100%" 
        />
    )
}

export default ScratchEmbed;

System Details

Windows operating system for all web browsers.

Screenshots
Scratch_3 0_editor

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions