-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat(agora): agora fixes (AG-1604) and Q4 2024 changes (AG-1605) #2955
base: main
Are you sure you want to change the base?
Conversation
@@ -7,6 +7,6 @@ DB_HOST="agora-mongo" # must match mongo service name | |||
|
|||
# specifies data release manifest and team images folder | |||
DATA_FILE="syn13363290" | |||
DATA_VERSION="68" | |||
DATA_VERSION="71" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updating data_version to match current Agora production version
<div class="row tab-row last-row"> | ||
<div id="target-enabling-resources-card1" class="col-md-3 col-sm-8 col-8 header-title"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
col-sm* and col-md* are part of the bootstrap dependency that was removed for migration to the monorepo
<pre> | ||
isActive: {{ isActive }} | ||
isGlobal: {{ isGlobal }} | ||
</pre> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be included here?
} | ||
|
||
ngOnInit(): void { | ||
this.dataVersion$ = this.dataVersionService.getDataversion(); | ||
this.sha$ = this.gitHubService.getCommitSHA('agora/v0.0.2'); | ||
this.sha$ = this.gitHubService.getCommitSHA(this.tag); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about creating a ticket to use appVersion
and adding a related TODO here? Just thinking it would be great to capture your thoughts from our chat earlier today about tracking the app version in one place once the tag format is finalized!
console.log('global', this.isGlobal); | ||
if (this.isGlobal) { | ||
this.helperService.loadingChange.subscribe(() => { | ||
this.isActive = this.helperService.getLoading(); | ||
console.log('active', this.isActive); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could the log statements be removed?
console.log('global', this.isGlobal); | |
if (this.isGlobal) { | |
this.helperService.loadingChange.subscribe(() => { | |
this.isActive = this.helperService.getLoading(); | |
console.log('active', this.isActive); | |
if (this.isGlobal) { | |
this.helperService.loadingChange.subscribe(() => { | |
this.isActive = this.helperService.getLoading(); |
@@ -8,5 +8,5 @@ | |||
"types": [] | |||
}, | |||
"exclude": ["src/test-setup.ts", "**/*.spec.ts", "**/*.test.ts", "jest.config.ts"], | |||
"include": ["**/*.ts"] | |||
"include": ["**/*.ts", "src/lib/components/gene-similar/gene-similar.component.spec.ts"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious, why does gene-similar need to be included here, but the other subcomponents don't need to be included (e.g. gene-table)?
"**/*.spec.ts", | ||
"**/*.d.ts", | ||
"jest.config.ts", | ||
"src/lib/components/gene-similar/gene-similar.component.spec.ts" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would the gene-similar test already be picked up by "**/*.spec.ts"
, so this line may not be needed?
<div class="gene-hero-aliases"> | ||
<h4 class="gene-hero-aliases-heading">Also known as</h4> | ||
@if (getEnsemblUrl() !== '') { | ||
<p> | ||
@if (getEnsemblUrl()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@if (getEnsemblUrl()) { | |
@if (getEnsemblUrl(); as ensembleUrl) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reference the result of the function and use it in the if block, instead of calling the getter twice.
// Authorization: `Bearer ${this.token}`, | ||
// }); | ||
|
||
// return this.http.get<any[]>(this.apiUrl, { headers }).pipe( | ||
return this.http.get<any[]>(this.apiUrl).pipe( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specify the type of the output instead of using any[]
. Either using an interface or this.http.get<Array<{ name: string; commit: { sha: string } }>>
.
@@ -25,6 +25,7 @@ | |||
"libs/agora/gene-comparison-tool/src/index.ts" | |||
], | |||
"@sagebionetworks/agora/gene-details": ["libs/agora/genes/src/index.ts"], | |||
"@sagebionetworks/agora/gene-similar": ["libs/agora/genes/src/index.ts"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line may be referencing the incorrect index file (currently the same as @sagebionetworks/agora/gene-details
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment actually for @sagebionetworks/agora/gene-details
, which references the same index file as @sagebionetworks/agora/genes
.
Description
This is a collection of fixes found during manual testing (AG-1604)
This also incorporates changes from Q4 2024 (AG-1605)
Fixes