Skip to content

FAL-1983 Initial fork + update dashboard nav link text

Ghost User requested to merge samuel/update-header-wording into cloudera

FAL-1983

Update nav link text as requested by the client.

This is a new fork that we need to maintain, currently based off upstream v2.2.2 : https://github.com/edx/frontend-component-header

Installation notes:

Follow https://edx.readthedocs.io/projects/edx-developer-docs/en/latest/developers_guide/micro_frontends_in_open_edx.html#overriding-brand-specific-elements to install in the frontend environment.

It's not currently working for a local file install, or from git. See https://discuss.openedx.org/t/mfe-header-override/5125 for the current discussion.

Right now, the workaround is to run npm install && npm run build to generate the dist directory, and then publish to npm. I guess we could check dist/ into git, but that's really messy. We can work out a better method when we need to do more customisations then a simple nav link text change.

This is published to npm at https://www.npmjs.com/package/frontend-component-header-cloudera

Test instructions:

  • test on stage
  • verify that the 'courses' nav link that points to the dashboard now reads 'My Training'.

Reviewers:

Edited by Ghost User

Merge request reports