Giter VIP home page Giter VIP logo

drazhar / trainings-log Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 0.0 3.87 MB

Website to log workouts in a quite flexible way. The target is a visual appealing page to track your workouts/weight in a flexible and efficient way. Stopped working on it, but still using it to track my weight and exercises if I exercise...

License: GNU General Public License v3.0

HTML 0.88% JavaScript 91.36% SCSS 7.70% Shell 0.06%
body-weight rock-climbing training workout workout-apps workout-journal workout-tracker workouts

trainings-log's People

Contributors

drazhar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

trainings-log's Issues

Log workout data messed up

While logging a workout, the data entries got messed up on saving.

It seems like the value of one field was applied to all values.

Adding weight with same date

On the database, if you add a weight with the same date, the old value gets overwritten, which is intended.
At redux it's simply added to the object. If a date already exists, it should be overwritten.

Possibility to copy a workout

At the calendar or timeline overview it should be possible to copy an workout to repeat it.

When copied, only the workouts and the amount of sets should be copied. The placeholder values should still be filled with the most recent references as it should be done with #14.

Dots transition weight chart

The animation of the dots is off because the association which dot is for what entry is most likely based on the date. This entry changes if the axis is moved. The association should be based on the index in the array.

Workout form add exercise wrong data

When an exercise is added to a workout, the entered data is moved incorrectly. This is most likely because the new div is added at the top.

I think it would also be better to add the div at the bottom again and automatically scroll the screen down. The add exercise button und timer will be placed relative to the screen anyway at the later design.

How to set up the database

Describe in the readme how to setup the database:
[] Docker commands
[] database.dump file for some base data
[] Dummy docker-compose file

Gewicht mit +/- ändern können

Das Gewichtsfeld soll standardmäßig ausgefüllt werden mit dem nächsten eingetragen Gewicht.

Linear Unterpolieren?

Type ändern damit man +/- klicken kann oder ein Dropdown wo man auch eintragen kann.

Pre-defined colors

Instead of giving the user the flexibility and therefore increased complexity, the colors to choose from should be pre defined.
With this it's also possible to define different shades for dark and light mode and also secondary colors for possibly multiple information in one chart.

Merge getExercise and getWorkout

Currently there are two functions, one for getExercises and one for getWorkout. In most cases both are needed so it would make sense to merge the two. This would reduce the overhead data of the HTML headers and improve performance. The only downside would be, that the fetching could take a bit longer and in some rare cases, some unnecessary data is queued from the database.

It would make it also easier to calculate the data for the charts, exercise order and exercise dummy data.

Gewicht Graph Updatefähig

Aktuell wird das Diagramm ständig komplett erneuert. Eigentlich sollte das Diagramm nur beim Laden erstellt werden und bei Updates nur aktualisiert werden.

Gewicht eintragen UX

Beim Eintragen soll der Wert direkt angezeigt werden und aus dem Input Feld verschwinden.

User notifications

Lösung überlegen wie man komfortabel eine Benachrichtigung an Benutzer schicken kann, zum Beispiel wenn etwas falsches eingetragen wurde oder keine Daten verfügbar sind.

Multicolored training idendicator

The circled which idendicate even trained on a day should be multi colored like the exercises done to give a better overview what was done.

Neue Workouts werden nicht sortiert

Beim Eintragen von einem neuen Workout wird dieses sauber in der Datenbank gespeichert, aber das Workout Objekt in Redux wird nicht sortiert was zu falschen Diagrammen führt.

Backup Data to Laptop/Cloud

Maybe use Syncthing on the Raspberry as a container to backup the database to the Laptop.

First issue:

User permissions change automatically after docker-compose up. This makes it difficult to backup the data.

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.