Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added support for (imported) label on entities that are imported from…
… external sources. Fixes #1047
- Loading branch information
1 parent
63f48be
commit 1a845a1
Showing
10 changed files
with
102 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
.../studio/src/app/pages/apis/{apiId}/editor/_components/forms/definition-item.component.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
span.icon { | ||
line-height: 21px; | ||
} | ||
span.name { | ||
flex-grow: 2; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
|
||
span.imported { | ||
font-size: 11px; | ||
border-radius: 2px; | ||
margin-top: 2px; | ||
margin-bottom: 2px; | ||
} | ||
|
||
.validation-aggregate { | ||
} | ||
|
||
.collaborator-aggregate { | ||
} |
5 changes: 3 additions & 2 deletions
5
...studio/src/app/pages/apis/{apiId}/editor/_components/forms/definition-item.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<span class="fa fa-fw fa-code"></span> | ||
<span>{{ definitionName() }}</span> | ||
<span class="icon fa fa-fw fa-code"></span> | ||
<span class="name">{{ definitionName() }}</span> | ||
<span class="imported label label-info" *ngIf="isImported()">Imported</span> | ||
<collaborator-aggregate [nodePath]="asNodePath()"></collaborator-aggregate> | ||
<validation-aggregate [models]="[schema]"></validation-aggregate> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...nd/studio/src/app/pages/apis/{apiId}/editor/_components/forms/response-item.component.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
span.icon { | ||
line-height: 21px; | ||
} | ||
span.name { | ||
flex-grow: 2; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
|
||
span.imported { | ||
font-size: 11px; | ||
border-radius: 2px; | ||
margin-top: 2px; | ||
margin-bottom: 2px; | ||
} | ||
|
||
.validation-aggregate { | ||
} | ||
|
||
.collaborator-aggregate { | ||
} |
5 changes: 3 additions & 2 deletions
5
...d/studio/src/app/pages/apis/{apiId}/editor/_components/forms/response-item.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<span class="fa fa-fw fa-reply-all"></span> | ||
<span>{{ responseName() }}</span> | ||
<span class="icon fa fa-fw fa-reply-all"></span> | ||
<span class="name">{{ responseName() }}</span> | ||
<span class="imported label label-info" *ngIf="isImported()">Imported</span> | ||
<collaborator-aggregate [nodePath]="asNodePath()"></collaborator-aggregate> | ||
<validation-aggregate [models]="[response]"></validation-aggregate> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters