Giter VIP home page Giter VIP logo

scripts-n-styles's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

scripts-n-styles's Issues

Metabox issue

As an example, GravityForms is generating notices on it's form notification screens because of SnS. As a guess, I would think that it's using a CPT internally with the wp multi post editor functionality. This means I need better CPT selects again, or support multi post editor more formally.

Need a better UI for selecting enqueue scripts

The select element sucks. #7 related. Should have a way to add external/uploaded scripts. The current beta list can serve as a resource to a user slimmed/selected list (more manageable, better experience)

Update README

A lot has changed since the files been updated...

Handle external script libraries

Scripts n Styles should be able to handle widget-adding code like

    <script type="text/javascript" src="http://widgets.twimg.com/j/2/widget.js"></script><script type="text/javascript">
    // < ![CDATA[
    new TWTR.Widget(
        { 
            version: 2, 
            type: 'search', 
            interval: 6000, 
            width: 'auto',  
            height: 450, 
            theme: { 
                shell: { background: '#85110f', color: '#ffffff' }, 
                tweets: { background: '#ffffff', color: '#444444', links: '#ee4022' } 
            }, 
            features: { 
                scrollbar: true, 
                loop: false, 
                live: true, 
                hashtags: true, 
                timestamp: true, 
                avatars: true, 
                behavior: 'all' 
            }
        }
    ).render().start();
    // ]]>
    </script>

"needs unit tests"

Following suit, we should do Unit Testing, and move to more of a BDD methodology for new features.

Decorate metaboxes

To enhance UX, Styles should be labeled "CSS" and be decoratively wrapped with <style ...>

Same for scripts...

breaks on CPTs without an editor

The javascript currently doesn't account for not having a wp editor, so doesn't check before attempting to initiate the tinymce enhancements.

Notices on 404s

some code relies on the post object, for example: $post->ID

The post object is empty on 404 pages and so generates notices.

Clarify Licensing

If I include an Apache 2.0 library, I must release the "combined" package as GPLv3. I hate licensing.

New Screenshots

The look of the plugin changed, features have been added, screenshots are outdated.

Widget

support for writing a widget as an html page, which is servered to a widget via ajax or via shortcode.

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.