From 7a3871fc9519d11d30b89e75e0a52096b50c4cd6 Mon Sep 17 00:00:00 2001 From: "k.greyZ" Date: Mon, 1 Jun 2026 21:11:47 +0300 Subject: [PATCH] feat(onboarding): improve setup UX with clickable triggers and auto-fill buttons - Turn the "/setup" text on the welcome screen and fallback state into a clickable link that automatically runs the setup command. - Add an interactive down-arrow "Use in Chat" button next to copy button on typewriter-generated setup code blocks. - Programmatically trim the "..." placeholder when inserting API keys, focusing the cursor right after "sk-". - Implement click-delegation for supported provider spans and raw code elements inside the setup guide to instantly pre-populate the input bar. --- static/index.html | 12 ++--- static/js/models.js | 2 +- static/js/slashCommands.js | 96 +++++++++++++++++++++++++++++++++++--- static/style.css | 27 +++++++++++ 4 files changed, 123 insertions(+), 14 deletions(-) diff --git a/static/index.html b/static/index.html index 655ff0a..4fdeeec 100644 --- a/static/index.html +++ b/static/index.html @@ -928,7 +928,7 @@
Odysseus Chat
Rename
Copy Chat
PDF
Save to Documents
Odysseus
-
Welcome, type /setup to get started.
+
Welcome, type /setup to get started.