Skip to content

Commit b3add9f

Browse files
committed
stopping point with claude
1 parent fb53cba commit b3add9f

File tree

5 files changed

+523
-125
lines changed

5 files changed

+523
-125
lines changed

components/SGCMetadataForm.vue

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="card p-fluid">
33
<div class="formgrid grid">
44
<div class="field col-12 md:col-6">
5-
<label for="uploadSetName">Cohort Name *</label>
5+
<label for="uploadSetName">Cohort Name</label>
66
<InputText
77
v-model="formData.name"
88
id="uploadSetName"
@@ -12,7 +12,7 @@
1212
/>
1313
</div>
1414
<div class="field col-12 md:col-6">
15-
<label for="totalSampleSize">Total Sample Size *</label>
15+
<label for="totalSampleSize">Total Sample Size</label>
1616
<InputNumber
1717
v-model="formData.total_sample_size"
1818
id="totalSampleSize"
@@ -25,7 +25,7 @@
2525

2626
<div class="formgrid grid">
2727
<div class="field col-12 md:col-6">
28-
<label for="numberOfMales">Number of Males *</label>
28+
<label for="numberOfMales">Number of Males</label>
2929
<InputNumber
3030
v-model="formData.number_of_males"
3131
id="numberOfMales"
@@ -35,7 +35,7 @@
3535
/>
3636
</div>
3737
<div class="field col-12 md:col-6">
38-
<label for="numberOfFemales">Number of Females *</label>
38+
<label for="numberOfFemales">Number of Females</label>
3939
<InputNumber
4040
v-model="formData.number_of_females"
4141
id="numberOfFemales"
@@ -48,7 +48,7 @@
4848

4949
<div class="formgrid grid">
5050
<div class="field col-12 md:col-6">
51-
<label for="phenotypeCodingSystem">Phenotype coding system used by cohort *</label>
51+
<label for="phenotypeCodingSystem">Phenotype coding system used by cohort</label>
5252
<InputText
5353
v-model="formData.phenotype_coding_system"
5454
id="phenotypeCodingSystem"
@@ -58,7 +58,7 @@
5858
/>
5959
</div>
6060
<div class="field col-12 md:col-6">
61-
<label for="industryAuthorship">Will industry partners be authors on any resulting publication *</label>
61+
<label for="industryAuthorship">Will industry partners be authors on any resulting publication</label>
6262
<Dropdown
6363
v-model="formData.industry_authorship"
6464
id="industryAuthorship"
@@ -73,7 +73,7 @@
7373

7474
<div class="formgrid grid">
7575
<div class="field col-12 md:col-6">
76-
<label for="phenotypeMappingIssues">Were there any issues during phenotype mapping. If yes please explain *</label>
76+
<label for="phenotypeMappingIssues">Were there any issues during phenotype mapping. If yes please explain</label>
7777
<Textarea
7878
v-model="formData.phenotype_mapping_issues"
7979
id="phenotypeMappingIssues"
@@ -83,7 +83,7 @@
8383
/>
8484
</div>
8585
<div class="field col-12 md:col-6">
86-
<label for="industryInvolvement">Is there any industry involvement in your data generation/project. If yes, please describe *</label>
86+
<label for="industryInvolvement">Is there any industry involvement in your data generation/project. If yes, please describe</label>
8787
<Textarea
8888
v-model="formData.industry_involvement"
8989
id="industryInvolvement"
@@ -95,7 +95,7 @@
9595
</div>
9696

9797
<div class="field">
98-
<label for="dataRestrictions">Are there any restrictions on this data being made publicly available either before or after publication. If yes please describe *</label>
98+
<label for="dataRestrictions">Are there any restrictions on this data being made publicly available either before or after publication. If yes please describe</label>
9999
<Textarea
100100
v-model="formData.data_restrictions"
101101
id="dataRestrictions"
@@ -111,7 +111,6 @@
111111
type="button"
112112
:label="saveButtonLabel"
113113
class="p-button-primary"
114-
:icon="saveButtonIcon"
115114
@click="handleSave"
116115
:loading="saving"
117116
:disabled="!canSave"

layouts/sgc.vue

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@
88
</div>
99
<nav class="flex items-center space-x-4">
1010
<NuxtLink to="/sgc" class="text-gray-600 hover:text-gray-900 px-3 py-2 rounded-md text-sm font-medium">
11-
Uploads
11+
Cohorts
1212
</NuxtLink>
1313
<NuxtLink to="/sgc/new" class="text-gray-600 hover:text-gray-900 px-3 py-2 rounded-md text-sm font-medium">
14-
New Upload
14+
New Cohort
1515
</NuxtLink>
16-
<NuxtLink
17-
v-if="userStore.canManageUsers()"
18-
to="/sgc/users"
16+
<NuxtLink to="/sgc/phenotypes" class="text-gray-600 hover:text-gray-900 px-3 py-2 rounded-md text-sm font-medium">
17+
View Phenotypes
18+
</NuxtLink>
19+
<NuxtLink
20+
v-if="userStore.canManageUsers()"
21+
to="/sgc/users"
1922
class="text-gray-600 hover:text-gray-900 px-3 py-2 rounded-md text-sm font-medium"
2023
>
2124
User Management

0 commit comments

Comments
 (0)