From fbd76f8ebe1dce050152999903625504acc35261 Mon Sep 17 00:00:00 2001
From: sabaimran <65192171+sabaimran@users.noreply.github.com>
Date: Thu, 9 May 2024 01:29:48 -0700
Subject: [PATCH] Improve the UX of automations (#737)
* Improve the automations UX
- Add suggested jobs to elimiinate some of the cold start problem
- Make each of the tasks cards that are clickable/editable
* Hide suggested automations that have already been added
* Add a footer and reapply styling when a save action is taken on a card
---
src/khoj/interface/web/chat.html | 1 -
src/khoj/interface/web/config_automation.html | 278 +++++++++++++++---
.../interface/web/public_conversation.html | 1 -
3 files changed, 241 insertions(+), 39 deletions(-)
diff --git a/src/khoj/interface/web/chat.html b/src/khoj/interface/web/chat.html
index 8352da03..0f08e3be 100644
--- a/src/khoj/interface/web/chat.html
+++ b/src/khoj/interface/web/chat.html
@@ -400,7 +400,6 @@ To get started, just start typing below. You can also type / to see a list of co
// • auto-render specific keys, e.g.:
delimiters: [
{left: '$$', right: '$$', display: true},
- {left: '$', right: '$', display: false},
{left: '\\(', right: '\\)', display: false},
{left: '\\[', right: '\\]', display: true}
],
diff --git a/src/khoj/interface/web/config_automation.html b/src/khoj/interface/web/config_automation.html
index d307a463..59db68a1 100644
--- a/src/khoj/interface/web/config_automation.html
+++ b/src/khoj/interface/web/config_automation.html
@@ -6,17 +6,29 @@
Automate (Preview)