Code Monkey home page Code Monkey logo

neat-form's People

Contributors

cozej4 avatar dev-billy avatar ellykits avatar ndegwamartin 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  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

neat-form's Issues

Implement rules engine logic

Add ability to handle logic by passing condition and specifying actions to be performed when the condition(s) is evaluated successfully.

Optimize dynamic calculations in Notifications.

Toast notifications allow for passing dynamic text to their title/message. Internally the notifications uses a calculation listener that updates UI wherever the calculation is changed when the rules are fired.

Currently when a calculation field changes for a toast notifications all the calculation listeners are fired when we only need to update the UI for toast notification whose calculation has been update. We need to build a dependency map like we do with other field calculations without having to create a new attribute but maintain the field calculation template.

How to style form text color etc

This is a handy library which does almost everything I need (basically a form schema is generated server-side, form JSON downloaded and then rendered dynamically).

All the defaults are fine, except for the text color in forms. For some reason in my app when I render it on a white background the date field text is also white and I have no idea how to go about specifying an alternative text color (I've been googling and editing styles.xml for hours now and unable to change anything in the rendered form). I see I can generate a manual layout for the form, but I'd rather no do that as form definitions can change daily, and the default LinearLayout is perfect for my needs.

Any tips on how to change the text color (in particular for the date field) ?

Migrate to AndroidX

Should have been done by yesterday. New android libraries will only be available on jetpack

Implement multi step forms

Currently the views are just created from JSON and embedded to the provided root view normally a view group. having a multi step form will allow embedding views onto a fragment that can be added to any existing activity.

Implement support for xml forms

Implement support for customising neat form library forms with android xml layout .

This is important especially for large screen devices e.g Tablets whereby the default neat library forms would not make the best use of screen estate.

Migrate to Kotlin Serialization

Kotlin Serialization is now 1.0 and production ready. Gonna switch to use it instead of GSON because why not it's Kotlin dependency ๐Ÿ˜„

Optimize creation of views

  • There is a slight delay currently of about 4 seconds when the view with the JSON form builder is loaded. Work to resolve this by offloading some of the tasks to background thread plus just look into any other issues that can be further optimized to improve the performance of the app in general

Implement saving data from views

Instead handling data saving in the library we left it to the implementers but the library will return as a callback the data from the views which can be access via the FormBuilder

Support styling widgets

Add an attribute that will be used for applying theme to the widget. The applied theme will be used for every widget of that type.

Implement expandable view

This view pops up a dialog where you can select items and it writes them back to the view. More of an expansion panel view

Recommendation for usage

Hello,
I am evaluating solutions for use to fill up forms on android.

My needs are the following,
I need to be able to define the forms on a backend and the app should pull the definition down and display the forms based on that.
I want there to be a way of defining dependencies in fields making up the form. So if there is a condition that field2 should be displayed when field1 is answered as 'Yes' then the UI should parse that and display accordingly.
Some of the form fields also need to be signature captures and file(images) uploads.

Is this use case a good fit for neat-form ?

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.