Giter VIP home page Giter VIP logo

kohana-notices's People

Contributors

bobeagan avatar dtb avatar jeremeamia avatar zeelot 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

Watchers

 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

kohana-notices's Issues

media controller?

I was wondering whether you would consider adding a media controller to this module, that would serve the media files? Akin to what is used in the userguide. Doing so would mean that one could include the module without having to do anything (i.e. copy any files anywhere), and so updates would be simpler.

Just an idea (because I want to use this module!).

Thanks!

notice type image is a style, not a piece of content

you should not have an tag in your notice output for the type of notice... this is equivalent to the bullets in an unordered list! It's purely a style of the notice! This also simplifies the adding of the image... as you can force the convention of the css and img folders being next to each other and use relative paths
.error images will always be ../img/error.png (or whatever convention you want to set)

Limit ajax calls to closing persistent notices

Would it be cleaner to add a class to the close button to inform the js file which notices are persistent and require the ajax calls to remove? Regular notices can simply be hidden.

Update dev/3.0.x documentation

Reported by @boxyman:

Am I mistaken or does the documetation not match for the dev/3.0.x branch?

E.g. doesn't work and I cannot see the function anywhere in the source code.

Anyways dev/2.1 seems to work fine with Kohana 3.1.3.1

Thanks.

Ajax close button is being added incorrectly

The close button should be added with JS if it can only be done with ajax calls.

Shouldn't the notices/remove action be allowed to be called without ajax in order to remove a persistent notice without requiring JS?

refactor to not use kohana namespace

We should avoid treading on the kohana namespace in our modules in case they ever make something that uses that. So Notice extends Kohana_Notice should probably be changed to something like Notice extends Synapse_Notice

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.