GithubHelp home page GithubHelp logo

bearbob / liftinglog Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 153.49 MB

An android app written in React Native to log lifting progress

License: Apache License 2.0

JavaScript 91.85% Starlark 0.47% Java 2.12% Objective-C 3.29% Ruby 2.27%
reactjs react-native android hacktoberfest hacktoberfest2020 logger lifting bodybuilding powerlifting

liftinglog's People

Contributors

bearbob avatar dependabot[bot] avatar

Watchers

 avatar  avatar

Forkers

cyzeng-luca

liftinglog's Issues

Update Charts in GeneralStatistics

The Charts shown in GeneralStatistics don't seem to refresh after they are mounted, even though they have update callers. This should be fixed.

Export/import data for dev tools

Function to export the data either as text (might run into problems when to long) or as a file.
Vice versa there should be an option to import this data again.

Paste CSV data

Add an option to either post data for multiple exercises at once or per exercise.
The data could have the format
exerciseID;date;weight;reps

Upon saving, for each row the normal calculations (one RM, strength Score) are done.

Additionally it would be useful to provide an export with the same data structure

Race condition for storeWeightLog

The current implementation of storeWeightLog runs into a race condition. This can lead to data loss, if request are made fast enough. The reason is, that the current state of the data in the storage is retrieved with retrieveData and the result is handled in a callback, leading to asynchronous handling.

Different Clean-Actions

Additionally to deleting all data, it might be useful to have the option to delete only data for specific exercises.

Feat: Text2Log

Add an option to enter new log entries from a text input field where each line represents a new log.
The format should be something like this:
weight;reps;yyyy/MM/dd

ignore whitespaces

Add new exercise

Implement a function to add a new exercise.
A new exercise must be categorized as one of the main lifts to be used for strength score calculation.

Clean Icons for Tab.Navigator

In App.js the Tab.Navigator sets the icons for the screens. There are screens listed that are no longer called in the tab navigator directly, as well as the missing screen for Statistics, that is currently assigned the default list icon.
Clean the code and find a better icon for the Statistics-Screen (see https://oblador.github.io/react-native-vector-icons/ for overview of available icons)

Custom Start of the week

It should be possible to set a custom week day as start of the week. this is respected in the calculations for Calender weeks

Overwrite entry if better score is entered

Use case: A user saves an entry for an exercise. Shortly after, he manages to do a better entry with higher weight or reps.
The entry should be updated.

For a given date D, given exercise X an entry A with A.weight and A.reps is saved.
A new entry B with date D for exercise X will replace A if B.reps > A.reps or B.weight > A.weight. Otherwise B is not stored.

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.