From d3e73bc8de7fa2f19a6e5a8e17101585bb468016 Mon Sep 17 00:00:00 2001 From: isUnknown Date: Fri, 8 Nov 2024 12:25:00 +0100 Subject: [PATCH] comments : fix replies visibility --- ...-bureaux-artistiquement-consideree.pdf.txt | 18 +++++++-------- src/components/comments/Comments.vue | 23 ++++++++++++------- src/components/project/ProjectStep.vue | 6 ++++- 3 files changed, 29 insertions(+), 18 deletions(-) diff --git a/public/content/projects/1_miss-dior-blooming-bouquet/1_client-brief/38969543_extrait-de-louis-sullivan-form-follow-function.-de-la-tour-de-bureaux-artistiquement-consideree.pdf.txt b/public/content/projects/1_miss-dior-blooming-bouquet/1_client-brief/38969543_extrait-de-louis-sullivan-form-follow-function.-de-la-tour-de-bureaux-artistiquement-consideree.pdf.txt index 7b3786f..ae87aa6 100644 --- a/public/content/projects/1_miss-dior-blooming-bouquet/1_client-brief/38969543_extrait-de-louis-sullivan-form-follow-function.-de-la-tour-de-bureaux-artistiquement-consideree.pdf.txt +++ b/public/content/projects/1_miss-dior-blooming-bouquet/1_client-brief/38969543_extrait-de-louis-sullivan-form-follow-function.-de-la-tour-de-bureaux-artistiquement-consideree.pdf.txt @@ -123,16 +123,16 @@ Comments: uuid: file://s0lNtRA0Z7ybTCWG pageIndex: 1 replies: [ ] - text: commentaire positionné + text: ouveau commentaire author: - name: Adrien Payet - email: adrien.payet@outlook.com - uuid: user://WWjXgPWk - role: admin - date: 2024-11-06T16:35:30+01:00 - id: m361j842 + name: Utilisateur Dior + email: utilisateur@dior.com + uuid: user://HfuumN8s + role: client + date: 2024-11-06T16:57:15+01:00 + id: m362b71x type: comment isRead: false position: - x: '239.03332519531' - y: 74 \ No newline at end of file + x: '59.033325195312' + y: 59 \ No newline at end of file diff --git a/src/components/comments/Comments.vue b/src/components/comments/Comments.vue index c99f5dc..a038023 100644 --- a/src/components/comments/Comments.vue +++ b/src/components/comments/Comments.vue @@ -63,12 +63,17 @@
{ + sortedReplies.value = newVal ? newVal.replies.slice().reverse() : null; +}); watch( () => comments, @@ -254,7 +261,7 @@ function handleCommentPositionClick(event) { padding-right: 2rem; } .comments.empty::after { - content: 'Partagez vos idées en ajoutant des commentaires'; + content: "Partagez vos idées en ajoutant des commentaires"; height: 100%; display: grid; place-items: center; diff --git a/src/components/project/ProjectStep.vue b/src/components/project/ProjectStep.vue index dc4d86b..0214259 100644 --- a/src/components/project/ProjectStep.vue +++ b/src/components/project/ProjectStep.vue @@ -41,7 +41,11 @@ data-icon="document" > -
2 commentaire(s)
+