Coder Social home page Coder Social logo

lift-log-react-ts's People

Contributors

dependabot[bot] avatar yakimych avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

lift-log-react-ts's Issues

Assign RPE to a set

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.

Add possibility to add one or more links

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.

Validation

  • Comment max length: 400
  • Link Text max length: 20
  • Link Url max length: 200
  • Max number of links: 3

Improve flow for adding log entry

Background

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.

Suggestion

  1. Remove the Edit button
  2. Open the dialog when the Add button is clicked
  3. Add the entry if the user clicks on Save in the dialog

Improve RPE input

Problem

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.

Solution

RPE should have it's own input field

Note

Since it's rare to assign RPEs to a set, it shouldn't take space by default

Indicate that an entry is being added

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

Name and weight validation

  • Name and weight should be mandatory (the Add button should be disabled unless all fields are filled in).
  • Name maxlength should be 30 characters.
  • Weight should be a valid decimal between 0 and 999.

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.