Code Monkey home page Code Monkey logo

wisetool's Introduction

WiseTool

2019-08-07 -> 2021-07-30

An adaptor tool to convert notification types in different contexts.

This is part of the universe framework.

Install

Using the planet installer via light-cli

lt install Ling.WiseTool

Using the uni command.

uni import Ling/WiseTool

Or just download it and place it where you want otherwise.

Summary

This is just an adaptor class.

Did you ever encounter the following notification words?

  • warning
  • info
  • success
  • error

Those are pretty standard notification types. However, if if you've worked with bootstrap 4, you'll see that they have some notification classes, but the wording is a little bit different:

  • warning
  • primary
  • success
  • danger

Ok. Now let me add my own, one letter variation:

  • w (warning)
  • i (info)
  • s (success)
  • e (error)

I use those some times in some notifying tools I create.

Also there are the @page(Chloroform notification classes), and even more systems to come.

And so we end up with those notifications which basically are the same, but they just have different names (or representations). The goal of this class is to provide easy translation from one set to another.

The first set is called regular, the second is called bootstrap, and the third (one letter) is called wise.

The chloroform objects are called "chloroform".

At the moment, the supported systems are:

  • regular
  • bootstrap
  • wise
  • chloroform (as a target only)

History Log

  • 1.2.5 -- 2021-07-30

    • update WiseTool class, removed dependencies to Ling.Light_Kit_Admin
  • 1.2.4 -- 2021-05-31

    • Removing trailing plus in lpi-deps file (to work with Light_PlanetInstaller:2.0.0 api
  • 1.2.3 -- 2021-03-05

    • update README.md, add install alternative
  • 1.2.2 -- 2020-12-08

    • Fix lpi-deps not using natsort.
  • 1.2.1 -- 2020-12-04

    • Add lpi-deps.byml file
  • 1.2.0 -- 2019-08-09

    • add support for Light_Kit_Admin notifications
  • 1.1.1 -- 2019-08-07

    • fix typo
  • 1.1.0 -- 2019-08-07

    • add support for chloroform notifications
  • 1.0.0 -- 2019-08-07

    • initial commit

wisetool's People

Contributors

lingtalfi avatar

Watchers

James Cloos avatar

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.