-
Notifications
You must be signed in to change notification settings - Fork 7
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
Feature/fix submit to core #439
Feature/fix submit to core #439
Conversation
The completedDate in the DB could be ISO 8601 string, or json object. I think this has to do with the recent spring boot upgrade, but I can't find the specific version of the change. I will handle both scenarios for now
Handle when Instant json element is a json object
The getSession is an async method which updates the loading status.
Avoid fetching management info repeatedly
72343f0
to
49c04b0
Compare
@@ -125,7 +121,7 @@ const ReviewPage: React.FunctionComponent<IReviewPageProps> = (props: IReviewPag | |||
isGermline, | |||
isAcceptAll: true, | |||
gene: geneData, | |||
entrezGeneId: props.geneEntity.entrezGeneId, | |||
entrezGeneId: geneEntity?.entrezGeneId as number, |
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.
No longer using the prop entity since it's already fetched within this component.
const protectCurrent = shouldProtect(valuePath, currentPath); | ||
const protectParent = shouldProtect(valuePath, parentPath); |
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.
Need to protect the whole object if the parent is in the valuePath since we don't want to drop the whole object if another value was added.
49c04b0
to
a67f82e
Compare
27a81a9
to
522a927
Compare
522a927
to
db4da7b
Compare
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.
Looking good!
|
||
/** | ||
* Recursively filters the provided object to include only the last reviewed elements | ||
* or elements that where just accepted. |
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.
* or elements that where just accepted. | |
* or elements that were just accepted. |
* Added core submission logic * Added Save Gene Logic (#385) * Added name changes to review logic (#393) * Added name change to core submission logic * Added missing unit tests * Addessed PR comments * Removed unneeded uuid * added comments to collectUUIDs function * Added gene type submission (#396) * Can now delete evidences (#398) * fixed logging in * fixed build errors * updated drugs mapping * updated drugs mapping * Add releaseGene param when saving gene data to core * Update to allow save all genes * Fix excludedRCTs * Add method to undo gene release * Use reviewed content only (#430) * Use reviewed content only * Ignore if in review added state * Save Genes now checks if added * Delete parent node if added field is true * Fixed build * don't save undefined * Addressed PR comments * Addressed PR comments * Feature/fix submit to core (#439) * Handle when Instant json element is a json object The completedDate in the DB could be ISO 8601 string, or json object. I think this has to do with the recent spring boot upgrade, but I can't find the specific version of the change. I will handle both scenarios for now * Textarea in review mode should fit text content (#427) * Update pom version * Fix reject cancer type name review (#428) * Add reference to oncokb sop alteration nomenclature in add mutation modal helper (#432) * Update pom version * Avoid fetching management info repeatedly * Do not rerender the side bar when loading session The getSession is an async method which updates the loading status. * Fix drug code not selectable (#435) * Bump actions to latest version (#438) * resize text area when input changes (#440) * add sorting by firebase index (#443) * Delete mutation/tumor/treatment as last step to avoid stale index (#444) * Review no longer removes data for core submission * Added comments to useLastReviewOnly * Add children review paths * Fixed approve all * Fixed UI tests * Fixed UI tests * break in middle of word to fix collapsible title overlfow (#442) * Change searchEntities to readHandler instead of updateHandler (#445) * Fixed submit all * Fixed submission bug * Fixed data validation tool (#447) * Allow curating mutation summary (#433) * Fixed submit all * Fixed tests * Fixed gene type submissions * Removed last review check inside getevidences and gene type * Added mutation summary --------- Co-authored-by: Hongxin <5400599+zhx828@users.noreply.github.com> Co-authored-by: Hongxin <jackson.zhang.828@gmail.com> Co-authored-by: Calvin Lu <59149377+calvinlu3@users.noreply.github.com> Co-authored-by: oncokb-bot <dev.oncokb@gmail.com> Co-authored-by: bprize15 <148106517+bprize15@users.noreply.github.com> * Added Vus submissions to core (#456) * Make core API call non-blocking (#454) * Handle when Instant json element is a json object The completedDate in the DB could be ISO 8601 string, or json object. I think this has to do with the recent spring boot upgrade, but I can't find the specific version of the change. I will handle both scenarios for now * Textarea in review mode should fit text content (#427) * Update pom version * Fix reject cancer type name review (#428) * Add reference to oncokb sop alteration nomenclature in add mutation modal helper (#432) * Update pom version * Avoid fetching management info repeatedly * Do not rerender the side bar when loading session The getSession is an async method which updates the loading status. * Fix drug code not selectable (#435) * Bump actions to latest version (#438) * resize text area when input changes (#440) * add sorting by firebase index (#443) * Delete mutation/tumor/treatment as last step to avoid stale index (#444) * break in middle of word to fix collapsible title overlfow (#442) * Change searchEntities to readHandler instead of updateHandler (#445) * Fixed data validation tool (#447) * Allow curating mutation summary (#433) * Parse protein change case insensitive (#441) * Fix adding CDx biomarker association (#450) * use firebase properties directly in backend (#451) * fix references tab (#452) * Added Heap (#448) * Added Heap * Updated CSP * Reduce width so sidebar does not go offscren (#446) * allow comma in mutation name when transcripts present (#453) * allow comma in mutation name when transcripts present * add missing colon * rename transcripts to reference genomes * Make core API call non-blocking * Add tests for stale indices check (#455) * Added loading icon when review is accepted * Update setup-java action * Update pom version * Put feature flag in app config * Now showing loading icon on accept all --------- Co-authored-by: Hongxin <5400599+zhx828@users.noreply.github.com> Co-authored-by: Hongxin <jackson.zhang.828@gmail.com> Co-authored-by: Calvin Lu <59149377+calvinlu3@users.noreply.github.com> Co-authored-by: oncokb-bot <dev.oncokb@gmail.com> Co-authored-by: bprize15 <148106517+bprize15@users.noreply.github.com> --------- Co-authored-by: Hongxin <jackson.zhang.828@gmail.com> Co-authored-by: Hongxin <5400599+zhx828@users.noreply.github.com> Co-authored-by: Calvin Lu <59149377+calvinlu3@users.noreply.github.com> Co-authored-by: oncokb-bot <dev.oncokb@gmail.com> Co-authored-by: bprize15 <148106517+bprize15@users.noreply.github.com>
@zhx828 it looks like nothing is submitted when an accept all is done. Is that behavior we want?