Skip to content

Commit a6d12ca

Browse files
calvinlu3bprize15
authored andcommitted
Update table descriptions (oncokb#1275)
1 parent ecf746c commit a6d12ca

File tree

3 files changed

+22
-16
lines changed

3 files changed

+22
-16
lines changed

src/main/webapp/app/pages/annotationPage/AlterationTableTabs.tsx

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -91,26 +91,25 @@ export default class AlterationTableTabs extends React.Component<
9191
if (this.props.alteration) {
9292
content = (
9393
<span>
94-
A list of the oncogenic and mutation effects of {ONCOKB_TM} curated
95-
alterations that related to {this.props.hugoSymbol}{' '}
96-
{this.props.alteration.name}.
94+
Oncogenic and mutation effects of {ONCOKB_TM} curated alterations
95+
related to {this.props.hugoSymbol} {this.props.alteration.name}.
9796
</span>
9897
);
9998
} else {
10099
content = (
101100
<span>
102-
A list of the oncogenic and mutation effects of{' '}
103-
<b>all {ONCOKB_TM} curated</b> {this.props.hugoSymbol} alterations.
101+
Oncogenic and mutation effects of <b>all {ONCOKB_TM} curated</b>{' '}
102+
{this.props.hugoSymbol} alterations.
104103
</span>
105104
);
106105
}
107106
return content;
108107
} else if (key === ANNOTATION_PAGE_TAB_KEYS.TX) {
109108
return (
110109
<span>
111-
A list of the cancer type-specific {this.props.hugoSymbol} alterations
112-
that may predict response to a targeted drug and the corresponding{' '}
113-
{ONCOKB_TM} level of evidence assigning their level of{' '}
110+
Cancer type-specific {this.props.hugoSymbol} alterations that may
111+
predict response to a targeted drug and the corresponding {ONCOKB_TM}{' '}
112+
level of evidence assigning their level of{' '}
114113
<LevelOfEvidencePageLink levelType={LEVEL_TYPES.TX}>
115114
clinical actionability
116115
</LevelOfEvidencePageLink>
@@ -120,8 +119,7 @@ export default class AlterationTableTabs extends React.Component<
120119
} else if (key === ANNOTATION_PAGE_TAB_KEYS.DX) {
121120
return (
122121
<span>
123-
A list of diagnostic {this.props.hugoSymbol} alterations and the
124-
corresponding{' '}
122+
Diagnostic {this.props.hugoSymbol} alterations and the corresponding{' '}
125123
<LevelOfEvidencePageLink levelType={LEVEL_TYPES.DX}>
126124
{ONCOKB_TM} diagnostic level of evidence
127125
</LevelOfEvidencePageLink>
@@ -131,8 +129,8 @@ export default class AlterationTableTabs extends React.Component<
131129
} else if (key === ANNOTATION_PAGE_TAB_KEYS.PX) {
132130
return (
133131
<span>
134-
A list of tumor-type specific prognostic {this.props.hugoSymbol}{' '}
135-
alterations and the corresponding{' '}
132+
Tumor-type specific prognostic {this.props.hugoSymbol} alterations and
133+
the corresponding{' '}
136134
<LevelOfEvidencePageLink levelType={LEVEL_TYPES.PX}>
137135
{ONCOKB_TM} prognostic level of evidence
138136
</LevelOfEvidencePageLink>

src/main/webapp/app/pages/annotationPage/AnnotatedAlterations.tsx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,17 @@ const AnnotatedAlterations: FunctionComponent<{
129129
<>
130130
<div style={style}>
131131
<span>
132-
A list of the oncogenic and mutation effects of{' '}
133-
<b>all {ONCOKB_TM} curated</b> {props.hugoSymbol} alterations.
132+
{props.germline ? (
133+
<>
134+
Pathogenocity and penetrance of <b>all {ONCOKB_TM} curated</b>{' '}
135+
{props.hugoSymbol} alterations.
136+
</>
137+
) : (
138+
<>
139+
Oncogenic and mutation effects of <b>all {ONCOKB_TM} curated</b>{' '}
140+
{props.hugoSymbol} alterations.
141+
</>
142+
)}
134143
</span>
135144
</div>
136145
<GenePageTable

src/main/webapp/app/pages/annotationPage/TabDescriptor.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ export const FdaTabDescription: React.FunctionComponent<{
88
}> = props => {
99
return (
1010
<span>
11-
A list of the tumor type-specific {props.hugoSymbol} alterations and the
12-
corresponding{' '}
11+
Tumor type-specific {props.hugoSymbol} alterations and the corresponding{' '}
1312
<LevelOfEvidencePageLink levelType={LEVEL_TYPES.FDA}>
1413
FDA Level of Evidence
1514
</LevelOfEvidencePageLink>{' '}

0 commit comments

Comments
 (0)