Charlie Tran 843a6c5bbb
feat(frontend): update datahub-web client UI code (#1806)
* Releases updated version of datahub-web client UI code

* Fix typo in yarn lock

* Change yarn lock to match yarn registry directories

* Previous commit missed some paths

* Even more changes to yarnlock missing in previous commit

* Include codegen file for typings

* Add files to get parity for datahub-web and current OS datahub-midtier

* Add in typo fix from previous commit - change to proper license

* Implement proper OS fix for person entity picture url

* Workarounds for open source DH issues

* Fixes institutional memory api and removes unopensourced tabs for datasets

* Fixes search dataset deprecation and user search issue as a result of changes

* Remove internal only options in the avatar menu
2020-08-26 15:44:50 -07:00

97 lines
2.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# @datahub/datasets-core
"The handler for datasets as an entity under DataHub"
## Installation
```
ember install @datahub/datasets-core
```
## Usage & Development
This addon is meant to be used within the context of the DataHub application and exists to house our dataset as an entity
related components and utilities.
### Requirements
The following styling requirements should be met in order to apply stylings for `datasets-core`:
```scss
// Host application app.scss
@import 'nacho-core-theme';
@import 'nacho-core';
@import 'nacho-table';
@import 'nacho-pill';
@import 'datasets-core';
... your code
```
### Dataset Compliance Annotations Table
The dataset compliance annotations will be broken down into a scalable and palatable set of components that each perform a
specific function.
General outline of the table overview is here:
```html
<!-- container: datasets/core/containers/compliance-page -->
<!-- container: datasets/core/tables/compliance-annotations -->
<!-- nacho/table -->
<table>
<!-- datasets/core/tables/compliance-annotations/header -->
<thead>
Title...sorting...filters
</thead>
<!-- datasets/core/tables/compliance-annotations/body -->
<tbody>
<!-- datasets/core/tables/compliance-annotations/row -->
<tr>
<td>{{Field Name}}</td>
<!-- datasets/core/tables/compliance-annotations/tags-cell
Useful because there's too much logic that goes into this tag already -->
<td>
<div>{{tag}}</div>
<!-- Edit mode with datasets/core/tables/compliance-annotations/annotation-dropdown
Useful because this tag component is already complex enough on its own -->
<div>Dropdown menu for annotation tagging</div>
</td>
<td>{{Status}}</td>
</tr>
</tbody>
</table>
```
## Contributing
### Installation
- `git clone <repository-url>`
- `cd datasets-core`
- `yarn install`
### Linting
- `yarn lint:hbs`
- `yarn lint:js`
- `yarn lint:js --fix`
### Running tests
- `ember test` Runs the test suite on the current Ember version
- `ember test --server` Runs the test suite in "watch mode"
- `ember try:each` Runs the test suite against multiple Ember versions
### Running the dummy application
- `ember serve`
- Visit the dummy application at [http://localhost:4200](http://localhost:4200).
For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).
## License
This project is licensed under the [Apache License](LICENSE.md).