From 61b4cb0d5cdc6b2ffb271e608a1153ecc98b33b0 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Fri, 4 Jul 2025 12:49:53 -0400 Subject: [PATCH] fix: disable non-working features in demo.html - Remove file upload references from system message - Comment out smart-translate feature examples (not working yet) - Disable smart translate demo with "Under Development" styling - Keep traditional translate modal working - Style disabled features with greyed-out appearance - Fix demo page to only show working functionality --- demo.html | 50 ++++++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/demo.html b/demo.html index 8d84a1f..20a2d0d 100644 --- a/demo.html +++ b/demo.html @@ -51,7 +51,7 @@ Additional context for this demo page: - You're helping users explore and test AI features on uncloseai.com - This is a demonstration page showing various AI capabilities - - Encourage users to try different features like TTS, file uploads, and the Hermes chat + - Encourage users to try different features like TTS, translation, and the Hermes chat - Be enthusiastic and helpful when explaining how the features work - If users ask about implementation, reference the code examples on this page `); @@ -226,19 +226,19 @@

6. πŸ”§ Feature Buttons Only

-

TTS, Upload, and Read buttons without chat:

+

TTS and Read buttons without chat:

πŸ“„ Code Example

Feature Buttons Code

Embed specific feature buttons:

-
<div class="uncloseai" data-features="tts,upload,read"></div>
+
<div class="uncloseai" data-features="tts,read"></div>

🎯 Live Example

Try the feature buttons below:

-
+
@@ -273,11 +273,11 @@
<!-- Traditional Modal (full options) -->
 <div class="uncloseai" data-features="translate"></div>
 
-<!-- Smart Dropdown (quick translate) -->
-<div class="uncloseai" data-features="smart-translate"></div>
+<!-- Smart Dropdown (quick translate) - DISABLED: Not working yet -->
+<!-- <div class="uncloseai" data-features="smart-translate"></div> -->
 
-<!-- Both options together -->
-<div class="uncloseai" data-features="translate,smart-translate"></div>
+<!-- Both options together - DISABLED: Smart translate not working --> +<!-- <div class="uncloseai" data-features="translate,smart-translate"></div> -->

🎯 Live Examples

@@ -297,13 +297,15 @@ - -
-
πŸ€– Smart AI Dropdown (New!)
-

AI-powered quick translation:

-
-

✨ Smart Features:

-