Skip to content

Show overall curriculum progress in the TUI #15

Closed

Description

@abhiksark

Part of the 0.3.0 adoption roadmap — Motivation/retention.

Why (adoption impact)

Visible progress is a strong motivator to keep going (and to come back). Today progress is shown only per topic; there's no always-visible "you've done X of 292 overall" signal.

Current state

  • pylings/widgets/progress.py already defines a ProgressBar widget (update_progress(completed, total)).
  • pylings/screens/track.py mounts it (yield ProgressBar(id="progress")) and updates it with the current topic's counts: done, len(exs) where exs is the topic's exercises (track.py ~line 85).
  • Global completion data is available: len(self.app.state.completed) vs total exercises in the manifest.

Scope / acceptance criteria

  • Show overall curriculum progress (total completed / total exercises, with %) somewhere persistent in the TUI — either alongside the per-topic bar or in a header/footer.
  • Keep the existing per-topic bar (don't regress it) or clearly distinguish topic vs overall.
  • Update live as exercises are completed.
  • Reuse the existing ProgressBar widget where reasonable.

Where to look

  • pylings/widgets/progress.py, pylings/screens/track.py (mounting + update call), pylings/core/state.py (completed), pylings/core/manifest.py (total count).

Verify

  • Complete an exercise and watch the overall count/% tick up; matches pylings list totals.

Difficulty

enhancement · good first issue — small, self-contained TUI change; widget already exists.

Activity

  1. added this to the 0.3.0 milestone on Jun 2, 2026
  2. added
    enhancement
    good first issue
    on Jun 2, 2026
  3. added a commit that references this issue on Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions