Skip to content

Commit 023b1c3

Browse files
committed
pkp/pkp-lib#9456 Allowing user private editorial notes
1 parent ecebfa9 commit 023b1c3

File tree

4 files changed

+20
-1
lines changed

4 files changed

+20
-1
lines changed

src/components/ListPanel/users/SelectReviewerListItem.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,12 @@
193193
</div>
194194
<div v-html="item.gossip"></div>
195195
</list-item>
196+
<list-item v-if="item.privateNotes">
197+
<div class="listPanel__item--reviewer__detailHeading">
198+
{{ privateNotesLabel }}
199+
</div>
200+
<div v-html="item.privateNotes"></div>
201+
</list-item>
196202
<list-item v-if="localize(item.biography)">
197203
<div class="listPanel__item--reviewer__detailHeading">
198204
{{ biographyLabel }}
@@ -282,6 +288,10 @@ export default {
282288
type: String,
283289
required: true,
284290
},
291+
privateNotesLabel: {
292+
type: String,
293+
required: true,
294+
},
285295
item: {
286296
type: Object,
287297
required: true,

src/components/ListPanel/users/SelectReviewerListPanel.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
"
7777
:declinedReviewsLabel="declinedReviewsLabel"
7878
:gossipLabel="gossipLabel"
79+
:privateNotesLabel="privateNotesLabel"
7980
:key="item.id"
8081
:item="item"
8182
:neverAssignedLabel="neverAssignedLabel"
@@ -202,6 +203,10 @@ export default {
202203
type: String,
203204
required: true,
204205
},
206+
privateNotesLabel: {
207+
type: String,
208+
required: true,
209+
},
205210
id: {
206211
type: String,
207212
required: true,

src/docs/components/ListPanel/previews/PreviewSelectReviewerListPanel.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
declinedReviewsLabel="Reviews declined"
1717
emptyLabel="No reviewers found"
1818
:filters="filters"
19-
gossipLabel="Editorial Notes"
19+
gossipLabel="Editorial Public Notes"
20+
privateNotesLabel="Editorial Private Notes"
2021
id="previewSelectReviewerListPanel"
2122
:items="items"
2223
:itemsMax="items.length"
@@ -72,6 +73,8 @@ export default {
7273
},
7374
gossip:
7475
"<p>Aisla is a terrific reviewer but she takes a while to confirm and complete a review. Recommend not using her if you're on a tight deadline.</p>",
76+
privateNotes:
77+
"<p>Keep this note private. Aisla is a terrific reviewer but she takes a while to confirm and complete a review. Recommend not using her if you're on a tight deadline.</p>",
7578
},
7679
{
7780
...reviewer,

src/docs/components/ListPanel/readme-select-reviewer.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
| `emptyLabel` | A localized string to display when there are no reviewers to show in the list. |
1919
| `filters` | An array [Filter](#/component/Filter)s. Default: `[]` |
2020
| `gossipLabel` | A localized string for the gossip section. |
21+
| `privateNotesLabel` | A localized string for the private notes section. |
2122
| `id` | A unique id for this component. |
2223
| `items` | An array of reviewers. Default: `[]` |
2324
| `itemsMax` | A count of all reviewers in the journal, press or preprint server. Default: `0` |

0 commit comments

Comments
 (0)