yakimych / lift-log-react-ts Goto Github PK
View Code? Open in Web Editor NEWFrontend for LiftLog
Frontend for LiftLog
E.g. if the WebAPI is down, and the user is trying to add a log.
It should be possible to enter an RPE value for each individual set.
Valid RPE range: 6.5-10.0 with 0.5 step (e.g. 7.5 is a valid value, but 7.6 is not).
Design considerations: since RPE is optional and is to be rarely used, it should preferably not clutter the user interface.
One option would be to add links to e.g. a youtube video in the comments (#3), but it would be more user-friendly to be able to make it into an tag with a possibility to click it.
This should be considered from a UX perspective, since it might be challenging to fit fields for links and a comment, as well as sets/reps with RPEs in the same dialog.
The current flow is somewhat confusing, since nothing is added when clicking "Save" in the dialog. The user is rather expected to click Add afterwards.
Expected: Entry added.
Actual: 404 in the API request.
The only way to assign an RPE value to a set is to use the "Reps@Rpe" format. This is not user-friendly and neither is it easy code in a structured way.
RPE should have it's own input field
Since it's rare to assign RPEs to a set, it shouldn't take space by default
There should be a way to prevent the user from clicking around while the entry is being added, as well as to show some indication that a request is in progress
For example, disable the inputs and show a spinner
Currently "Loading..." is shown forever and errors are printed to the console.
A 404 or "Log does not exist" page would be a nice alternative.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.