-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
143 changed files
with
1,921 additions
and
726 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
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,15 @@ | ||
name: Pull Request Labels | ||
on: | ||
pull_request: | ||
types: [opened, labeled, unlabeled, synchronize] | ||
jobs: | ||
label: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: mheap/github-action-required-labels@v3 | ||
with: | ||
mode: exactly | ||
count: 1 | ||
labels: "bugfix, housekeeping, new-feature, enhancement, ignore-for-release, dependencies" | ||
add_comment: true | ||
message: "You must specify one of the following labels: {{ provided }} in order for this PR to appear in the release notes." |
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
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
180 changes: 95 additions & 85 deletions
180
...ponents/molecular-profiles/molecular-profiles-menu/molecular-profiles-menu.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,92 +1,102 @@ | ||
<ng-container *ngIf="menuMolecularProfiles$ | ngrxPush as mps"> | ||
<nz-card [nzTitle]="cardTitle" | ||
[nzExtra]="cardExtra"> | ||
<nz-spin [nzSpinning]="loading$ | ngrxPush"> | ||
<ng-container *ngIf="menuMolecularProfiles$ | ngrxPush as mps"> | ||
<nz-card [nzTitle]="cardTitle" | ||
[nzExtra]="cardExtra"> | ||
|
||
<ng-template #cardTitle> | ||
<ng-container *ngIf="totalMolecularProfiles$ | ngrxPush as total"> | ||
<span nz-typography | ||
nzType="secondary">{{ total }} Total</span> | ||
<span nz-typography | ||
*ngIf="total > mps.length" | ||
nzType="secondary">({{ mps.length }} displayed)</span> | ||
</ng-container> | ||
<ng-template #cardTitle> | ||
<ng-container *ngIf="totalMolecularProfiles$ | ngrxPush as total"> | ||
<span nz-typography | ||
nzType="secondary">{{ total }} Total</span> | ||
<span nz-typography | ||
*ngIf="total > mps.length" | ||
nzType="secondary">({{ mps.length }} displayed)</span> | ||
</ng-container> | ||
|
||
</ng-template> | ||
</ng-template> | ||
|
||
<ng-template #cardExtra> | ||
<form nz-form | ||
nzLayout="inline" | ||
id="variant-filters"> | ||
<nz-form-item> | ||
<nz-form-label>Filter</nz-form-label> | ||
<nz-form-control> | ||
<nz-input-group [nzSuffix]="nameInputClearTpl" | ||
id="name-filter-group" | ||
[nzCompact]="true" | ||
nzSize="small"> | ||
<input type="text" | ||
nz-input | ||
placeholder="Molecular Profile Names" | ||
name="name-filter" | ||
(ngModelChange)="onModelUpdated()" | ||
[(ngModel)]="mpNameFilter" /> | ||
<ng-template #nameInputClearTpl> | ||
<i nz-icon | ||
class="ant-input-clear-icon" | ||
nzTheme="fill" | ||
nzType="close-circle" | ||
*ngIf="mpNameFilter" | ||
(click)="mpNameFilter = undefined; onModelUpdated()"></i> | ||
</ng-template> | ||
</nz-input-group> | ||
</nz-form-control> | ||
</nz-form-item> | ||
<nz-form-item> | ||
<nz-form-label>Show</nz-form-label> | ||
<ng-template #cardExtra> | ||
<form nz-form | ||
nzLayout="inline" | ||
id="variant-filters"> | ||
<nz-form-item> | ||
<nz-form-label>Filter</nz-form-label> | ||
<nz-form-control> | ||
<nz-select (ngModelChange)="onMolecularProfileStatusFilterChanged($event)" | ||
nzSize="small" | ||
id="status-filter" | ||
name="statusFilter" | ||
style="width: 320px;" | ||
[(ngModel)]="statusFilter"> | ||
<nz-option nzValue="WITH_ACCEPTED" | ||
style="width: 100%" | ||
nzLabel="Molecular Profiles with accepted evidence"></nz-option> | ||
<nz-option nzValue="WITH_ACCEPTED_OR_SUBMITTED" | ||
style="width: 100%" | ||
nzLabel="Molecular Profiles with accepted and/or submitted evidence" | ||
selected></nz-option> | ||
<nz-option nzValue="WITH_SUBMITTED" | ||
style="width: 100%" | ||
nzLabel="Molecular Profiles with submitted evidence"></nz-option> | ||
<nz-option nzValue="ALL" | ||
style="width: 100%" | ||
nzLabel="All Molecular Profiles"></nz-option> | ||
</nz-select> | ||
<nz-input-group [nzSuffix]="nameInputClearTpl" | ||
id="name-filter-group" | ||
[nzCompact]="true" | ||
nzSize="small"> | ||
<input type="text" | ||
nz-input | ||
placeholder="Molecular Profile Names" | ||
name="name-filter" | ||
(ngModelChange)="onModelUpdated()" | ||
[(ngModel)]="mpNameFilter" /> | ||
<ng-template #nameInputClearTpl> | ||
<i nz-icon | ||
class="ant-input-clear-icon" | ||
nzTheme="fill" | ||
nzType="close-circle" | ||
*ngIf="mpNameFilter" | ||
(click)="mpNameFilter = undefined; onModelUpdated()"></i> | ||
</ng-template> | ||
</nz-input-group> | ||
</nz-form-control> | ||
</nz-form-item> | ||
</form> | ||
</ng-template> | ||
<nz-row> | ||
<nz-col nzSpan="24"> | ||
<cvc-tag-list size="sm"> | ||
<ng-container *ngFor="let mp of mps"> | ||
<cvc-molecular-profile-tag [molecularProfile]="mp"></cvc-molecular-profile-tag> | ||
</ng-container> | ||
</cvc-tag-list> | ||
</nz-col> | ||
</nz-row> | ||
<ng-container *ngIf="pageInfo$ | ngrxPush as pageInfo"> | ||
<nz-row id="load-more-btn" | ||
*ngIf="pageInfo.hasNextPage"> | ||
<button nz-button | ||
nzType="default" | ||
nzSize="small" | ||
nzBlock | ||
(click)="fetchMore(pageInfo.endCursor)">Load More | ||
</button> | ||
<nz-form-item> | ||
<nz-form-label>Show</nz-form-label> | ||
<nz-form-control> | ||
<nz-select (ngModelChange)="onMolecularProfileStatusFilterChanged($event)" | ||
nzSize="small" | ||
id="status-filter" | ||
name="statusFilter" | ||
style="width: 320px;" | ||
[(ngModel)]="statusFilter"> | ||
<nz-option nzValue="WITH_ACCEPTED" | ||
style="width: 100%" | ||
nzLabel="Molecular Profiles with accepted evidence"></nz-option> | ||
<nz-option nzValue="WITH_ACCEPTED_OR_SUBMITTED" | ||
style="width: 100%" | ||
nzLabel="Molecular Profiles with accepted and/or submitted evidence" | ||
selected></nz-option> | ||
<nz-option nzValue="WITH_SUBMITTED" | ||
style="width: 100%" | ||
nzLabel="Molecular Profiles with submitted evidence"></nz-option> | ||
<nz-option nzValue="ALL" | ||
style="width: 100%" | ||
nzLabel="All Molecular Profiles"></nz-option> | ||
</nz-select> | ||
</nz-form-control> | ||
</nz-form-item> | ||
</form> | ||
</ng-template> | ||
<nz-row> | ||
<nz-col nzSpan="24"> | ||
<cvc-tag-list size="sm"> | ||
<ng-container *ngFor="let mp of mps"> | ||
<cvc-molecular-profile-tag [molecularProfile]="mp"></cvc-molecular-profile-tag> | ||
</ng-container> | ||
</cvc-tag-list> | ||
</nz-col> | ||
</nz-row> | ||
</ng-container> | ||
</nz-card> | ||
</ng-container> | ||
<ng-container *ngIf="pageInfo$ | ngrxPush as pageInfo"> | ||
<nz-row id="load-more-btn" | ||
*ngIf="pageInfo.hasNextPage"> | ||
<button nz-button | ||
nzType="default" | ||
nzSize="small" | ||
style="width: 95%;" | ||
(click)="fetchMore(pageInfo.endCursor)">Load More | ||
</button> | ||
<nz-select | ||
[(ngModel)]="this.pageSize" | ||
style="width: 5%;" | ||
nzSize="small"> | ||
<nz-option nzLabel="50" [nzValue]="50"></nz-option> | ||
<nz-option nzLabel="100" [nzValue]="100"></nz-option> | ||
<nz-option nzLabel="300" [nzValue]="300"></nz-option> | ||
</nz-select> | ||
</nz-row> | ||
</ng-container> | ||
</nz-card> | ||
</ng-container> | ||
</nz-spin> |
Oops, something went wrong.