Skip to content

feat(web): list solved problems on the Progress page - #27

Merged
RyPope merged 1 commit into
mainfrom
feat/solved-list
Oct 31, 2026
Merged

RyPope merged 1 commit into
mainfrom
feat/solved-list

Conversation

@RyPope

@RyPope RyPope commented Oct 31, 2026

Copy link
Copy Markdown
Owner

The Progress page showed how many problems you had solved, but not which ones.

Changes

  • GET /api/stats returns solved: each solved problem's id, title, difficulty, first accepted time, and the languages it was accepted in, most recent first.
  • The Progress page has a Solved problems card. It shows the 10 most recent with a "Show all" toggle, and each row links to its problem. The languages column hides on narrow screens.
  • The Solved / Easy / Medium / Hard counts link to the problem list filtered to solved problems (of that difficulty).
  • Regenerated web/openapi.json and the client types; CHANGELOG entry.

Testing

  • New backend tests: the solved list counts only accepted submissions, records the first accept and every accepted language, and is empty before any accept.
  • make lint, backend (375) and web tests pass.
  • Checked in the running app at narrow and desktop widths; the Easy link opens /?status=solved&difficulty=Easy with the right rows.

The stats endpoint returns every solved problem with its first accepted
time and the languages it was accepted in. The Progress page shows them,
most recent first, and the solved counts link to the problem list
filtered to solved problems.
@RyPope
RyPope merged commit a0e317e into main Oct 31, 2026
5 checks passed
@RyPope
RyPope deleted the feat/solved-list branch October 31, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant