Add time tracking statistics for flashcard reviews#17
Draft
Conversation
Co-authored-by: Justtolook <22642772+Justtolook@users.noreply.github.com>
Co-authored-by: Justtolook <22642772+Justtolook@users.noreply.github.com>
…lculation Co-authored-by: Justtolook <22642772+Justtolook@users.noreply.github.com>
Co-authored-by: Justtolook <22642772+Justtolook@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add statistics for time spent reviewing flashcards
Add time tracking statistics for flashcard reviews
Feb 8, 2026
Justtolook
requested changes
Feb 8, 2026
| }; | ||
|
|
||
| return <div> | ||
| {/* Summary Statistics */} |
Owner
There was a problem hiding this comment.
keep consistent styling (see review statistics as comparison)
Author
There was a problem hiding this comment.
Updated in f65c53e. The summary panel now uses consistent styling with Review Statistics section:
- Changed to
background-primary(matches stat cards) - Added
stat-cardclass - Text sizes:
text-[10px] md:text-xs uppercase tracking-wide - Font:
text-lg md:text-xl font-bold - Spacing:
mb-1 md:mb-2,gap-3 md:gap-4
| </div> | ||
| </div> | ||
|
|
||
| {/* Time Spent Card */} |
Owner
There was a problem hiding this comment.
add a second data series to this chart that shows the cumulative time spent as an area that uses the right axis
Author
There was a problem hiding this comment.
Added in f65c53e. The chart now displays:
- Daily time bars (amber, left axis in minutes)
- Cumulative time area (blue gradient, right axis in hours)
- Smooth curve overlay showing total accumulated time
- Gradient fill with opacity 0.5 to 0.1
- Legend at top showing both series
- Dual tooltips: "X.X minutes (N reviews)" for bars, "X.XX hours total" for area
Co-authored-by: Justtolook <22642772+Justtolook@users.noreply.github.com>
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.
The plugin lacked time-based analytics. RemNote SDK exposes
responseTimeincard.repetitionHistorybut it wasn't being utilized.Changes
Data Processing (
src/lib/dataProcessing.ts)getTimeSpentPerDay(): AggregatesresponseTimeby day with review countscalculateTimeStatsSummary(): Computes total time, averages (per day/study day/card), cards/minute rate, study day percentageformatTime(): Multi-format time formatter (short: "1h 23m", hours: "1.38h", seconds: "34.39s")UI Components (
src/widgets/statistics.tsx)Implementation Notes
lg:grid-cols-4tolg:grid-cols-5for new metric cardresponseTime(optional field in SDK)Documentation
Updated README with v1.6.0 changelog entry and feature descriptions.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.