Giter Site home page Giter Site logo

varemenos / codemagic Goto Github PK

View Code? Open in Web Editor NEW
102.0 102.0 29.0 13.11 MB

Codemagic.gr is a powerful online code editor for web development

Home Page: http://codemagic.gr

License: MIT License

JavaScript 97.01% CSS 1.84% ApacheConf 0.54% HTML 0.62%
code-editor playground

codemagic's People

Contributors

varemenos 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codemagic's Issues

Problem loading Codemagic during first visit or with empty/disabled cache

I have tested on Firefox, Safari and Chrome that:

http//codemagic.gr

doesn't load correctly when accessed for the first time (with empty/disabled cache).

It is always reproducible on my iMac, just disable the cache in your browser and reload it.

Initially, at load time, some part of the UI is visible while the editors are not visible until subsequent page reloads.

The problem is related to differences in how the page is handled during the first visit and successive reloads from the cache.

So the problem will show itself during the first visit to the page (was my case) and after clearing the cache, or if the user have completely disabled the cache.

It seems related to the RequireJS loader miserably failing to load the "libs/jsuri" file.

The error I get in the console of all the mentioned browsers is:

Uncaught Error: Mismatched anonymous define() module: function (require) {
    require(["libs/jsuri"], function(){
       ... all the source code
    }
    http://requirejs.org/docs/errors.html#mismatch

so the error seems clear enough to me.

Differences in network speed/latency may create these problems in poorly designed/tested loaders. Hope you can fix it, also not the easiest thing.

Diego

Help the user understand what's the "execute" button

It seems to me that most of the users who use codeMagic for the first time don't realize that after they insert their code in the proper panels, they have to press the execute button and therefore think that codeMagic is broken (or useless).

Beta

This is the phase which will be reached once the back-end is ready

Use grunt.js

Create minifying, building, preprocessing tasks with grunt.js

Port to backbone.js

Porting the application to backbone.js will help fix quite a lot of bugs, requested features and the start of the implementation of the backend.

Google+ sign in

Use the google plus API to allow users to sign in via Google+

Support SCSS and SASS

Unfortunately I can't find a library that will help me support this feature.
Hopefully soon, something will show up

new updates notification

When a new update, there should be a one-time-display notification that will mention the changes and new features to let the user know.

escape HTML strings from printing in the console

Use an implementation of the code below to fix this issue:

var entityMap = {
    "&": "&",
    "<": "&lt;",
    ">": "&gt;",
    '"': '&quot;',
    "'": '&#39;',
    "/": '&#x2F;'
};

function escapeHtml(string) {
    return String(string).replace(/[&<>"'\/]/g, function (s) {
        return entityMap[s];
    });
}

div = "<div style='background-color: red; width: 50px; height: 50px;'></div>";

console.log(div);
console.log(escapeHtml(div));

source

use requireJS

use require.js to asynchronously load the required libraries (like markdown.js and less.js)

Position the popups properly

Pop-ups (like the settings and credit ones) need to be positioned properly in the center of the page either via CSS or JS.

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.