Code Monkey home page Code Monkey logo

get_fit's Introduction

ships at sunset

get_fit's People

Contributors

samhinshaw avatar

Watchers

 avatar  avatar  avatar

Forkers

epasham

get_fit's Issues

Make partner confirmation mandatory

Currently, any user can specify any partner when signing up. Let's make this send a request to the partner to have them confirm that they're partnering.

Remove ALL instances of personalized code

  • - remove weight data for now
  • - remove color headers and let users pick their own colors?
  • - remove profile pictures for now
  • - remove header 'catch phrases'?
  • - remove IFTTT text messaging (#21)

Consider migrating from JQuery

  • Could I use a AJAX micro-library to not have to handle headers and errors?
  • I should be able to rewrite all JQuery DOM manipulation with vanilla JS
  • May conflict with #16

Make a more robust system for detecting missing data

Let's make it possible for users to see all of their data from start date to current date (not just past two weeks). This would make it easier to detect missing data from a visual inspection without needing to hit the MFP API to update all missing data.

Create intro along with signup flow

  • Create introductory page
  • Show notifications/messages (NOT flash messages) depending on whether account is confirmed, partner is confirmed, etcetera.

Move to email instead of IFTTT SMS

  • Template emails for registration, confirmation/auth, requests/responses/gifts
  • Use nodemailer to send emails to confirmed/authed emails ONLY (rate-limit and make sure only conf/auth emails get sent)
  • Remove any SMS code

Relies on #1

Cache calculated point values

Right now, points from a given timespan are calculated from daily point earnings every time the page renders

  • Cache calculations in front end (in cookie or LocalStorage?)
  • Update point calculations only when post request is made to update data
  • Update if value is staler than any lastUpdated value that is a dependency--have this be checked instead of force recalculating as middleware?

Update values without page refresh

  • Update ExerciseCard with something simple like JQuery without needing to refresh the page.
  • See if this means a user could request multiple updates in quick succession.

Fix the fact that the primary color and the hover color are the same!

  • There is some bulma custom styling to make the 'dark' color also the 'primary' color.
  • This changes such things as box highlighting to be dark as well, which does not look great.

  • Pick another non-greyscale color to be the primary color.
  • Fix items that rely on $primary that should instead be relying on $dark!

Implement last logged in value

  • either via passport.js or by storing in DB
  • Use it to see if a request was made or gift was sent since last access.
    • If true, display popup modal.

Daily Updates

Need to change crontab + bash script to something more dynamic

  • Find a node task scheduler
    • This would be ideal because it would reduce system dependencies and increase portability
    • However, it's not really within the scope of our current express server, so it might be strange to have that code running on the same Node server
  • Crontab to run at midnight
    • Scan users collection with python script
    • Call getMFP.py from that python script (with username, mfp username, and date)

Write tests!

Jest, Mocha, Chai?

  • Check Kent C. Dodd's testing FEM course and newsletter for tips!

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.