https://github.com/openedx/edx-ui-toolkit
A JavaScript toolkit for building edX user interfaces.
https://github.com/openedx/edx-ui-toolkit
Last synced: 6 months ago
JSON representation
A JavaScript toolkit for building edX user interfaces.
- Host: GitHub
- URL: https://github.com/openedx/edx-ui-toolkit
- Owner: openedx
- License: apache-2.0
- Created: 2015-08-13T07:28:13.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2025-03-17T18:50:25.000Z (about 1 year ago)
- Last Synced: 2025-03-21T18:03:11.832Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://ui-toolkit.edx.org
- Size: 3.67 MB
- Stars: 18
- Watchers: 103
- Forks: 14
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
# edX UI Toolkit
A JavaScript toolkit for building edX user interfaces.
[](https://badge.fury.io/gh/edx%2Fedx-ui-toolkit)
[](https://badge.fury.io/js/edx-ui-toolkit)
[](https://badge.fury.io/bo/edx-ui-toolkit)
[](https://coveralls.io/r/edx/edx-ui-toolkit?branch=master)
- - -
## Table of Contents
1. [Overview](#overview)
2. [License](#license)
3. [Contributions](#contributions)
5. [Getting Started](#getting-started)
6. [Linting](#linting)
7. [Tests](#tests)
8. [Documentation](#documentation)
- - -
## Overview
This library contains the following:
* Backbone views to implement patterns as defined by the edX Pattern Library: http://ux.edx.org/
* Utility methods to simplify the creation and testing of user interfaces
## License
The code in this repository uses the Apache 2.0 license unless otherwise
noted. Please see the [LICENSE file](https://github.com/openedx/edx-ui-toolkit/blob/master/LICENSE) for details.
## Contributions
Contributions are very welcome. The easiest way is to fork this repo, and then
make a pull request from your fork. The first time you make a pull request, you
may be asked to sign a Contributor Agreement.
Please refer to our [contributor guidelines](https://github.com/openedx/edx-ui-toolkit/blob/master/CONTRIBUTING.md)
for important additional information.
## Getting Started
The UI Toolkit uses Node 18 to manage its dependencies. To work with the repo locally, you will need to have Node 18 installed. We recommend [using n](https://github.com/tj/n) to manage node versions on your machine.
1. Get the code (e.g. clone the repository).
2. Install the Node requirements:
$ npm i
## Linting
$ gulp lint
## Tests
To run tests in headless mode:
$ gulp test
To run tests in debug mode:
$ gulp test-debug
Once tests are running in debug mode, open this URL:
http://localhost:9009/debug.html
## Documentation
The UI Toolkit has auto-generated documentation available here: [http://ui-toolkit.edx.org/](http://ui-toolkit.edx.org/).
To generate this documentation, run the following command:
$ gulp doc
To upload a preview of the documentation to S3:
$ gulp preview
To update the hosted documentation:
$ gulp doc-publish