You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Enhancement] Add a combined "Total" metric line to the [HISTORICAL_DATA] chart for clearer activity tracking #359
The [HISTORICAL_DATA] section on the user profile currently tracks cumulative solved questions broken down by individual difficulties (Easy, Medium, Hard) using shell-script style view toggles (./weekly.sh, ./monthly.sh, ./overall.sh).
Because the graph displays separate lines for each difficulty without a primary combined total, it is difficult to quickly evaluate at a glance whether a user had actual activity or a flat plateau on a given day without mentally adding up the individual counts.
2. Proposed Solution
Introduce a combined Total Solved dataset line into the Chart.js configuration alongside or above the existing difficulty breakdown lines.
Compute the total dynamically (either via backend sync updates or frontend summation of Easy + Medium + Hard for each timeline entry).
Style the Total line with a distinct, prominent color (e.g., bright blue/cyan) so student activity levels and plateau periods are instantly noticeable.
Please review our CONTRIBUTING.md guidelines before getting started.
A maintainer will review this issue shortly. If you would like to work on the issue yourself, please leave a comment requesting assignment.
Issue Assignment Policy
The issue creator is given the first priority to work on their issue.
If the creator declines or does not request assignment, the issue will be assigned to others in the order of requests received.
Please do not submit PRs or begin work until you are officially assigned.
Note: This project is currently maintained by a solo maintainer, so reviews, assignments, and responses may sometimes take a little time. Thanks for your patience.
I think this is a nice improvement and I'd be happy to have it implemented.
Before working on this, could you also open a separate issue (or expand this one if you prefer) to align the graph colours with the rest of the application? The main leaderboard already uses colours that exactly match LeetCode's difficulty colours, whereas the charts on the user profile and the comparison modal bar graphs currently use a slightly different palette.
The idea would be to first update both the user profile graphs and the comparison modal bar graphs to use the same colour scheme as the leaderboard, and then implement the new Total Solved line on top of that. This will keep the visual theme consistent across the application.
Activity
github-actions commentedon Jul 23, 2026
Thank you for opening an issue.
Please review our
CONTRIBUTING.mdguidelines before getting started.A maintainer will review this issue shortly. If you would like to work on the issue yourself, please leave a comment requesting assignment.
Issue Assignment Policy
jagdish-15 commentedon Jul 24, 2026
I think this is a nice improvement and I'd be happy to have it implemented.
Before working on this, could you also open a separate issue (or expand this one if you prefer) to align the graph colours with the rest of the application? The main leaderboard already uses colours that exactly match LeetCode's difficulty colours, whereas the charts on the user profile and the comparison modal bar graphs currently use a slightly different palette.
The idea would be to first update both the user profile graphs and the comparison modal bar graphs to use the same colour scheme as the leaderboard, and then implement the new Total Solved line on top of that. This will keep the visual theme consistent across the application.
TanCodeX commentedon Jul 25, 2026
@jagdish-15 Please assign me this under gssoc.
aaniya22 commentedon Jul 28, 2026
pls assign this to me under gssoc
Yashaswini-K-P commentedon Jul 30, 2026
@jagdish created a separate issue for colour scheme
github-actions commentedon Aug 15, 2026
This issue has been inactive for 14 days and has been marked as stale. To keep this issue open, please leave a comment.
Yashaswini-K-P commentedon Aug 15, 2026
working