Giter VIP home page Giter VIP logo

action_widget's People

Contributors

t6d 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

Watchers

 avatar  avatar

action_widget's Issues

Tests

There really should be some tests!

Fix accidental removal of all widgets

When calling rails destroy action_widget:create, all widgets get removed because the directories spec/widgets and app/widgets get removed entirely.

Implement ActionWidget::Base#respond_to_missing?

Widgets delegate a lot of method calls to the view context using method_missing. To complement this feature, #respond_to_missing should be implemented in order to allow querying objects for support for certain methods.

Is this still maintaned?

Hi.

I really liked this approach for organize my UI elements.

I'm wondering if this repository is still active.

Class lookup caching

Implement the class lookup in a way that it is actually working. Currently, the view helper drops the cache on each lookup.

Widget Generator Class Naming

The generator should use the given name as actual name and not the singular version.

Example:

rails generate action_widget:create Cities
   exist  app/widgets
  create  app/widgets/cities_widget.rb
   exist  spec/widgets
  create  spec/widgets/cities_widget_spec.rb

At the moment, however, the generator does the following:

rails generate action_widget:create Cities
   exist  app/widgets
  create  app/widgets/city_widget.rb
   exist  spec/widgets
  create  spec/widgets/city_widget_spec.rb

Write README

Explain the usage and more important the design decisions and ideas behind action_widget.

Middleman CLI support

Add a command to the middleman CLI that allows for faster creation of new widgets.

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.