Code Monkey home page Code Monkey logo

sassmeister's People

Contributors

blackfalcon avatar bpscott avatar jedfoster avatar kamilogorek avatar lolmaus avatar mturjak avatar scottkellum avatar topfunky 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  avatar  avatar  avatar  avatar  avatar  avatar

sassmeister's Issues

New logo

Header should use the new logo.

Re-sizable editors

Make the editors resizable, horizontally. E.g. larger Sass window, smaller CSS window & vice versa.

Version visibility

With the rapid development of most of these frameworks, not to mention Sass itself, it would be nice of the version number was represented. Possibly in the drop down menu?

vanilla Sass 3.2.3 Bourbon 1.0 Breakpoint 1.0 etc ...

Automated testing

Need a method for automatic testing when updating gems. Current method is hit and miss. Could be a rake task that loads a series of gists and examines the response from /compile.

sandbox.sassmeister.com iframe does not load in Firefox

The internal iframe (from sandbox.sassmeister.com) does not load in Firefox:

capture

As you can see, the iframe's body is empty.

This has occurred for me in multiple Firefox instances, and even occurs if FF is started in safe mode with add-ons disabled. This occurs whether I'm logged in with Github or not.

This doesn't appear to be due to FF23's blocking of insecure content, because both the parent (http://sassmeister.com/) and child iframe (http://sassmeister.com/) appear to be served non-securely.

The Chrome and IE9 do not have any problems. About 2 weeks ago, Sassmeister was working fine.

2.0 polishing

  • HTML
  • parse Haml
  • parse Markdown
  • parse Textile
  • save HTML with gist
  • persistent layout configurations (save panel positions with localStorage)
  • custom layout configurations
  • show/hide panels
  • move extension list out of control menu, to Sass form header bar
  • retrieve HTML from gist
  • sandbox HTML rendering in a subdomain
  • update HTML panel syntax highlighting when syntax changes
  • prettier show/hide panel controls

SassMeister Gist updates don't work if HTML added on

As I kept playing after #53 got resolved, I found this other inconvenient issue.

If you save a gist with no HTML it will have an empty string assigned to the javascript object SassMeister.inputs.html_filename. If you then add some HTML and try to update the gist this will cause a server error.

After a quick skim through the code I found the problem in jedfoster/SassMeister/sassmeister.rb#L297-307, as there is no condition case that would account for an empty string (inputs[:html_filename] == '').

Relevant code here:

if inputs[:html_filename].split('.').last == inputs[:html][:syntax].downcase
  html_file = inputs[:html_filename]
  deleted_html = {}
else
  filename = inputs[:html_filename].split('.')
  filename.pop
  filename = filename.join('.')

  html_file = "#{filename}.#{inputs[:html][:syntax].downcase}"
  deleted_html = {inputs[:html_filename] => {content: nil}}
end

Possible solution:

deleted_html = {}

if inputs[:html_filename] == ''
  html_file = "SassMeister-input-HTML.#{inputs[:html][:syntax].downcase}"
elsif inputs[:html_filename].split('.').last == inputs[:html][:syntax].downcase
  html_file = inputs[:html_filename]
else
  filename = inputs[:html_filename].split('.')
  filename.pop
  filename = filename.join('.')

  html_file = "#{filename}.#{inputs[:html][:syntax].downcase}"
  deleted_html = {inputs[:html_filename] => {content: nil}}
end

Fix Gist loading

Looks like GitHub changed the Gist URL scheme. Need to fix bookmarklet and /gist route to accommodate both schemes.

Old: gist.github.com/12345678
New: gist.github.com/username/12345678

App needs to be able to interpret both.

URL Query to start with specific options

I'd like the ability to append a query string to SassMeister URL to set default for SassMeister. Something maybe like

sassmeister.com#breakpoint

To automatically start with Breakpoint extension selected. Or maybe something like

sassmeister.com?syntax=scss,ext=breakpoint,output=expanded

Make Sass Input Easier

I'd love to see automatic indenting, bracket/paren closures with openings, possibly syntax highlighting. Just some things to make entering in the Sass easier.

New design/design refresh

Need a new design or a design refresh to support new features like embedding, forking, HTML, etc.

Enable bleeding edge versions of Sass/Compass

Now that Sass 3.3 RC is out, we need to make it available to users. However, I don't think it should be the default; rather it should be sandboxed.

Thinking pre.sassmeister.com or maybe alpha.sassmeister.com.

Problems:

  • deployment management - how to keep parity between the main and pre branches of the app
  • would need to have disclaimer copy on pre site and link to pre on main
  • other issues??

SPIKE: Replace ACE with CodeMirror

Look into replacing ACE with CodeMirror. It seems to offer better documentation and more points of interaction. Specifically, offers beforeChange event. And VIM keybindings. Lots of niceties.

small editing windows

I like the feature that the editing windows resize depending on the available viewport, but the editing windows on a 15" laptop are pretty small.

Need to find a way to make less header and more editor.

Abstract Gist library

Move Gist-related code to a lib "model", similar to Roughdraft's. Perhaps even abstract both implementations to a gem.

Make SM Gists Embeddable

Make SM Gists embeddable with a few lines of JS in any blog. GitHub, Codepen, and many others already do this.

Would be nice not to need an iframe.

Doesn't necessarily need to be interactive, just pretty.

[feature] Allow writing HTML and watching SASS applied to it

Hi!

There are quite a few services that allow you fiddling with HTML and CSS. They are very handy: you write HTML and CSS and immediately see the result rendered.

A small number of those services support SASS. But none of them supports importing actual Compass extensions.

SassMeister allows importing actual Compass extensions but it doesn't allow fiddling with HTML.

Please add an ability to write HTML and render the result live!

This doesn't look hard to implement, thanks to the fact that GitHub Gists allow saving multiple files in a single gist.

This feature would turn SassMeister into an ultimate HTML/CSS sandbox, essential for helping out people on StackOverflow and trying ideas without the nuisance of starting a sandbox Compass project on your hard drive.

Sassmeister Gist updates don't work

I have been playing with SassMeister a bit lately. I manage to save gists but I noticed that pressing the Update Gist button doesn't do anything.

In Chrome's console I get following server err msg:

Failed to load resource: the server responded with a status of 500 (Internal Server Error)     http://sassmeister.com/gist/7136082/edit

Hope this info is helpful.

Roughdraft.io integration

Need to integrate with RD somehow. At least a link such as, "Write about your Sass here" in the Gist confirmation dialog.

Convert ERB to static HTML

There's really no reason to render anything dynamically at the view level. All the views should be static HTML. Consider Middle Man.

For the plugin lists, it might be enough to just make the bundle:update rake task write the plugins directly to the necessary views.

GitHub auth status can be handled with JS, no need for ERB conditionals.

Fork Gist won't work

Nothing happens when i click Fork Gist. I can't save modifications to others' gists.

To work around this problem, i have to use the Save Gist button instead (which works fine): create a blank SassMeister project in a separate browser tab and copy code into it.

Make it more mobile-friendly

  • modals don't really work for small screens
  • footer looks like crap
  • ACE is very unfriendly on iOS: select, copy/paste, and cursor insertion don't work

`github.yml` missing

Hi!

Trying to run SassMeister locally, it requires github.yml which is missing.

I hope you can check it in just like newrelic.yml — with some placeholder login/password.

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.