From 25ab61f48896e0535fc236fd776618f98657afd8 Mon Sep 17 00:00:00 2001 From: Alexander Platov Date: Fri, 20 Sep 2024 22:04:06 +0700 Subject: [PATCH] Added Checking styles in a Document (#6631) Signed-off-by: Alexander Platov --- .../right-panel/DocumentCommentThread.svelte | 6 +- .../model/documents/document-comments-page.ts | 14 ++-- .../tests/documents/documents-content.spec.ts | 66 ++++++++++++++- .../sanity/tests/documents/documents.spec.ts | 2 +- tests/sanity/tests/model/common-page.ts | 4 + .../model/documents/document-content-page.ts | 83 +++++++++++++++++-- .../model/recruiting/talent-details-page.ts | 4 + 7 files changed, 159 insertions(+), 20 deletions(-) diff --git a/plugins/controlled-documents-resources/src/components/document/right-panel/DocumentCommentThread.svelte b/plugins/controlled-documents-resources/src/components/document/right-panel/DocumentCommentThread.svelte index b984c42f75..538667bafb 100644 --- a/plugins/controlled-documents-resources/src/components/document/right-panel/DocumentCommentThread.svelte +++ b/plugins/controlled-documents-resources/src/components/document/right-panel/DocumentCommentThread.svelte @@ -32,13 +32,13 @@ {#if value !== undefined}
-
+ {#if value?.index} - #{value.index} + #{value.index} {/if}
+ {#if $canAddDocumentCommentsFeedback}