Git Product home page Git Product logo

nerdouts's People

Contributors

dseisun avatar jnguyen75 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

jnguyen75

nerdouts's Issues

The primary key to the exercise table should be a string stored in the data

Right now the primary key is an autoincrementing value. This means however that if you try to move the database around, or reload the exercises they need to be loaded to have exactly the same key.

Proposed fix:
The key for the exercise table should be a short string like normal_pushups that would be stored in the exercise data if ever exported.

Exercise time should be stored on workout_exercises not exercise

Currently the default_time is the source of truth for how long an exercise took. This blocks us from being able to change the amount of time for an exercise, or having exercises with potentially dynamic times. There should be an exercise_time field on the workout_exercises association table that stores the actual amount of time spent.

Whitelisted exercises are frequently duplicated in a workout

When you whitelist an exercise it gets appended, but if it was going to be a part of the workout anyways you get duplicates. It should follow the expected behavior that all other workouts in that category get added before it re-add's an exercise

QA mode shouldn't write to the prod db

Currently QA mode will happily write records as if they were prod. They should either write to a sandbox db, or should have a column set on the record that describes that these were test mode exercises

Implement custom logger

We're currently using the default logger, but it would be nice to be able to toggle between different logging levels (currently just using INFO for everything), and might be nice to have different formats for different parts of the application

Add default sqlite db to init_db

Would be a lot easier if a user could just quickly spin up a sqlite db to test their work (or honestly even keep it long term)

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.