Giter Club home page Giter Club logo

angular-input-fields's People

Contributors

grahamgilchrist avatar henrahmagix avatar maxpeterson avatar minglee01 avatar ninjanails avatar wytrych avatar

Stargazers

 avatar  avatar

Watchers

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

angular-input-fields's Issues

Namespace the templates to this module via a folder

templates/type/my-input.html should be templates/angular-input-fields/type/my-input.html so that a project with a templates path of type/ doesn't get clobbered by this library, or vice versa: this library doesn't clobber a project's type/ templates path.

This will be a breaking change.

Store templates with each module instead of separately

Having template files separate to the js src is confusing, especially when looking around this module's files in a file browser or terminal.

Also it would be nice to have templates/aif/select-input.html instead of templates/aif/select-input/template.html.

Before

angular-input-fields/
└── src
    ├── scripts
    │   ├── init.js
    │   ├── select-input
    │   │   ├── directives.js
    │   │   └── templates.js
    │   └── text-input
    │       ├── directives.js
    │       └── templates.js
    └── templates
        └── aif
            ├── select-input
            │   └── template.html
            └── text-input
                └── template.html

after

angular-input-fields/
└── src
    ├── angular-input-fields.js
    └── aif-text-input
        ├── directives.js
        ├── templates.js
        └── templates
            └── aif
                ├── select-input.html
                └── text-input.html

This would work nicely with #17

Make multiple distributions to allow loading of individual modules

  • dist/angular-input-fields.js = all scripts concatenated
  • dist/angular-input-fields.min.js = all scripts concatenated and minified
  • dist/aif-<module>.js = all scripts concatenated
  • dist/aif-<module>.min.js = all scripts concatenated and minified

where is each module available in this, apart from angular-input-fields.

Split directives into separate files

Split from #1
Move each directive to it's own module in it's own file.

This makes it easier/more obvious to manage dependencies per directive, but also means we can selectively import the directives we need per project.

I think we can still build to a single dist/ file, as although it will declare all the directive modules, we can selectively import modules.

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.