Giter Club home page Giter Club logo

fieldeditors's People

Contributors

annavester avatar offsky avatar

Watchers

 avatar  avatar

fieldeditors's Issues

The "time" field needs a new filter

Currently, it uses the built in date filter, but we need to store a time without an associated date. The raw data will be seconds after midnight and we will need to convert this into the time of the day.

{{ 21600 | time }} // 6:00am

0 = 12:00 am
60 = 12:01 am
...
21600 = 6:00 am
...
86399 = 11:59 pm
86400 = 12:00 am

Create editable input boxes

Regular non-popup inputs for: year, time, length, percent, integer, decimal, currency, phone number, email address, isbn. Sanitize input and pass into a corresponding filter.

Currency filter needs wrapper

The built in currency filter needs a wrapper so that already correctly filtered strings don't get erased.

{{ "12.34" | currency }} // $12.34
{{ "$12.34" | currency }} // $12.34

The second scenario is currently failing

Update angular

It looks like angular has been updated to 1.0.2. Need to update and validate that everything still works in this project as well.

length filter refinements

The length filter needs a little refinement to properly format the following inputs

{{ "23h" | length }} //23 hrs
{{ "90min" | length }} //1hr 30mins
{{ "1hrs 90mins" | length }} //2hrs 30mins

Date filters need to handle invalid inputs

We need to write a wrapper around the following angular filters (date, date+time, year) so that an invalid input displays empty string instead of undefined NaN.

{{ 'foo' | date }}

Perhaps we could do something like this with chained filters (not sure if this is possible)

{{ 'foo' | isValidDate | date }}

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.