* build: switch from travis to Github actions.
Subsequent commits will clean up some of the 'npm-dist' code that we're no longer using.
* build: remove npm distribution from repository
Once upon a time, we published the components of the profile MFE to NPM because we believed we might want to embed them in frontend-app-learner-portal. We abandoned that idea about two years ago, but never cleaned up the experiment of publishing the MFE to npm.
This commit does that. The prior commit on this branch disabled it by cutting over from travis to github actions - this commit just finishes the job.
* fix: cleaning up a bad URL for order history.
* docs: cleaning up a documentation URL in openedx.yml
* fix: removing download of Roboto font
None of our other MFEs do this; it was left over from an early design decision. It also doesn't appear to be having any effect, as I think this font is included via Paragon, if at all. It may also be that it's a secondary font choice after something else already available. Regardless, removing these two lines had no effect on the look and feel of the MFE, and reduces bundle size.
* fix: using updated logo instead of pre-rebrand edX logo.
This now uses the FAVICON_URL environment variable like all our other MFEs.
* build: cleanup environment variables
Setting 'null' to an empty string '' (which is falsy and the right thing here)
* fix: clean up unused dependencies
- Removing a number of packages from dependencies that simply were not in use.
- Removing 'font-awesome' dependency which we didn't actually need in our stylesheet - we don't use it, though we were importing it and setting a variable from it. Not sure why it was ever there.
* fix: remove unused dependency
We get 'history' through frontend-platform.
* fix(deps): update font awesome
* test: fixing broken snapshot from font-awesome upgrade
I visually verified the facebook icon is fine by loading up the app.
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: David Joy <davjoy@gmail.com>
[MICROBA-1321]
* Add two new configuration settings: `ENABLE_LEARNER_RECORD_MFE` and `LEARNER_RECORD_MFE_BASE_URL`
* Add function to `ProfilePage.jsx` to determine where learners should be routed (Credentials or Learner Record MFE) when the `View My Records` button is pressed on the profile page.
PurgeCSS doesn’t work with the latest version of PostCSS, far as I can tell. It ends up removing too many classes. It has always been sort of problematic and we only use it in a few MFEs, so I think it’s time for it to go.
* build: upgrades frontend build to v7 and paragon to v16
* test: update test snapshots
Three things happening here:
- The implementation of the external link icon in Hyperlink was updated to have an SVG icon instead of font-awesome
- The implementation of StatefulButton also changed to use SVG icons instead of font-awesome
- Dropdown appears to be setting an onKeyDown handler that it wasn’t before. This is fine.