Skip to content

Commit 315c2df

Browse files
authored
Merge pull request #791 from citation-file-format/756-701-text
2 parents cbceb14 + 009f0d5 commit 315c2df

15 files changed

+139
-110
lines changed

cypress/e2e/errors.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ describe('From a fixed advanced app', () => {
8080
cy.checkThatStepperValidityIs(false, 'authors')
8181
cy.checkThatAppValidityIs(false)
8282
cy.dataCy('banner-error-messages')
83-
.should('contain.text', 'Use the button to add an author')
83+
.should('contain.text', 'Add at least one author')
8484
cy.dataCy('btn-add-author')
8585
.click()
8686
cy.checkThatStepperValidityIs(true, 'authors')

src/components/Keyword.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
autofocus
66
dense
77
outlined
8-
placeholder="Type a keyword"
98
v-bind:data-cy="'input-keyword' + index"
109
v-bind:label="'Keyword #' + (index + 1)"
1110
v-bind:model-value="keyword"

src/components/LayoutLanding.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<div class="row justify-center items-center q-pt-md q-mb-xl">
4444
<div class="column items-center slide-up-animation">
4545
<div style="font-size: 1.2rem">
46-
Generate your CITATION.cff now!
46+
Create your CITATION.cff now!
4747
</div>
4848
<q-btn
4949
aria-label="Create your CITATION.cff file"

src/components/Preview.vue

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,27 +40,29 @@
4040
</q-btn>
4141
</template>
4242
</q-input>
43-
<div class="q-pt-lg text-left">
44-
<p
43+
<q-card
44+
class="transparent"
45+
flat
46+
>
47+
<q-card-section
4548
data-cy="text-validation-msg"
49+
horizontal
4650
>
47-
<q-icon
48-
v-bind:class="isValidCFF ? 'text-primary' : 'text-negative'"
49-
v-bind:name="isValidCFF ? 'ion-checkmark-circle' : 'warning'"
50-
size="40px"
51-
/>
52-
<span
53-
v-if="doesNotHaveRequiredFields"
54-
>
55-
Your CITATION.cff does not have the minimum fields
56-
</span>
57-
<span
58-
v-else
59-
>
51+
<q-card-actions>
52+
<q-icon
53+
v-bind:class="isValidCFF ? 'text-primary' : 'text-negative'"
54+
v-bind:name="isValidCFF ? 'ion-checkmark-circle' : 'warning'"
55+
size="40px"
56+
/>
57+
</q-card-actions>
58+
<q-card-section v-if="doesNotHaveRequiredFields">
59+
Your CITATION.cff does not have the minimum fields. Make sure the title has been filled and that at least one author was added.
60+
</q-card-section>
61+
<q-card-section v-else>
6062
Your CITATION.cff is {{ isValidCFF ? "valid" : "not valid" }}
61-
</span>
62-
</p>
63-
</div>
63+
</q-card-section>
64+
</q-card-section>
65+
</q-card>
6466
</template>
6567

6668
<script lang="ts">

src/components/ScreenAbstract.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
>
66
Abstract
77
</h1>
8+
<p>
9+
Adding an abstract (short description) helps possible users know at a glance if this work is what they are looking for.
10+
</p>
811

912
<q-input
1013
aria-label="Abstract/Description of the work. Press tab to reach help button."

src/components/ScreenAuthors.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</h1>
88

99
<p>
10-
Who are the author(s) of the work?
10+
Add all authors of the work. At least one must be provided.
1111
<InfoDialog name="authors" />
1212
</p>
1313
<div>

src/components/ScreenIdentifiers.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</h1>
88

99
<p>
10-
What persistent identifiers are available for the work?
10+
You can add persistent identifiers such as DOIs, Software Heritage numbers, or ArXiv URLs.
1111
<InfoDialog name="identifiers" />
1212
</p>
1313
<div>

src/components/ScreenKeywords.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</h1>
88

99
<p>
10-
What keywords describe the work?
10+
You can add as many keywords as you want.
1111
<InfoDialog name="keywords" />
1212
</p>
1313
<div>

src/components/ScreenLicense.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
>
66
License
77
</h1>
8+
<p>
9+
Always add a license. Write in the input below to filter matching licenses.
10+
</p>
811

912
<q-select
1013
aria-label="License. Press tab to reach help button."

src/components/ScreenRelatedResources.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
>
66
Related resources
77
</h1>
8+
<p>
9+
The URLs in this section are the main entry point to your work.
10+
</p>
811

912
<q-input
1013
aria-label="Code repository. Press tab to reach help button."

0 commit comments

Comments
 (0)