Code Monkey home page Code Monkey logo

metron's Introduction

Metron

Build Status

A lightweight JavaScript convenience library and framework (written in TypeScript)

Helper functions can be found in the metron.extenders.ts file. The full library contains elements for a lightweight front end framework.

This repo contains the development branch.

metron's People

Contributors

ashishpat avatar dependabot[bot] avatar szul avatar tomjlynch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

metron's Issues

Replace RSVP.js with custom Promise polyfill.

The current library depends on RSVP.js as a way to do JavaScript Promises and pollyfill them in the absence of native browser support. I want to replace this dependency with a custom solution than can be included natively in the library.

Add templating to views

Templating currently works for repeated rows in lists, but needs to also be added to data-m-segment types of view. The entire DOM will need to be processed, but also repeaters within the DOM. "If" conditionals will also be needed.

Add data-m-format ability to form elements

After the form loads with data on an edit, check for a data-m-format attribute on the form element, and then process the value of the form element according to that formatting method.

If a list is filtered, and you navigate away from the page, clicking back doesn't display the filtered list

Two scenarios:

  • Filtering a list, clicking on an action (e.g., edit) taking the user to a different page to do something with that item, then returning after clicking another action (e.g., save, close) needs to result in the list remaining filtered since it's within context of the experience.
  • Filtering a list, clicking away from the list, returning to the list via the back button needs to also maintain the filters.

This can be accomplished by either utilizing the querystring or browser storage (e.g., IndexedDB, sessionStorage). The latter will allow for the URL to be shareable.

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.