From 1319d1f215717cf32102544329974806b66f6c9e Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Mon, 28 Oct 2024 15:41:24 -0500 Subject: [PATCH] add editable channel prompts --- src/lib/common/InPlaceEdit.svelte | 71 +++++++---- src/lib/common/nav-bar/NavItem.svelte | 48 +++++++- src/lib/helpers/types/agentTypes.js | 1 + src/routes/page/agent/[agentId]/+page.svelte | 19 ++- .../agent/[agentId]/agent-overview.svelte | 2 +- .../page/agent/[agentId]/agent-prompt.svelte | 115 +++++++++++++++--- 6 files changed, 210 insertions(+), 46 deletions(-) diff --git a/src/lib/common/InPlaceEdit.svelte b/src/lib/common/InPlaceEdit.svelte index a5993bb4..2eed2a9a 100644 --- a/src/lib/common/InPlaceEdit.svelte +++ b/src/lib/common/InPlaceEdit.svelte @@ -1,46 +1,73 @@ {#if editing} -
+ + {:else} -