feat: add enhanced WPM stats with peak, hourly projection, and streak#3
Open
feat: add enhanced WPM stats with peak, hourly projection, and streak#3
Conversation
…d writing streak Add three new metrics to the writing stats panel: - Peak WPM: tracks highest writing speed achieved in session - Words/Hour: extrapolates current pace to hourly rate - Writing Streak: displays consecutive minutes maintaining >20 WPM Stats dynamically appear as user accumulates data and reset when timer is reset. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Major improvements: - Remove example.txt clutter on initial load for clean start - Fix word/char count to update in real-time as user types - Remove flawed writing streak feature for cleaner focus - Simplify color scheme to pure monochrome (minimalist) - Reduce UI chrome with smaller buttons and lighter typography - Clean paper backgrounds without gradients/shadows - Add clear labels to stats (words, chars, wpm, peak) - Fix useEffect dependency to prevent stale closure bugs Stats now show: words, chars, wpm, peak wpm, words/hour projection Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Handle `beforeinput` events for `deleteContentBackward` and `deleteContentForward` to support mobile/virtual keyboards. - Prevent text replacement when selecting text and typing (overwriting selection). - Add `onCut` handler to prevent cutting text. - Synchronize shake animation duration to 400ms to match CSS. - Ensure toast notifications appear for all blocked actions. Co-authored-by: Aarekaz <36888347+Aarekaz@users.noreply.github.com>
…6614 Make No Delete Mode robust against Cut and Selection Replacement
This file contains hidden or 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
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
Added three new real-time metrics to the writing stats panel to provide deeper insights into writing performance:
All stats dynamically appear as user accumulates writing data and automatically reset when the timer is reset or a new session begins. The implementation maintains the app's elegant, minimalist design aesthetic.