-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(agora): migrate GCT (AG-1602) (#2953)
- Loading branch information
Showing
258 changed files
with
18,045 additions
and
375 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Attach to Chrome", | ||
"port": 4200, | ||
"request": "attach", | ||
"type": "chrome", | ||
"webRoot": "${workspaceFolder}" | ||
}, | ||
{ | ||
"type": "chrome", | ||
"request": "launch", | ||
"name": "Launch Chrome against localhost", | ||
"url": "http://localhost:8080", | ||
"webRoot": "${workspaceFolder}" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
<agora-header></agora-header> | ||
<router-outlet></router-outlet> | ||
<agora-footer></agora-footer> | ||
<div id="container"> | ||
<agora-header></agora-header> | ||
<div id="main-content"> | ||
<router-outlet></router-outlet> | ||
</div> | ||
<agora-footer></agora-footer> | ||
</div> | ||
<p-toast class="global-toast" position="bottom-center"></p-toast> | ||
<agora-loading-overlay [isGlobal]="true"></agora-loading-overlay> |
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,9 @@ | ||
#container { | ||
display: flex; | ||
flex-direction: column; | ||
min-height: 100vh; | ||
} | ||
|
||
#main-content { | ||
flex: 1; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
declare module 'dom-to-image-more' { | ||
import domToImage = require('dom-to-image-more'); | ||
export = domToImage; | ||
} |
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
File renamed without changes.
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,15 +1,40 @@ | ||
import { CommonModule } from '@angular/common'; | ||
import { Component } from '@angular/core'; | ||
import { WikiComponent } from 'libs/agora/wiki/src/lib/wiki.component'; | ||
import { ScoreBarChartComponent } from '@sagebionetworks/agora/charts'; | ||
import { WikiComponent } from '@sagebionetworks/agora/shared'; | ||
|
||
@Component({ | ||
selector: 'agora-about', | ||
standalone: true, | ||
imports: [CommonModule, WikiComponent], | ||
imports: [CommonModule, WikiComponent, ScoreBarChartComponent], | ||
templateUrl: './about.component.html', | ||
styleUrls: ['./about.component.scss'], | ||
}) | ||
export class AboutComponent { | ||
wikiId = '612058'; | ||
className = 'about-page-content'; | ||
|
||
scoreDistribution = { | ||
distribution: [766, 4804, 4198, 4001, 3172, 2880, 3097, 1562, 323, 19], | ||
bins: [ | ||
[0, 0.5], | ||
[0.5, 1], | ||
[1, 1.5], | ||
[1.5, 2], | ||
[2, 2.5], | ||
[2.5, 3], | ||
[3, 3.5], | ||
[3.5, 4], | ||
[4, 4.5], | ||
[4.5, 5], | ||
], | ||
min: 0, | ||
max: 4.7438, | ||
mean: 1.9484, | ||
first_quartile: 1, | ||
third_quartile: 3, | ||
name: 'Target Risk Score', | ||
syn_id: 'syn25913473', | ||
wiki_id: '621071', | ||
}; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,8 @@ properties: | |
type: number | ||
max: | ||
type: number | ||
required: | ||
- nodes | ||
- links | ||
- min | ||
- max |
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 |
---|---|---|
|
@@ -9,3 +9,7 @@ properties: | |
type: array | ||
items: | ||
type: string | ||
required: | ||
- ensembl_gene_id | ||
- hgnc_symbol | ||
- brain_regions |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
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,7 +1,7 @@ | ||
# agora-wiki | ||
# agora-charts | ||
|
||
This library was generated with [Nx](https://nx.dev). | ||
|
||
## Running unit tests | ||
|
||
Run `nx test agora-wiki` to execute the unit tests. | ||
Run `nx test agora-charts` to execute the unit tests. |
Oops, something went wrong.