Skip to content

Commit 087b48d

Browse files
committed
feat: enhance instructions alerts with improved formatting and emphasis on key terms
1 parent c6b09be commit 087b48d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/frontend/submission_form/src/widgets/Genetics.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ const Genetics = ({hideAlleles, hideStrains, toggleEntityVisibilityCallback}) =>
185185
<InstructionsAlert
186186
alertTitleNotSaved=""
187187
alertTitleSaved="Well done!"
188-
alertTextNotSaved="Here you can find alleles and strains that have been experimentally studied in your paper.
189-
Please validate the list as for the previous section. You can also submit a new allele name and indicate an allele sequence change."
188+
alertTextNotSaved={<>Here you can find alleles and strains that have been <strong>experimentally studied</strong> in your paper.
189+
Please validate the list as for the previous section. You can also submit a new allele name and indicate an allele sequence change.</>}
190190
alertTextSaved="The data for this page has been saved, you can modify it any time."
191191
saved={isSavedToDB}
192192
/>

src/frontend/submission_form/src/widgets/Overview.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ const Overview = ({hideGenes, toggleEntityVisibilityCallback}) => {
8383
<InstructionsAlert
8484
alertTitleNotSaved=""
8585
alertTitleSaved="Well done!"
86-
alertTextNotSaved="In this page you will see genes and species that have been experimentally studied in your
86+
alertTextNotSaved={<>In this page you will see genes and species that have been <strong>experimentally studied</strong> in your
8787
paper. Please validate the list by adding/removing entries. You can also
88-
notify us for gene model updates."
88+
notify us for gene model updates.</>}
8989
alertTextSaved="The data for this page has been saved, you can modify it any time."
9090
saved={isSavedToDB}
9191
/>

src/frontend/submission_form/src/widgets/Reagent.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ const Reagent = () => {
9999
<InstructionsAlert
100100
alertTitleNotSaved=""
101101
alertTitleSaved="Well done!"
102-
alertTextNotSaved="Here you can find transgenes that have been experimentally studied in your paper. Please
102+
alertTextNotSaved={<>Here you can find transgenes that have been <strong>experimentally studied</strong> in your paper. Please
103103
validate the list as for the previous section. You can also submit information about antibodies
104-
mentioned or generated in the study."
104+
mentioned or generated in the study.</>}
105105
alertTextSaved="The data for this page has been saved, you can modify it any time."
106106
saved={isSavedToDB}
107107
/>

0 commit comments

Comments
 (0)