Skip to content

feat: Pathway achievements page [FC-0137] - #2232

Open
ChrisChV wants to merge 38 commits into
openedx:masterfrom
open-craft:chris/fal-4398-pathway-achievements-page
Open

ChrisChV wants to merge 38 commits into
openedx:masterfrom
open-craft:chris/fal-4398-pathway-achievements-page

Conversation

@ChrisChV

@ChrisChV ChrisChV commented Oct 29, 2026 •

Copy link
Copy Markdown

Description

Review only the changes of this PR: open-craft/frontend-app-learning@chris/fal-4398-pathway-tabs...chris/fal-4398-pathway-achievements-page

It adds the content of the Achievements tab of the pathway pages.

  • Shows a grid with a card for each certificate the learner has earned in the pathway
  • The certificate of the pathway itself is highlighted
image image

Supporting information

Testing instructions

Notes

  • TODO: The backend still needs to be connected once it's ready.
  • TODO: The "View certificate" button does not link to the certificate yet.
  • I used Claude Opus 5.5 to review my code and create tests.

Stack

ChrisChV and others added 13 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 29, 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 29, 2026
@ChrisChV ChrisChV changed the title Chris/fal 4398 pathway achievements page feat: Pathway achievements page [FC-0137] Oct 29, 2026
@codecov

codecov Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.49624% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 99.19%. Comparing base (230799e) to head (36011a7).
⚠️ Report is 19 commits behind head on master.

Files with missing lines Patch % Lines
src/courseware/course/sequence/Sequence.jsx 33.33% 2 Missing ⚠️
...urse-home/courseware-search/map-search-response.js 50.00% 1 Missing ⚠️
...c/courseware/course/breadcrumbs/BreadcrumbItem.tsx 87.50% 1 Missing ⚠️
src/courseware/course/sequence/SequenceContent.jsx 0.00% 1 Missing ⚠️
.../courseware/course/sequence/Unit/ContentIFrame.jsx 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2232      +/-   ##
==========================================
+ Coverage   96.16%   99.19%   +3.02%     
==========================================
  Files         368      401      +33     
  Lines        6019     5694     -325     
  Branches     1486     1504      +18     
==========================================
- Hits         5788     5648     -140     
+ Misses        222       46     -176     
+ Partials        9        0       -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 Nov 6, 2026

Copy link
Copy Markdown

@ChrisChV @cassiezamparini Since this PR is part of Pathways, can we consider it approved from a product perspective?

@itsjeyd itsjeyd moved this from Needs Triage to Waiting on Author in Contributions Nov 6, 2026
@cassiezamparini

Copy link
Copy Markdown

Leaving this to @ChrisChV to answer :)

@ChrisChV
ChrisChV force-pushed the chris/fal-4398-pathway-achievements-page branch from 0a4002a to c3ad0c7 Compare December 2, 2026 01:45
@navinkarkera

Copy link
Copy Markdown
Contributor

@cassiezamparini @ChrisChV I replaced both inline SVGs with Paragon icons, used Article for the course content icon to match the Learning MFE, and CardMembership for the certificate cards.

@itsjeyd

itsjeyd commented Dec 3, 2026

Copy link
Copy Markdown

@ChrisChV @navinkarkera A similar question here, will you still need to address Adolfo's comment below or did your latest batch of commits already take care of that?

@ChrisChV ChrisChV moved this from Ready for Review to Waiting on Author in Contributions Dec 3, 2026
@ChrisChV

ChrisChV commented Dec 3, 2026

Copy link
Copy Markdown
Author

@itsjeyd It is in progress. I have changed the status.

…8-pathway-tabs

# Conflicts:
#	src/constants.ts
#	src/index.jsx
#	src/index.test.jsx
#	src/pathways/pathways-strip/CoursePathwaysStrip.test.tsx
#	src/pathways/pathways-strip/CoursePathwaysStrip.tsx
#	src/pathways/pathways-strip/MorePathwaysPopover.test.tsx
#	src/plugin-slots/README.md
#	src/style.scss
#	src/tab-page/TabPage.tsx
…y-achievements-page

# Conflicts:
#	src/index.jsx
#	src/index.test.jsx
#	src/pages/PathwayAchievementsPage.tsx
#	src/pages/PathwayPages.test.tsx
#	src/pathways/data/apiHooks.test.tsx
@ChrisChV

ChrisChV commented Dec 3, 2026

Copy link
Copy Markdown
Author

@itsjeyd Done!

@ChrisChV ChrisChV moved this from Waiting on Author to Ready for Review in Contributions Dec 3, 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 waiting for eng review PR is ready for review. Review and merge it, or suggest changes.

Projects

Status: Ready for Review
Status: Upstream review

Development

Successfully merging this pull request may close these issues.

7 participants