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): disable ontology graph view (DSP-1560) #427

Merged
merged 4 commits into from Apr 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
@@ -1 +1,2 @@
<app-visualizer [graphInfo]="graphInfo"></app-visualizer>
<!-- DSP-1560: disable graph view in ontology editor -->
<!-- <app-visualizer [graphInfo]="graphInfo"></app-visualizer> -->
3 changes: 2 additions & 1 deletion src/app/project/ontology/ontology.component.html
Expand Up @@ -79,6 +79,7 @@ <h2 class="mat-title">
<span class="fill-remaining-space"></span>

<!-- toggle view -->
<!-- DSP-1560: disable graph view option in ontology editor
<span class="ontology-actions">
<p class="mat-caption space-reducer">Display as</p>
<button mat-button [class.active]="view === 'classes' || view === 'properties'"
Expand All @@ -92,11 +93,11 @@ <h2 class="mat-title">
Graph
</button>
</span>
-->

<!-- edit options -->
<span class="ontology-actions">
<p class="mat-caption space-reducer">Data model configuration</p>
<!-- TODO: remove following span as soon edit mode is implemented; it's only for tooltip to use with disabled button -->
<span
[matTooltip]="(ontology.lastModificationDate ? 'Edit data model info' : 'This data model can\'t be edited because of missing lastModificationDate!')">
<button mat-button [disabled]="!ontology.lastModificationDate" [disabled]="!ontology.lastModificationDate"
Expand Down