Agent Zero AI framework
Fix welcome composer idle placeholder overlap
Alessandro022bae8496d3
diff --git a/tests/test_welcome_composer_static.py b/tests/test_welcome_composer_static.pyindex 650836491..f31f6a429 100644--- a/tests/test_welcome_composer_static.py+++ b/tests/test_welcome_composer_static.py@@ -102,6 +102,12 @@ def test_welcome_composer_can_create_a_chat_before_sending() -> None:assert 'return "arrow_forward";' in input_store+def test_welcome_composer_does_not_overlap_idle_progress_placeholder() -> None:+ input_store = _read("webui/components/chat/input/input-store.js")++ assert "!!chatsStore.selected &&\n this._getSendState() !== \"all\"" in input_store++def test_welcome_composer_buttons_keep_target_geometry_without_glow() -> None:chat_bar = _read("webui/components/chat/input/chat-bar-input.html")mic_css = _read("plugins/_whisper_stt/webui/whisper-stt.css")diff --git a/webui/components/chat/input/input-store.js b/webui/components/chat/input/input-store.jsindex 2b58732c0..caf6129b8 100644--- a/webui/components/chat/input/input-store.js+++ b/webui/components/chat/input/input-store.js@@ -91,6 +91,7 @@ const model = {get showProgressPlaceholder() {return (+ !!chatsStore.selected &&this._getSendState() !== "all" &&!!this.progressText &&!this.message