Repository navigation
Conversation
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>
…s strip and request its pathways
…over and align it to the end of the strip Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ip slot below the course header
…p in its own pathways-strip folder
|
Thanks for the pull request, @ChrisChV! This repository is currently maintained by 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 approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo 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:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. DetailsWhere 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:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #2231 +/- ##
==========================================
+ Coverage 96.16% 99.13% +2.97%
==========================================
Files 368 398 +30
Lines 6019 5672 -347
Branches 1486 1447 -39
==========================================
- Hits 5788 5623 -165
+ Misses 222 49 -173
+ Partials 9 0 -9 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@ChrisChV @cassiezamparini Since this PR is part of Pathways, can we consider it approved from a product perspective? |
@itsjeyd It's in internal dev review |
|
@kdmccormick @brian-smith-tcril This is ready for your review |
|
Generally speaking, if this PR introduces a new feature, it should be ported onto the new frontend-base app in the If it's a bug fix, please check if the bug still exists in Apologies for the churn! |
…ourse pathways strip to them
1516856 to
bc679d0
Compare
# Conflicts: # src/plugin-slots/README.md # src/style.scss # src/tab-page/TabPage.test.jsx # src/tab-page/TabPage.tsx
|
@ChrisChV Do your latest changes fully address Adolfo's comment below? Just asking to understand if Ready for Review is the right status for this PR at the moment. |
|
@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
|
@itsjeyd Done! |
Description
Review only the changes of this PR: open-craft/frontend-app-learning@chris/fal-4397-course-pathway-strip...chris/fal-4398-pathway-tabs
It adds the pathway pages and the navigation between them. The content of the Progress and Achievements tabs comes in the next PRs.
deriveViewand the tab status type out of the courseTabPageintosrc/tab-page/utils.ts, and makes them generic/pathway/:pathwayId/outline,/pathway/:pathwayId/progressand/pathway/:pathwayId/achievements.TabPage: header with the pathway title and provider, loading and error states, the tabs navigation and the footer.org.openedx.frontend.learning.pathway_tab_links.v1plugin slotSupporting Information
Testing instructions
Notes
Stack