Skip to content

Commit 0ce17dd

Browse files
committed
Update AttributionDetails step for clarity
1 parent 2bd105f commit 0ce17dd

File tree

4 files changed

+19
-18
lines changed

4 files changed

+19
-18
lines changed

src/components/AttributionDetailsStep.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
:placeholder="this.$t('stepper.AD.form.creator-name.placeholder')"
1515
/>
1616
</b-field>
17-
<b-field :label="this.$t('stepper.AD.form.creator-profile.label')">
18-
<b-input
19-
v-model="creatorProfileUrl"
20-
:placeholder="this.$t('stepper.AD.form.creator-profile.placeholder')"
21-
/>
22-
</b-field>
2317
<b-field :label="this.$t('stepper.AD.form.work-title.label')">
2418
<b-input
2519
v-model="workTitle"
@@ -32,6 +26,12 @@
3226
:placeholder="this.$t('stepper.AD.form.work-url.placeholder')"
3327
/>
3428
</b-field>
29+
<b-field :label="this.$t('stepper.AD.form.creator-profile.label')">
30+
<b-input
31+
v-model="creatorProfileUrl"
32+
:placeholder="this.$t('stepper.AD.form.creator-profile.placeholder')"
33+
/>
34+
</b-field>
3535
</form>
3636
</div>
3737
</div>

src/locales/en.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,20 @@
6868
"instructions": "Filling out this form is optional, but helps others attribute your work to you, and fills in machine-readable code.",
6969
"form": {
7070
"creator-name": {
71-
"label": "Work Author",
71+
"label": "Creator of Work",
7272
"placeholder": "Jane Doe"
7373
},
7474
"creator-profile": {
75-
"label": "URL of creator profile",
76-
"placeholder": "www.author.com"
75+
"label": "Link to Creator Profile",
76+
"placeholder": "https://janedoe.com"
7777
},
7878
"work-title": {
7979
"label": "Title of Work",
8080
"placeholder": "This work"
8181
},
8282
"work-url": {
83-
"label": "Work URL",
84-
"placeholder": "www.author.com/work.jpg"
83+
"label": "Link to Work",
84+
"placeholder": "https://janedoe.com/best-photo-ever.jpg"
8585
}
8686
}
8787
}

tests/unit/specs/components/__snapshots__/AttributionDetailsStep.spec.js.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ exports[`AttributionDetailsStep Component Rendering Component mounted if status
5353
<label
5454
class="label"
5555
>
56-
stepper.AD.form.creator-profile.label
56+
stepper.AD.form.work-title.label
5757
</label>
5858
5959
<div
@@ -62,7 +62,7 @@ exports[`AttributionDetailsStep Component Rendering Component mounted if status
6262
<input
6363
autocomplete="on"
6464
class="input"
65-
placeholder="stepper.AD.form.creator-profile.placeholder"
65+
placeholder="stepper.AD.form.work-title.placeholder"
6666
type="text"
6767
/>
6868
@@ -82,7 +82,7 @@ exports[`AttributionDetailsStep Component Rendering Component mounted if status
8282
<label
8383
class="label"
8484
>
85-
stepper.AD.form.work-title.label
85+
stepper.AD.form.work-url.label
8686
</label>
8787
8888
<div
@@ -91,7 +91,7 @@ exports[`AttributionDetailsStep Component Rendering Component mounted if status
9191
<input
9292
autocomplete="on"
9393
class="input"
94-
placeholder="stepper.AD.form.work-title.placeholder"
94+
placeholder="stepper.AD.form.work-url.placeholder"
9595
type="text"
9696
/>
9797
@@ -111,7 +111,7 @@ exports[`AttributionDetailsStep Component Rendering Component mounted if status
111111
<label
112112
class="label"
113113
>
114-
stepper.AD.form.work-url.label
114+
stepper.AD.form.creator-profile.label
115115
</label>
116116
117117
<div
@@ -120,7 +120,7 @@ exports[`AttributionDetailsStep Component Rendering Component mounted if status
120120
<input
121121
autocomplete="on"
122122
class="input"
123-
placeholder="stepper.AD.form.work-url.placeholder"
123+
placeholder="stepper.AD.form.creator-profile.placeholder"
124124
type="text"
125125
/>
126126

tests/unit/specs/components/__snapshots__/Stepper.spec.js.snap

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ exports[`Stepper.vue renders correctly has expected UI initially 1`] = `
1010
</div>
1111
<firststep-stub stepid="0" status="current"></firststep-stub>
1212
<nav class="step-navigation">
13-
<!----> <a role="button" class="pagination-next disabled">NEXT STEP</a></nav>
13+
<!----> <a role="button" class="pagination-next disabled">NEXT STEP</a>
14+
</nav>
1415
</div>
1516
<div class="step-container BY inactive enabled">
1617
<div class="step-header">

0 commit comments

Comments
 (0)