From 8cdb82d0b5162bdd29ea9cf8d2fa014f27445dad Mon Sep 17 00:00:00 2001 From: Nicolas Boulay Date: Fri, 24 Nov 2023 13:44:17 -0500 Subject: [PATCH] pkp/pkp-lib#9456 Refactor for private notes --- src/components/ListPanel/users/SelectReviewerListItem.vue | 8 ++++---- .../ListPanel/users/SelectReviewerListPanel.vue | 4 ++-- .../ListPanel/previews/PreviewSelectReviewerListPanel.vue | 4 ++-- src/docs/components/ListPanel/readme-select-reviewer.md | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/ListPanel/users/SelectReviewerListItem.vue b/src/components/ListPanel/users/SelectReviewerListItem.vue index fd4fd19e4..7fdfa6877 100644 --- a/src/components/ListPanel/users/SelectReviewerListItem.vue +++ b/src/components/ListPanel/users/SelectReviewerListItem.vue @@ -193,11 +193,11 @@
- +
- {{ privateNotesLabel }} + {{ userPrivateNotesLabel }}
-
+
@@ -288,7 +288,7 @@ export default { type: String, required: true, }, - privateNotesLabel: { + userPrivateNotesLabel: { type: String, required: true, }, diff --git a/src/components/ListPanel/users/SelectReviewerListPanel.vue b/src/components/ListPanel/users/SelectReviewerListPanel.vue index e17f435e3..bb18828aa 100644 --- a/src/components/ListPanel/users/SelectReviewerListPanel.vue +++ b/src/components/ListPanel/users/SelectReviewerListPanel.vue @@ -76,7 +76,7 @@ " :declinedReviewsLabel="declinedReviewsLabel" :gossipLabel="gossipLabel" - :privateNotesLabel="privateNotesLabel" + :userPrivateNotesLabel="userPrivateNotesLabel" :key="item.id" :item="item" :neverAssignedLabel="neverAssignedLabel" @@ -203,7 +203,7 @@ export default { type: String, required: true, }, - privateNotesLabel: { + userPrivateNotesLabel: { type: String, required: true, }, diff --git a/src/docs/components/ListPanel/previews/PreviewSelectReviewerListPanel.vue b/src/docs/components/ListPanel/previews/PreviewSelectReviewerListPanel.vue index 612fa9004..2a530b160 100644 --- a/src/docs/components/ListPanel/previews/PreviewSelectReviewerListPanel.vue +++ b/src/docs/components/ListPanel/previews/PreviewSelectReviewerListPanel.vue @@ -17,7 +17,7 @@ emptyLabel="No reviewers found" :filters="filters" gossipLabel="Editorial Public Notes" - privateNotesLabel="Editorial Private Notes" + userPrivateNotesLabel="Editorial Private Notes" id="previewSelectReviewerListPanel" :items="items" :itemsMax="items.length" @@ -73,7 +73,7 @@ export default { }, gossip: "

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.

", - privateNotes: + userPrivateNote: "

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.

", }, { diff --git a/src/docs/components/ListPanel/readme-select-reviewer.md b/src/docs/components/ListPanel/readme-select-reviewer.md index 29154f1f8..5f80ff4d5 100644 --- a/src/docs/components/ListPanel/readme-select-reviewer.md +++ b/src/docs/components/ListPanel/readme-select-reviewer.md @@ -18,7 +18,7 @@ | `emptyLabel` | A localized string to display when there are no reviewers to show in the list. | | `filters` | An array [Filter](#/component/Filter)s. Default: `[]` | | `gossipLabel` | A localized string for the gossip section. | -| `privateNotesLabel` | A localized string for the private notes section. | +| `userPrivateNotesLabel` | A localized string for the private notes section. | | `id` | A unique id for this component. | | `items` | An array of reviewers. Default: `[]` | | `itemsMax` | A count of all reviewers in the journal, press or preprint server. Default: `0` |