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

refactor(ontology): improve ontology editor design (DSP-1376) #401

Merged
merged 32 commits into from Mar 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
e910a9e
style(ontology): update position of ontology header
kilchenmann Feb 26, 2021
1fce39e
style(ontology): start to use card for res class
kilchenmann Feb 26, 2021
29e0953
style(ontology): other icon for external url
kilchenmann Feb 26, 2021
3ece5d5
Merge branch 'main' into wip/dsp-1376-improve-ontology-editor-design
kilchenmann Feb 26, 2021
0c0e813
refactor(ontology): using mat-card for res class
kilchenmann Feb 26, 2021
f0fd10d
style(ontology): update res class card
kilchenmann Feb 26, 2021
abf4ee8
style(ontology): update ontology viewer
kilchenmann Feb 26, 2021
ed80994
feat(ontology): display class type in class card
kilchenmann Feb 27, 2021
e164aef
test(ontology): new test for translateSubClassOf pipe
kilchenmann Feb 27, 2021
ebddc9c
feat(ontology): add default icons to default class types
kilchenmann Feb 27, 2021
0bc9a43
chore(ontology): display icons from default classes
kilchenmann Feb 27, 2021
84d62a7
chore(ontology): init own res class component
kilchenmann Feb 27, 2021
848da6f
feat(ontology): own res class info component
kilchenmann Mar 2, 2021
f6191b0
Merge branch 'main' into wip/dsp-1376-improve-ontology-editor-design
kilchenmann Mar 2, 2021
ca44fa9
refactor(eslint): eslint is not yet implemented
kilchenmann Mar 2, 2021
e1c15ac
refactor(ontology): new res class info setup
kilchenmann Mar 2, 2021
e2b4ab9
test(ontology): init res class info test
kilchenmann Mar 2, 2021
347f539
Merge branch 'main' into wip/dsp-1376-improve-ontology-editor-design
Mar 2, 2021
05ec623
Merge branch 'wip/dsp-1376-improve-ontology-editor-design' of https:/…
kilchenmann Mar 2, 2021
8ff8233
Merge branch 'main' into wip/dsp-1376-improve-ontology-editor-design
kilchenmann Mar 2, 2021
cd51ac8
chore(ontology): expanded variable as @Input
kilchenmann Mar 2, 2021
5100a45
test(ontology): add test to res class info
kilchenmann Mar 2, 2021
fddeab3
chore(ontology): update res class info
kilchenmann Mar 2, 2021
2a1f0d6
Merge branch 'main' into wip/dsp-1376-improve-ontology-editor-design
kilchenmann Mar 2, 2021
148590e
feat(ontology): sort ontologies by label
kilchenmann Mar 3, 2021
f982060
refactor(ontology): replace translate-subclass-of.pipe
kilchenmann Mar 3, 2021
db8f2d7
chore(ontology): clean up commented code
kilchenmann Mar 3, 2021
ef67b11
chore(ontology): delete console.log
kilchenmann Mar 3, 2021
dbdcb48
Merge branch 'main' into wip/dsp-1376-improve-ontology-editor-design
kilchenmann Mar 3, 2021
8d6d532
Merge branch 'main' into wip/dsp-1376-improve-ontology-editor-design
kilchenmann Mar 3, 2021
f8816d3
refactor(ontology): clean up empty lines
kilchenmann Mar 3, 2021
6e64384
docs(ontology): add jsdocs to method
kilchenmann Mar 3, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 0 additions & 10 deletions .eslintignore

This file was deleted.

335 changes: 0 additions & 335 deletions .eslintrc.json

This file was deleted.

4 changes: 3 additions & 1 deletion src/app/app.module.ts
Expand Up @@ -91,6 +91,7 @@ import { AddressTemplateComponent } from './project/board/address-template/addre
import { OrganisationTemplateComponent } from './project/board/organisation-template/organisation-template.component';
import { EditListItemComponent } from './project/list/list-item-form/edit-list-item/edit-list-item.component';
import { PropertyInfoComponent } from './project/ontology/property-info/property-info.component';
import { ResourceClassInfoComponent } from './project/ontology/resource-class-info/resource-class-info.component';

// translate: AoT requires an exported function for factories
export function HttpLoaderFactory(httpClient: HttpClient) {
Expand Down Expand Up @@ -164,7 +165,8 @@ export function HttpLoaderFactory(httpClient: HttpClient) {
AddressTemplateComponent,
OrganisationTemplateComponent,
EditListItemComponent,
PropertyInfoComponent
PropertyInfoComponent,
ResourceClassInfoComponent
],
imports: [
AppRoutingModule,
Expand Down
Expand Up @@ -160,7 +160,7 @@ export class DefaultProperties {
// group: 'Link'
// },
{
icon: 'http',
icon: 'language',
label: 'External URL',
subPropOf: Constants.HasValue,
objectType: Constants.UriValue,
Expand Down