Git Product home page Git Product logo

frontend-app-learner-record's Introduction

frontend-app-learner-record

Build Status Codecov license

Purpose

The Learner Record provides information about the enrolled programs for a user. It contains views for a learners current status in a program, their current grade, and the ability to share any earned credentials either publically or with institutions.

This is the Learner Record micro-frontend, currently under development by edX.

Getting Started

Developing

One Time Setup

# Clone the repository via SSH
git clone [email protected]:openedx/frontend-app-learner-record.git

# Enter the directory
  cd frontend-app-learner-record

# Clean Install dependencies
  npm ci

# Start the Learner Record MFE
  npm start

The page will then be hosted on http://localhost:1990/

Every time you develop something in this repo

# Grab the latest code
  git fetch
  git pull

# Make a new branch for your changes
  git checkout -b <your_github_username>/<short_description>

# Clean install/update the dev requirements
  npm ci

# Start the Learner Record MFE
  npm start

# Using your favorite editor, edit the code to make your change.
  vim ...

# Run the tests after making changes (to verify the status before you make any changes)
  npm test

# Commit all your changes
  git commit ...
  git push

# Open a PR and ask for review after the github CI has passed.

Environment Variables/Setup Notes

Currently, this MFE is not intergrated into the devstack, and must be run locally. This MFE requires credentials to be running, and will use a REST API from the Credentials IDA located at credentials/apps/records/rest_api.

Credentials uses 2 enviroment variables to link to this MFE:

  • USE_LEARNER_RECORD_MFE -- Toggles the navigation in credentials to redirect to this MFE
  • LEARNER_RECORD_MFE_RECORDS_PAGE_URL -- The URL for the base URL of this MFE

More details for these flags can be found in the base configuration of credentials: credentials/settings/base This MFE has 2 flags of its own:

  • SUPPORT_URL_LEARNER_RECORDS -- A link to a help/support center for learners who run into problems whilst trying to share their records
  • USE_LR_MFE -- A toggle that when on, uses the MFE to host shared records instead of the the old UI inside of credentials

Project Structure

The source for this project is organized into nested submodules according to the ADR Feature-based Application Organization.

Deploying

Production Build

The production build is created with npm run build.

General deployment information can be found in the Microfrontend onboarding documentation, along with other MFE implementation details.

Getting Help

More Help

If you're having trouble, we have discussion forums at https://discuss.openedx.org where you can connect with others in the community.

Our real-time conversations are on Slack. You can request a Slack invitation, then join our community Slack workspace.

For anything non-trivial, the best path is to open an issue in this repository with as many details about the issue you are facing as you can provide.

https://github.com/openedx/frontend-app-learner-record/issues

For more information about these options, see the Getting Help page.

License

The code in this repository is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE unless otherwise noted.

Please see LICENSE.txt for details.

Contributing

Contributions are very welcome. Please read How To Contribute for details.

This project is currently accepting all types of contributions, bug fixes, security fixes, maintenance work, or new features. However, please make sure to have a discussion about your new feature idea with the maintainers prior to beginning development to maximize the chances of your change being accepted. You can start a conversation by creating a new issue on this repo summarizing your idea.

The Open edX Code of Conduct

All community members are expected to follow the Open edX Code of Conduct.

People

The assigned maintainers for this component and other project details may be found in Backstage. Backstage pulls this data from the catalog-info.yaml file in this repo.

Reporting Security Issues

Please do not report security issues in public. Please email [email protected].

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.