1.4.0 • Published 4 years ago

atlas-experiment-table v1.4.0

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
4 years ago

Atlas experiment table

We implement a sortable table header and check box table cell for downloading atlas experiments' files. Evergreen Table component is used in this repository.

Table header/content props structure

Table information is passed by an array of objects, named as tableHeader, including mandatory entries type, title, width and dataParam. If the table cell links to another page, please indicate link, resource, endpoint, which will be transformed as a href to host/resource/data[link]/endpoint

For example:

[
 {type: `plain`, title: `index`, width: 60, dataParam: null, link: null}
 {type: `sort`, title: `Loaded date`, width: 140, dataParam: `lastUpdate`, link: null},
 {type: `search`, title: `species`, width: 200, dataParam: `species`, link: null},
 {type: `search`, title: `experiment description`, width: 360, dataParam: `experimentDescription`,
            link: `experimentAccession`, resource: `experiments`, endpoint: `Results`},
 {type: `search`, title: `experiment factors`, width: 260, dataParam: `experimentalFactors`, link: null},
 {type: `sort`, title: `Number of assays`, width: 160, dataParam: `numberOfAssays`,
            link: `experimentAccession`, resource: `experiments`, endpoint: `Experiment Design`}
]

Run it on your browser

Use Webpack-Dev-Server:

npx webpack-dev-server -d
1.4.0

4 years ago

1.3.0

4 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

1.0.0-rc3

5 years ago

1.0.0-rc2

5 years ago

1.0.0-rc1

5 years ago