Code Monkey home page Code Monkey logo

kumite-scoring-board's People

Contributors

bernicecpz avatar joanneong avatar

Stargazers

 avatar

Forkers

joanneong

kumite-scoring-board's Issues

Timer should not exceed 59:30

Describe the bug
Because there are currently no limits set on the amount of time that you can increment, a user can increment the time indefinitely. Although before starting the timer the display seems to be correct, after running the timing, you get such strings:

image

which is probably not the intention.

To Reproduce
Steps to reproduce the behavior:

  1. Open the application.
  2. Increase the timer by spam pressing +/=.
  3. Start the timer.

Expected behavior
The timer should always be displaying time in the form of min min: second second.

Suggestion
Set the timer increment limit to 59:30 minutes. This is because 1 hour matches are highly unrealistic anyway so longer times are probably not necessary.

Keycode 187 (+/=) is inconsistent across browsers

Describe the bug
In the application, +/= is used to increment the timer by 30 seconds. This is implemented as the key code 187 in the application JavaScript. However, this key code is not consistent across browsers, particularly Firefox:

image

To Reproduce
Steps to reproduce the behavior:

  1. Open the application in Firefox.
  2. Try to increment the timer using +/=. No changes appear for the timer.

Expected behavior
The timer should have been changed according to the shortcut.

Suggestion
Instead of using +/= as the shortcut, how about something like tab that is consistent across the major browsers in terms of key codes? Otherwise, just including key code 61 for Firefox will include other keys for the other browsers as well.

This would also entail changes to the keyboard layout diagram.

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.