GithubHelp home page GithubHelp logo

Comments (7)

ranelpadon avatar ranelpadon commented on August 16, 2024

@iandunn Sorry for the late reply. Been busy with work recently. On your concerns:

  • Why would you use Cmd+Backspace if you could clear also the current line/everything with Tab or Esc as per the instructions in the text field? Is it more convenient for you to type?
  • Does using Tab or Esc instead of Cmd+Backspace have similar WPM result? I think it should be since Tab or Esc will reset all metrics:
resetCurrentPhraseMetrics: function() {
    this.hitsCorrect = 0;
    this.hitsWrong = 0;
    this.typedPhrase = '';
    this.isInputCorrect = true;
},

Thanks

from ngram-type.

iandunn avatar iandunn commented on August 16, 2024

No worries, thanks for the reply!

Why would you use Cmd+Backspace ...?

It's what I'm already familiar with, since I use it in all text editing. That's easier for me that remembering things that are unique to a specific site.

Does using Tab or Esc instead of Cmd+Backspace have similar WPM result?

I tested with esc and it did reset everything correctly 👍🏻

Given that, I'd consider this a pretty low priority, possibly low enough that it's not worth doing.

from ngram-type.

ranelpadon avatar ranelpadon commented on August 16, 2024

@iandunn I got the idea of Tab key to reset the texts in MonkeyType:

Screen Shot 2021-10-01 at 11 31 40 PM

Ah I see:

It's what I'm already familiar with, since I use it in all text editing.

In the meantime, I think you could use Tab key since it's very convenient to type also (or Esc if you prefer it), and less keystrokes than Cmd+Backspace. I'll try to replicate your issue also and see if I could have a workaround.

Thanks for your feedback.

from ngram-type.

iandunn avatar iandunn commented on August 16, 2024

Sounds good, thanks!

from ngram-type.

ranelpadon avatar ranelpadon commented on August 16, 2024

@iandunn Based on the code, anytime the text field is cleared (in whatever way), all stats will be cleared also:

watch: {
   ...

   typedPhrase: function() {
        // Make sure to reset any error color when moving to next lesson,
        // lesson being reset, all chars being deleted, etc. 
        if (!this.typedPhrase.length) {
            this.resetCurrentPhraseMetrics();
        }
    }
}

So, in these steps:

    1. Set Top 50 bigrams, combination 10, repetition 1, wpm 80, accuracy 100
    2. Slowly type all of the bigrams except the last one
    3. Pause for 15 seconds
    4. Press command backspace to delete all the text you typed
    5. Quickly type all the bigrams

Step 1-3 will be reset once you do Step 4, hence the WPM is effectively based on Step 5 only. Theoretically, should have no difference when using Tab, Esc, Cmd+Backspace. So, you could use any of them. Let me know if it is still not the same in your case.

Since the slow typing in Step 1-3 is ignored, only the fast typing in Step 5 is computed which is correct/reasonable:

The WPM should be very low, but instead it's much higher.

Unless you're expecting Step 1-3 to be included in the computation even though you reset/cleared your previously typed words in Step 4? Resetting stats in Step 1-3 is more sensible though. Otherwise, the computed WPM will be too low since we're still including old/cleared data.

from ngram-type.

ranelpadon avatar ranelpadon commented on August 16, 2024

Closing this since this is not really an issue. Let me know if you think otherwise. Thanks :)

from ngram-type.

iandunn avatar iandunn commented on August 16, 2024

👍🏻

from ngram-type.

Related Issues (20)

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.