Coder Social home page Coder Social logo

playground.sass.js's People

Contributors

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

playground.sass.js's Issues

redesign

We should really work on the header.
We could pack some useful details in there about the project and possibly make it way more attractive in the process. Thoughts?

should we consider making a SASS.js logo?

Update

subtasks:

  • redesign the header, the options and filesystem panel
  • make the editors takes as much space as their parents can provide
  • make the CSS editor (the output) read only
  • custom error highlighting for stdin
  • custom error highlighting for filesystem (on errors originated from the filesystem, open the filesystem ]tab, open the erroneous file in the filesystem editor and highlight the error)
  • remove edit buttons in filesystem, clicking on a file's block triggers the edit action
  • clean up messy parts of the codebase (modularize it with webpack)
  • prepare something better for the text below the header (descriptions, links, call for contribution etc)

Emmet support

I've already set something like this up in codemagic so it should be quite easy to port

feedback #1

nice work! this is ace thing turned out much nicer than anticipated :)

  1. I think "demoting" the SourceMaps into their own panel (like Options, Filesystem - hidden by default) is ok, since this is not A-grade information.
  2. when I put together the options block, I thought I'd visualize it like it was JSON with editable values. I don't think this was a very good idea to begin with. In this context it looks confusing…
  3. It is possible that the tabs at the top left are not obvious enough
  4. that note "this fun was had" should not go in the head, in fact I don't need it in there at all. If anyone's name should go anywhere on that page, it's your's.
  5. when two or three panels are shown, input/output may be better shown in a single colum?

again, cool stuff!

Sass.options() > Indent > Tab

Steps to reproduce:

1-Open desktop Google Chrome
2-Go to url https://sass.js.org/
3-Click Gear Icon (settings)
4-Change Indent to Tab

5-Close Settings (i.e. return to base workspace with 2 large textareas)

6-Click button Convert (this will process default test example)

7-Fail ! Indent uses 3 spaces (3 spaces, not expected Tab).

Likely reason

I looked at source code of page and something funny became apparent:

<select id="option-indent">
            <option value="  " selected="selected">2 Spaces</option>
            <option value="    ">4 Spaces</option>
            <option value="   ">Tab</option>
          </select>

last options value is set to 3 spaces. And! When I changed it via Chrome Developer Tools to a proper Tab character (i.e. ' ') and reselected it, problem was temporary fixed.

Sub-folder creation?

It would be nice if there were a way to actually create subfolders in the "file system" view in order to do simple tests on how SASS compilers handle relative paths in @import directives.

Update the repo's description

we need to remove the placeholder description I've had there:

This is sass.js' playground, temporary hosted under my github profile until it's mature enough to be moved to the proper organization.

And add a proper one

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.