As of Dash 2, the development of Dash Table has been moved to the main Dash repo
Refer to the readme for installation and basic use instructions.
Please lint any Javascript / TypeScript additions with npm run lint
.
Please lint any additions to Python code with pylint
and flake8
.
Use the GitHub flow when proposing contributions to this repository (i.e. create a feature branch and submit a PR against the master branch).
- Install Python 3.x (python 3 is required to run the demo apps and tests)
- Install Node v8+
- Install CircleCI CLI (https://circleci.com/docs/2.0/local-cli/)
npm install
Use to verify the frontend functionality of the table during development or initial testing. This will run the example in the /demo
directory.
- Run
npm run build.watch
- Visit http://localhost:8080/
Use the review apps to verify callback functionality (note these examples are written in Python: the end-user syntax). This will run index.py
found in the root of the directory and run the examples found in: /tests/dash/
. To add more examples create a .py
file in the /tests/dash/
directory prepended with app_
ie: app_your_example.py
. This example will automatically get added to the example index page.
- We recommend creating a virtual environment to install the requirements and run the examples. Create a virtual env with
virtualenv venv
and run with:source venv/bin/activate
. - Run
pip install -r requirements.txt
from the root of the directory to install the requirements. - From the root of the directory run
gunicorn index:server
- Visit http://127.0.0.1:8000
npm test
npm run test.watch
circleci build --job test
npm run build
python setup.py sdist
Note: Distributable file will be located in ./dist
For larger features, your contribution will have a higher likelihood of getting merged if you create an issue to discuss the changes that you'd like to make before you create a pull request.
- Create a pull request.
- After a review has been done and your changes have been approved, they will be merged and included in a future release of Dash.
Beginner tip: Copy and paste this section as a comment in your PR, then check off the boxes as you go!
- All tests on CircleCI have passed.
- All visual regression differences have been approved.
- If changes are significant, a release candidate has been created and posted to Slack, the Plotly forums, and at the very top of the pull request.
- You have added an entry describing the change at the the top of
CHANGELOG.md
. For larger additions, yourCHANGELOG.md
entry includes sample code about how the feature works. The entry should also link to the original pull request(s). - Two Dash core contributors have 💃'd the pull request.
- You have deleted the branch.
- You have closed all issues that this pull request solves.
- If significant enough, you have created an issue about documenting the new feature or change and you have added it to the dash-docs project.
Dash, and many of Plotly's open source products, have been funded through direct sponsorship by companies. Get in touch about funding feature additions, consulting, or custom app development.