From 31cf726a2afaa7fe8f424dd6a89d8f47a22fbaa6 Mon Sep 17 00:00:00 2001 From: Kevin Hahn Date: Tue, 14 Jan 2025 10:26:43 +0700 Subject: [PATCH] make activity changes textbox readonly (#1370) * make activity changes textbox readonly * Rework hiding search icon in readonly mode * Restyle readonly vs editable state of form fields --------- Co-authored-by: Tim Haasdyk --- frontend/viewer/src/ProjectView.svelte | 2 +- frontend/viewer/src/TestProjectView.svelte | 7 ++++ frontend/viewer/src/WebComponent.svelte | 9 ++++- .../src/lib/activity/ActivityView.svelte | 3 +- .../Services/IMiniLcmJsInvokable.ts | 1 - .../viewer/src/lib/entry-editor/field.postcss | 38 ++++++++++++------- .../inputs/CrdtMultiOptionField.svelte | 2 +- .../viewer/src/lib/history/HistoryView.svelte | 6 +-- 8 files changed, 46 insertions(+), 22 deletions(-) diff --git a/frontend/viewer/src/ProjectView.svelte b/frontend/viewer/src/ProjectView.svelte index 6df0d62b5..4fc3e5479 100644 --- a/frontend/viewer/src/ProjectView.svelte +++ b/frontend/viewer/src/ProjectView.svelte @@ -346,7 +346,7 @@ {#if about} {/if} - {#if $features.feedback} + {#if $features.feedback && fwLiteConfig.feedbackUrl}