Giter Club home page Giter Club logo

flexi-task-project's Introduction

FlexiTask

FlexiTask is a Task managing app that facilitates both fixed and flexi tasks. A fixed task is simply a task that has a fixed due date, that could be a Birthday on the 21st of Feb or a bill that needs paid every 2 weeks. A flexitask on the other hand is a recurring Task which needs to be completed "roughly" in the time period specified. Perhaps you want to clean the windows every fortnight, but don't mind if it's a few days late or early. The flexitask app uses a urgency sorting algorithm to display the tasks which are MOST overdue (relative to their recurring frequency). For instance, a yearly task that is 4 days overdue is deemed less overdue than a weekly task which is 2 days overdue.

Installation

Requirements

  • Android Studio (LATEST VERSION)
  • Internet connection for first compile
  • Pixel phone + API >= 22 for emulator (haven't tested on lower yet or other phone models)

Algorithm

To determine a flexi-tasks priority the app takes todays date (in milliseconds) and subtracts the date the task was created/ last done (in milliseconds) - this represents the milliseconds since the task was last completed , we then convert this to number of days by dividing by 86,400,000 (milliseconds in a day) and adding 1 (for the due day). Our app then divides that number by how ofen the task is set to recurre (ie: weekly task, daily task). The end result is a number that represents a percentage of how complete/overdue/underdue a task is. For tasks that have a lower recurring frequency (ie daily), each day that task is overdue will increase the result relativily more than a task with a higher frequnecy (ie: yearly)

 Todays Date - Date Created)/86,400,000 + 1 

 -------------------------------------------
            Recurring Frequency

Code used

https://github.com/Clans/FloatingActionButton for the floating action button

flexi-task-project's People

Contributors

ryan-mcgoff avatar t0mbraider 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.