Git Product home page Git Product logo

codeboot's People

Contributors

316k avatar dufour avatar feeley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

codeboot's Issues

Add code editors, an internal "file system" and a drop down list to select an internal "file" to edit.

A code editor should have a heading containing the name of the file, an "x" button to close the editor, and a "load" button to load the whole file and execute it.

For consistency, the REPL should have a heading (for the clear button, and maybe the cancel/play/step buttons).

At startup, no file editor should appear. Only the REPL should be visible. By using a menu in the navigation bar, an existing file can be selected for editing or deletion, or a new file can be created.

The editors and REPL should be laid out vertically, with the REPL always on the bottom (i.e. editors between the navigation bar and REPL. It should be possible to drag the editors to change their order.

The internal files should be saved to the web storage of the browser.

Step counter should not disappear when the execution is done

One possibility would be to display the step counter in the REPL itself, instead of the blank line. When execution is done the step counter would be added to the transcript.

For the novice user, the step counter may be confusing. So by default, the step counter should not be visible. One possibility is to only activate the step counter when the user does single steps the code (the play-pause button, or the play-animate button). When the play-infinite button is pressed there would be no step counter.

The dropdown menu of the play-animate button behaves strangely

When it is clicked (for a few seconds), and then dragged, the items in the list are not highlighted. The mouse click must be ended for the highlighting to appear, and the the menu item has to be clicked. This is strange.

Also, the time before the animation menu appears is too long. It is about 1 second but should be about 1/3 to 1/2 second (which is less than a normal single click).

Also, on Chrome, a filename appears at the bottom of the window when the mouse is hovering the menu.

The JS interpreter should have a "load(filename)" builtin function to load the given internal file name

The file editing windows should have a "load" button which pastes to the REPL a "load(filename)" command and executes it. That way, the transcript will have a record of which files where loaded and at what point in the interaction.

For consistency, the load button should come in various flavours (load-pause, load-infinite, load animate). So perhaps the "load" button should have the same icon as the play button.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.