Skip to content

feat: Pathway progress & Pathway achievements pages - #2230

Open
ChrisChV wants to merge 23 commits into
openedx:masterfrom
open-craft:chris/fal-4398-pathways-progress-achievements
Open

ChrisChV wants to merge 23 commits into
openedx:masterfrom
open-craft:chris/fal-4398-pathways-progress-achievements

Conversation

@ChrisChV

@ChrisChV ChrisChV commented Oct 26, 2026 •

Copy link
Copy Markdown

Description

Review these commits: https://github.com/openedx/frontend-app-learning/pull/2230/changes/fc95bb5db39c19db61db74382352babfbbece639..8bcd114d125127a2b81d1e72be2fd4acacff4dc6

Adds the Progress and Achievements tabs of the pathway pages.

Progress tab

  • Completion card with a donut showing the completed items of the pathway.
  • Grades table with the progress, pass grade and current grade of each item, and a link to its details.
  • Side card that links to the Achievements tab, or says that none have been earned yet.
  • PathwayProgressRing: a reusable SVG ring, used by both the donut and the grades table.
image

Achievements tab

  • Grid of certificate cards. The certificate of the pathway itself is highlighted.
image

Supporting information

Testing Instructions

Notes

  • TODO: The backend still needs to be connected once it's ready.
  • TODO: It's missing the empty state of the achievements page. Waiting for a response.
  • I used Claude Opus 5.5 to review my code and create tests.

ChrisChV and others added 17 commits October 4, 2026 14:16
Show, above the learning header, the pathways that include the current
course and in which the learner is enrolled. The labels that do not fit
are moved to a "+N" popover, following the same logic as the course card
strip in the learner dashboard.

- Add the `course-pathways` data layer: `getPathwaysByCourse` in the API
  layer, which returns an empty map until the backend exists, and the
  `useCoursePathways` hook, which extracts the course pathways from it.
- Add the `CoursePathwaysStrip` and `MorePathwaysPopover` components and
  the `useVisiblePathways` hook to split the visible and hidden pathways.
- Add the `org.openedx.frontend.learning.course_pathways_strip.v1` plugin
  slot, rendered by `TabPage` once the course page has loaded.
- Add mock pathways as test fixtures.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…over and align it to the end of the strip

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Oct 26, 2026
@openedx-webhooks

Copy link
Copy Markdown

Thanks for the pull request, @ChrisChV!

This repository is currently maintained by @openedx/committers-frontend-app-learning.

Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review.

🔘 Get product approval

If you haven't already, check this list to see if your contribution needs to go through the product review process.

  • If it does, you'll need to submit a product proposal for your contribution, and have it reviewed by the Product Working Group.
    • This process (including the steps you'll need to take) is documented here.
  • If it doesn't, simply proceed with the next step.
🔘 Provide context

To help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:

  • Dependencies

    This PR must be merged before / after / at the same time as ...

  • Blockers

    This PR is waiting for OEP-1234 to be accepted.

  • Timeline information

    This PR must be merged by XX date because ...

  • Partner information

    This is for a course on edx.org.

  • Supporting documentation
  • Relevant Open edX discussion forum threads
🔘 Get a green build

If one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green.

Details
Where can I find more information?

If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources:

When can I expect my changes to be merged?

Our goal is to get community contributions seen and reviewed as efficiently as possible.

However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:

  • The size and impact of the changes that it introduces
  • The need for product review
  • Maintenance status of the parent repository

💡 As a result it may take up to several weeks or months to complete a review and merge your PR.

@github-project-automation github-project-automation Bot moved this to Needs Triage in Contributions Oct 26, 2026
@ChrisChV ChrisChV changed the title Chris/fal 4398 pathways progress achievements feat: Pathway progress & Pathway achievements pages Oct 26, 2026
@codecov

codecov Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.81529% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.18%. Comparing base (230799e) to head (8bcd114).

Files with missing lines Patch % Lines
src/pathways/PathwayOutline.tsx 0.00% 7 Missing ⚠️
src/pathways/data/api.ts 57.14% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2230      +/-   ##
==========================================
+ Coverage   96.16%   96.18%   +0.02%     
==========================================
  Files         368      398      +30     
  Lines        6019     6315     +296     
  Branches     1486     1531      +45     
==========================================
+ Hits         5788     6074     +286     
- Misses        222      232      +10     
  Partials        9        9              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@itsjeyd

itsjeyd commented Oct 29, 2026

Copy link
Copy Markdown

Hey @ChrisChV, if is this part of FC-0137 could you please add that reference to the PR title?

Also, what will we need to do with this in terms of product review? Have the corresponding designs been approved already?

@itsjeyd itsjeyd added the product review PR requires product review before merging label Oct 29, 2026
@itsjeyd itsjeyd moved this from Needs Triage to Waiting on Author in Contributions Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

open-source-contribution PR author is not from Axim or 2U product review PR requires product review before merging

Projects

Status: Waiting on Author

Development

Successfully merging this pull request may close these issues.

3 participants