Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value components #4

Open
12 of 16 tasks
tobiasschweizer opened this issue Feb 13, 2020 · 4 comments · Fixed by #2
Open
12 of 16 tasks

Value components #4

tobiasschweizer opened this issue Feb 13, 2020 · 4 comments · Fixed by #2
Assignees
Labels
enhancement New feature or request

Comments

@tobiasschweizer
Copy link
Contributor

tobiasschweizer commented Feb 13, 2020

To be defined:

  • FileValueComponent (image, text, video, DDD) -> not relevant for now
  • GeometryComponent -> part of Region
@tobiasschweizer
Copy link
Contributor Author

tobiasschweizer commented Feb 13, 2020

A value component has to implement BaseValueComponent. We will use IntValueComponent as an example.

@tobiasschweizer
Copy link
Contributor Author

tobiasschweizer commented Feb 13, 2020

Each value component has to be tested (https://angular.io/guide/testing). https://github.com/dasch-swiss/knora-ui-ng-lib/blob/master/projects/knora-ui/src/lib/viewer/values/int-value/int-value.component.spec.ts offers a reference implementation of the test cases to be covered. See https://dasch-swiss.github.io/knora-api-js-lib/classes/_models_v2_resources_values_read_read_value_.readvalue.html and https://github.com/dasch-swiss/knora-api/blob/develop/webapi/_test_data/ontologies/anything-onto.ttl for more information about the value type to be implemented.

@tobiasschweizer
Copy link
Contributor Author

@mdelez @flavens @SepidehAlassi I will be back to work next week. Please feel free to pick a task from the list above (#4 (comment)).

As suggested by @SepidehAlassi, please create a new branchwip/${issuenumber}-my-value-component and PR per issue.

@tobiasschweizer
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants