Skip to content

feat: show solve progress stats on the problem list screen #12

Description

@Jatin-Shihora

There's no summary of your progress anywhere in the app. You can't see how many problems you've solved out of the total, or your breakdown by difficulty. You'd have to count manually or go to the LeetCode website.

What should happen
Show a stats line somewhere on the problem list screen (header area or status bar) like:

Solved: 142/3271  |  Easy: 58  Medium: 67  Hard: 17

Things to consider

  • The problem list data already includes the solved status for each problem. You can compute these counts from the loaded data
  • Don't make an extra API call for this. Calculate from the problem list that's already fetched
  • Keep it compact since screen space is limited. One line in the header or status bar area is enough
  • The counts should update when the list is refreshed with r
  • If difficulty filter is active, you could optionally show filtered counts vs total counts

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions