Skip to content

[Enhancement] Add a combined "Total" metric line to the [HISTORICAL_DATA] chart for clearer activity tracking #359

Description

@Yashaswini-K-P

Description

1. The Core Idea & Current Limitation

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.

Metadata

Metadata

Labels

FrontendTask mainly involving frontendtype:featureNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions