Skip to content

Commit 70b72a2

Browse files
incorp wording changes from review comments
1 parent e980d00 commit 70b72a2

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

site/src/components/Alert.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
gap: 20px;
1010
border-radius: var(--rounded);
1111
line-height: var(--compact);
12+
text-align: left;
1213
}
1314

1415
.alert::before {

site/src/locus/EditForm.jsx

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,20 @@ schema.properties = {
4040
},
4141
"edit-title": {
4242
section: "Edit",
43-
title: "Title",
43+
title: "Edit Title",
4444
description: "Succinct title describing these changes",
45-
examples: ["Fix allele details", "Update locus information"],
45+
examples: ["Fix mechanism details", "Update disease onset information"],
4646
type: "string",
4747
default: null,
4848
},
4949
"edit-description": {
5050
section: "Edit",
51-
title: "Description",
52-
description: "High-level summary and justification of these changes",
51+
title: "Edit Description",
52+
description:
53+
"Summary of changes, justification for changes, uncertainty in literature, or anything else we should know for review. Please be detailed. Provide at least 2-3 sentences.",
54+
examples: [
55+
"Currently, the disease mechanism details cite a recently retracted paper doi:123456. This edit corrects the reference and updates...",
56+
],
5357
multiline: true,
5458
type: "string",
5559
default: null,
@@ -139,6 +143,11 @@ const EditForm = ({ heading, locus }) => {
139143
{heading}
140144
</Heading>
141145

146+
<Alert type="info">
147+
Every suggestion is reviewed by our team before inclusion in STRchive.
148+
Please enter as much accurate information as possible.
149+
</Alert>
150+
142151
{storageExists && (
143152
<div className="row">
144153
Loaded saved draft

site/src/pages/loci/[id]/edit.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const locus = loci.find((locus) => locus.id === id) || {};
2222

2323
<EditForm
2424
client:only="react"
25-
heading={`Edit Locus ${locus.id}`}
25+
heading={`Suggest Edit for Locus ${locus.id}`}
2626
locus={locus}
2727
/>
2828
</Layout>

site/src/pages/loci/new/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ import EditForm from "@/locus/EditForm";
99
<Layout title="New Locus">
1010
<TableOfContents client:only="react" />
1111

12-
<EditForm client:only="react" heading="New Locus" />
12+
<EditForm client:only="react" heading="Suggest New Locus" />
1313
</Layout>

0 commit comments

Comments
 (0)