Giter Club home page Giter Club logo

gasjot-ios's People

Contributors

evanspa avatar

Stargazers

 avatar

Watchers

 avatar  avatar

gasjot-ios's Issues

Add support for diesel

Gas Jot currently assumes all vehicles are gasoline-based. Need to add support for diesel-based vehicles. When creating a vehicle, an option will appear to mark the vehicle as being diesel-based. Similarly when creating gas logs, an option will exist to mark it as a diesel purchase (and thus, "Octane" will not be a relevant field).

Add support for the notion of logging a "Trip"

Add support for the concept of logging a "Trip." Some examples of why this feature would be useful:

  • When using your personal vehicle for a business trip, and you need to precisely track your number of miles-driven for expense reimbursement.
  • When using your personal vehicle for ride-sharing, and you need to precisely track your mileage for tax-reporting purposes.

Add support for electric vehicles

Add support for electric vehicles. There should be a way to log a "charging event." I need to research what electric vehicles provide in terms of reported data points. I also need to research if there's a way to know how much money a charging-event costs.

Provide global gas price stream for finding cheap, nearby gas

On the home screen, add a “I Need Gas” button, that when pressed, gives list of gas stations within 5 km radius ordered by distance and avg price per gallon for the octane relevant to vehicleInCtx. Put a “Get Directions” button in each row that when pressed launches map app on device. (do-able?)

Feature: ability to have per-vehicle config to specify relevant fields

Not all vehicles' dashboards display the same amount of information. E.g., some might not display a range/DTE; some may not display an AVG MPG or MPH; in those cases, when creating gas and odometer logs, it doesn't make sense to even display those fields. It should be possible to indicate which fields are relevant to a vehicle, and then have input screens render accordingly.

Quick toggling back-and-forth to the Home screen causes data synchronization issues.

When the Home screen's viewDidAppear is invoked, all data-loading operations occur on a background thread via GCD. When done, the charts are re-drawn on the main thread. The various data sets that back the charts are held in NSMutableArray objects. In viewDidAppear, functions are kicked-off in background threads to clear the arrays, pull data from the local SQLite instance, and re-populate the arrays. The problem arises when the user quickly and repeatedly toggles back-and-forth to the Home screen. These 3 steps are occurring in multiple-executing threads and the data in those arrays are sometimes not consistent.

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.