-
Notifications
You must be signed in to change notification settings - Fork 2
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
Linting Fixups #53
Linting Fixups #53
Conversation
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 is soooo noice!
client/src/app/project-registration/contact-field-group/contact-field-group.component.spec.ts
Outdated
Show resolved
Hide resolved
For Investigation:
|
…hing to use timer instead.
…s emitted by the source. Useful for search controls.
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.
Nice, LGTM
If we want all rxjs operators used to exist within pipe()
's, there's a TSLint plugin that can ensure this: https://github.com/ReactiveX/rxjs-tslint
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.
Wow this is huge PR. Is this already deployed in dev? we should do manual tests and merge soon.
...t/src/app/metadata-schema-form/metadata-field-types/ontology-base/ontology-base.component.ts
Outdated
Show resolved
Hide resolved
client/src/app/template-questionnaire/template-generator.service.ts
Outdated
Show resolved
Hide resolved
client/src/app/template-questionnaire/template-generator.service.ts
Outdated
Show resolved
Hide resolved
…ame changes. Rather than regenerating everytime anything about the first corresponding contributor changes.
# Conflicts: # client/src/app/aai/aai.service.ts # client/src/app/project-form/project-form.component.ts # client/src/app/project-registration/project-registration-form/project-registration-form.component.ts # client/src/app/shared/services/ingest.service.ts # client/src/app/template-questionnaire/template-questionnaire.data.spec.ts # client/src/app/template-questionnaire/template-questionnaire.data.ts
@@ -161,43 +169,32 @@ export class IngestService { | |||
return this.http.get(url); | |||
} | |||
|
|||
public getAs<T>(url): Observable<T> { | |||
return this.http.get(url).pipe(map(data => data as T)); |
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 change this to:
return this.http.get<T>(url);
client/src/app/project-registration/contact-field-group/contact-field-group.component.ts
Outdated
Show resolved
Hide resolved
The submission details page is not loading. |
Can you post a link @aaclan-ebi? This submission is working for me. |
Ah that one's loading when i cleared my cache. However, I still found a submission which is not loading: I also noticed that it would take me to login page first for sometime before it redirects me to the submission details page. |
Thanks @aaclan-ebi:
|
Can confirm fixed on dev |
Yes, it's loading now! thanks for fixing it!
Did you get a chance to replicate this? |
…st wait for real response from aai, in the case of a hard refresh killing the cachedUser. Comments to clarify use of userSubject subscriptions
…ct param on login page)
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.
Thanks for spending so much effort on cleaning up our UI code!
I've reviewed the changes. It's a big change, I tried to navigate around in dev, it seems to work the same as before. If we find any issues, let's just fix it as we go. Basic submission flow seems to work fine. Let's merge this soon :)
All our UI linting fixups in one place.
I only changed components I understood, so dependencies like the clipboard were left alone.
The quicker we review this the better, because this would be a nightmare of a merge conflict.This one will need some testing because of deprecated RxJS functionality.
Deployed to Dev