Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloadable detailed data #45

Open
didoesdigital opened this issue May 9, 2021 · 0 comments
Open

Downloadable detailed data #45

didoesdigital opened this issue May 9, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@didoesdigital
Copy link
Owner

Overview

People want to see more detailed data. Better data can improve feedback loops for more effective and efficient practice.

Problem

Local storage space is limited.

Approaches

One option is: "creating a plover plugin, that expects for session data to be manually loaded in after a typey-type session (download json, load into local plugin), that persists on the local machine over time and allows offline practice"

During a session, we could record detailed data in the app (not local storage) and offer a button somewhere (progress page?) to download the detailed progress data to use elsewhere. This gives users responsibility and ownership of their long-term progress data.

Considerations:

  • Keep it flexible so people can use it in whatever Plover plugins or programs they want to whatever end.
  • An accidental page refresh or closed tab will lose current session data. Maybe we could store latest/previous session in local storage and whenever Typey Type hits local storage limits, that's the first piece of local storage data to dump.
  • Version the data format so we can make changes over time, such as adding additional fields of interest (examples below)

Formats?

{
  "version": "0.0.1",
  "data": {
    "metWords": [
      {
         "wordOrPhrase": "list",
         "successfullyTypedCount": 12,
         "misstrokes": {
           " lift": 4,
           " Lys-​": 1,
           " HR*EUFT​": 3,
         }
      }
    ]
  }
}
{
  "version": "0.0.2",
  "data": {
    "metWords": [
      {
         "wordOrPhrase": "list",
         "successfullyTyped": [
           1526868810,
           1620520005,
           1620519996
         ],
         "misstrokes": {
           " lift": [1620520000, 1620519990],
           " Lys-​": [1526868800],
           " HR*EUFT​": [1526868610],
         }
      }
    ]
  }
}
@didoesdigital didoesdigital added the enhancement New feature or request label May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant