-
Notifications
You must be signed in to change notification settings - Fork 0
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
Base-Functionality for the Extension #1
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
now using a function that returns praising words randomly
add nerly every KeystrokeData instead of only the total-keystroke-count
… year- and month-timers
MhouneyLH
added a commit
that referenced
this pull request
Jan 6, 2024
* feat: using interface instead of map for the keystrokes * feat: add class for KeystrokeTimeSpans * feat: add tests for keystroke timespan class * feat: add keystroke repository and tests for it * fix: keystroke repository is now a singleton and add test for this * feat: format every file and use repository instead of weird interface manager * fix: remove resetOneTimespanKeystrokesAmount() * refactor: add pressedKeys in KeystrokeTimespan and group tests of this class (+ add tests for pressedKeys) * feat: add addPressedKey() and addPressedKeyToAll() (+ tests for them) * feat: add resetPressedKeys() and collect every pressed key the most pressed keys + reset them after time limit (+ add test for new method) * feat: add getMostOftenPressedKeysInTotalWithCount() in the repository (+ add test for this method) * refactor: add correct method for calculating the average wpm (+ add tests for the class) * fix: message for pressed key analytics * feat: add wpmStatusBar and rearrange the code in the extension.ts file (+ add test for new class) * feat: add keystroke count status bar and refactor extension.ts for cleaner method calling * refactor: put vscode_utils and utils in one single file * refactor: remove explicit count member in keystroke time span (now using pressedKey-map directly) * test: add test for map initializer in keystroketimespan * refactor: add messages functions in the correct file + add tests for them * wip * feat: add support for special key characters like (enter, backspace, etc.) + add tests for these cases * fix PR comments #1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Examples:
![image](https://user-images.githubusercontent.com/78447003/192107874-ec10f095-3cd2-4dc7-b7c4-329da1ba02ed.png)
![image](https://user-images.githubusercontent.com/78447003/192107910-730aa7c7-419f-438b-b9ce-00b7981f92c6.png)
![image](https://user-images.githubusercontent.com/78447003/192107904-f0b01ca5-78d9-4236-8624-f403e8095d5b.png)
![image](https://user-images.githubusercontent.com/78447003/192111752-81ddd646-5ad0-4c01-b972-0068c1ebf125.png)