Skip to content

feat: filter problem list by solved/unsolved status #11

Description

@Jatin-Shihora

You can filter by difficulty but not by completion status. If you want to find unsolved problems to work on, or review problems you've already solved, there's no way to do that without scrolling through the entire list and checking the status icon on each row.

What should happen
Add a status filter that cycles through: All > Solved > Attempted > Unsolved. Could use the s key (similar to how d cycles difficulty). The active filter should be visible in the header or status bar.

Things to consider

  • The problem list already shows status icons (checkmark for solved, X for attempted, blank for unsolved). The data is there, it just needs a filter
  • Check models/problem.py for the ProblemSummary model to see what status field is available
  • Should work in combination with the difficulty filter
  • The status filter indicator should appear next to the difficulty filter in the UI
  • Reset the cursor position to the top when changing filters, since the filtered list changes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions