GithubHelp home page GithubHelp logo

codergv / task-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ibolmo/task-bot

0.0 5.0 0.0 5.3 MB

At Code RGV we need a way to track our tasks. This bot does so, and makes our lives better™

Shell 0.12% JavaScript 92.82% HTML 7.05%

task-bot's Introduction

Task Bot

At Code RGV we need a way to track our tasks. This bot does so, and makes our lives better™.

Commands

@task add {description} #section [1/1/2016] @name
@task finish|done|complete {id}
@task list
@task update {id} @task remove|rm|delete|del {id}
@task note|comment {id}
@task aid|assist|assign {id} @name
@task abandon|drop {id}
@task help

Task model

  • id
  • creator
  • status
  • description
  • section
  • notes
  • due
  • assigned

Understanding the ORM

There are three models: Task, User, and Channel. The Collections model helps with multiple of the models in a set (list). Out of the three only User and Channel are located within the root of the storage. The tasks are part of a channel. Tasks may refer to users.

User and Channel are also part of Slack data. We do our best to pull the data from Slack, and reflect it locally.

Third issue is that data saved may not include all data we'd like (we're being agile). So the models should accept previous use, and accept new use. E.g. user's name were not available, and can be found by asking the Slack api. Model should lookup and save when available without affecting business logic.

As it stands, all the models initialize the data to conform to current use. Specific properties (e.g. name) are promise type interfaces.

Getting Started

git clone [email protected]/CodeRGV/task-bot.git
cd task-bot
npm install
cp .env.example .env
# email [email protected] for .env settings
rhc set-env .env taskbot # if you're using openshift
node bot.js

Analytics

  • rank users that completed tasks
  • number of tasks pending (per channel)
  • number of tasks overdue (per channel)
  • number of tasks completed (per week/month, per channel/user)

View dashboard at: /board

task-bot's People

Contributors

ibolmo avatar

Watchers

 avatar Justin Lynch avatar James Cloos avatar Joel Garza avatar Rene Rmz 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.