From 5753a7f912e253f4ca3f8c17eb17fc1885615b32 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Sun, 12 Apr 2026 10:27:27 -0300 Subject: [PATCH] ui: enhance chat interface --- ui/suite/chat/chat.css | 58 ++++++++++++++++++ ui/suite/chat/chat.html | 127 +++++++++++++++++++++++++++++++++++++++- 2 files changed, 184 insertions(+), 1 deletion(-) diff --git a/ui/suite/chat/chat.css b/ui/suite/chat/chat.css index 34b25a6..7c9b555 100644 --- a/ui/suite/chat/chat.css +++ b/ui/suite/chat/chat.css @@ -537,6 +537,64 @@ footer { } /* Suggestions */ +/* Switchers Container - Response Format Modifiers */ +.switchers-container { + display: flex; + align-items: center; + gap: 12px; + padding: 8px 16px; + flex-wrap: wrap; + background: rgba(0, 0, 0, 0.02); + border-bottom: 1px solid rgba(0, 0, 0, 0.05); +} + +.switchers-label { + font-size: 13px; + font-weight: 600; + color: #666; + text-transform: uppercase; + letter-spacing: 0.5px; +} + +.switchers-chips { + display: flex; + gap: 8px; + flex-wrap: wrap; +} + +.switcher-chip { + display: flex; + align-items: center; + gap: 6px; + padding: 6px 12px; + border-radius: 20px; + border: 2px solid transparent; + font-size: 13px; + font-weight: 500; + cursor: pointer; + transition: all 0.2s ease; + background: rgba(0, 0, 0, 0.05); + color: #666; + user-select: none; +} + +.switcher-chip:hover { + background: rgba(0, 0, 0, 0.08); + transform: translateY(-1px); +} + +.switcher-chip.active { + border-color: currentColor; + background: currentColor; + color: white; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); +} + +.switcher-chip-icon { + font-size: 14px; +} + +/* Suggestions Container */ .suggestions-container { display: flex; flex-wrap: wrap; diff --git a/ui/suite/chat/chat.html b/ui/suite/chat/chat.html index d5c9406..5d88125 100644 --- a/ui/suite/chat/chat.html +++ b/ui/suite/chat/chat.html @@ -16,6 +16,12 @@