openedx / openedx/frontend-app-learner-dashboard

Discover New header link reloads instead of soft routing

Open
#869 0 comments 0 reactions 1 assignee View on GitHub

@arbrandes is already working on this.

Since Aug 30, 2026.

Dominant language
JavaScript
Stars
14
Forks
208
Avg merge
59m
Merged PRs (30d)
2

Description

Description

Clicking "Discover New" in the header from the Learner Dashboard navigates to the catalog with a full page reload, instead of a client-side route change, even when the catalog app is loaded into the same shell (as in frontend-template-site).

DiscoverLinkMenuItem builds its href from platformSettings.courseSearchUrl, which the LMS sets to an absolute {CATALOG_MICROFRONTEND_URL}/courses URL, so the browser always leaves the page. It should link by the org.openedx.frontend.role.courses route role instead, falling back to the LMS-provided URL when that role doesn't resolve, since LinkMenuItem renders nothing for an unresolvable role.

That change alone isn't sufficient: LinkMenuItem in frontend-base passes the resolved URL straight to Paragon's Hyperlink and NavLink, so in-site paths still render as plain anchors. It needs to use getLinkProps the way LoginButton already does, which requires a companion fix in openedx/frontend-base.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.