Giter VIP home page Giter VIP logo

one-rep-max's Introduction

Hi there ๐Ÿ‘‹

one-rep-max's People

Contributors

ielixirz avatar tarikhamilton avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ielixirz sunairaa

one-rep-max's Issues

Add/remove exercise feature

Currently, you can only edit what has been created, which are three defaults. While you can rename them, it would be best if the user could track exactly what they consider important.

Requirements

As a user, I'd like to have as many exercise maxes as I desire.

  • While in edit mode, add a green button under the latest row that says "Add".
  • While in edit mode, add a third column and add a red button that says "Remove" on each row.
  • Do not allow less than one exercise to remain.

Use the nanoid package for unique IDs.

Add drag and drop re-ordering

As a user, I want to be able to re-order the exercises to my preference.

The exercises should have a sortOrder property and rendered in that order. When in edit mode, they should be able to click and drag, or hold and drag, exercise rows and change the order.

Implement "Custom" percent feature

There's a button that says "Custom" that does nothing. It should open a modal with a text input to insert a percent. Maybe use the CircleBtn to save or cancel? I have no idea. I'm open to ideas. It should be in a "selected" state, if the custom value is accepted. Essentially, it should behave the same as the other percent max buttons, just with a modal with an input.

Implement service worker

I should've seen an update is available and I didn't. I need to do more stuff. // register() is not called by default. That might be all that is needed, but I'm sure it may be more involved.

Create a logo for the favicon and app icon

This would involve updating the manifest.json and adding image assets to the public directory. I am not looking for art, just something that isn't the default one. Could be all SVG! Ideally, you'd use one of the existing colors in the Tailwind palette (if it is SVG, it'd be super easy to change as well) and the app theme/background color can be set in this PR too.

Add Storybook with a story for each component in components

The title says it all. One suggestion is that you place the components in their own folder like this: src/components/Cell/index.tsx instead of src/components/Cell.tsx. Rename the file to index.tsx. Then you can add a story file in each of the folders.

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.