FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
README.md 1.09 KiB
Newer Older
Mike Bamford's avatar
Mike Bamford committed
# ChooseColumnsDialog

ChooseColumnsDialog allows selection of column display and ordering for tables.

The component manages its own UI state and communicates via a series of event handler props.
Users of the component do not get notified as the user re-orders and adds columns, they only get
notified once the user has selected the layout.

TODO a link to generated component documentation generation will be included when available.
[An issue](https://gitlab.developers.cam.ac.uk/uis/devops/react-components/docs/issues/1) has been
created for this.

# Auth Token

The CI/CD job that publishes the component to [the NPM repository](https://www.npmjs.com) requires
`NPM_AUTH_TOKEN` to be set in the 'Variables' section of 
[the projects CI/CD settings](https://gitlab.developers.cam.ac.uk/uis/devops/react-components/choose-columns-dialog/-/settings/ci_cd).
A token can be generated by running the following commands:

```
npm login
 Username: {retrieve from the DevOps secrets repo}
 Password: {retrieve from the DevOps secrets repo}
 Email: devops+npm@uis.cam.ac.uk

npm token create
 Password: {as above}
```