Agent Zero AI framework
fix UI regressions
Alessandrobd6a80c0422f
diff --git a/webui/components/chat/input/bottom-actions.html b/webui/components/chat/input/bottom-actions.htmlindex 22cc32251..ddd02916b 100644--- a/webui/components/chat/input/bottom-actions.html+++ b/webui/components/chat/input/bottom-actions.html@@ -10,8 +10,8 @@<body><div x-data><template x-if="$store.chatInput">- <x-extension id="chat-input-bottom-actions-start"></x-extension><div class="text-buttons-row">+ <x-extension id="chat-input-bottom-actions-start"></x-extension><button class="text-button" @click="$store.chatInput.pauseAgent(!$store.chatInput.paused)"><template x-if="!$store.chatInput.paused"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" width="14" height="14">@@ -74,13 +74,14 @@</svg><p>Nudge</p></button>+ <x-extension id="chat-input-bottom-actions-end"></x-extension></div>- <x-extension id="chat-input-bottom-actions-end"></x-extension></template></div><style>.text-buttons-row { width: 100%; display: flex; padding-top: var(--spacing-xs); margin-left: var(--spacing-xs); }+ .text-buttons-row > x-extension { display: contents; }.text-button { background-color: transparent; border: none; border-radius: 5px; color: var(--color-text); font-family: "Rubik", Arial, Helvetica, sans-serif; font-size: 0.6rem; padding: 6px var(--spacing-sm); cursor: pointer; opacity: 0.8; -webkit-transition: all 0.3s; transition: all 0.3s; display: flex; align-items: center; gap: var(--spacing-xs); }.text-button:hover:not(:disabled) { opacity: 1; background-color: var(--color-background-hover); border-radius: 4px; }.text-button:active:not(:disabled) { opacity: 0.5; }diff --git a/webui/components/chat/input/progress.html b/webui/components/chat/input/progress.htmlindex 52f04a2ac..caba06014 100644--- a/webui/components/chat/input/progress.html+++ b/webui/components/chat/input/progress.html@@ -38,6 +38,7 @@<style>#progress-bar-box { background-color: var(--color-panel); padding: var(--spacing-sm) var(--spacing-md); padding-bottom: 0; display: flex; justify-content: space-between; z-index: 1001; gap: var(--spacing-sm); }+ #progress-bar-box > x-extension { display: contents; }#progress-bar-box h4 { margin: 0 1.2em 0 0; }#progress-bar-h { color: var(--color-primary); display: flex; align-items: left; justify-content: flex-start; height: 1.2em; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; font-weight: normal; }#progress-bar-i { font-weight: bold; padding-right: 0.5em; color: var(--color-secondary); }diff --git a/webui/components/chat/top-section/chat-top.html b/webui/components/chat/top-section/chat-top.htmlindex c23cc76ea..2809fa6f2 100644--- a/webui/components/chat/top-section/chat-top.html+++ b/webui/components/chat/top-section/chat-top.html@@ -14,22 +14,24 @@<!-- This construct of x-data + x-if is used to ensure the component is only rendered when the store is available --><div x-data><template x-if="$store.chatTop">- <x-extension id="chat-top-start"></x-extension>-<!-- Time and Date --><div id="time-date-container">+ <x-extension id="chat-top-start"></x-extension><div id="time-date"></div><x-component path="sync/sync-status.html"></x-component><!-- Notification Toggle positioned next to time-date --><x-component path="notifications/notification-icons.html"></x-component><!-- Project Selector --><x-component path="projects/project-selector.html"></x-component>+ <x-extension id="chat-top-end"></x-extension></div>- <x-extension id="chat-top-end"></x-extension>-</template></div>+ <style>+ #time-date-container > x-extension { display: contents; }+ </style>+</body></html>diff --git a/webui/components/welcome/welcome-screen.html b/webui/components/welcome/welcome-screen.htmlindex 10b6bfb61..ba76d8e59 100644--- a/webui/components/welcome/welcome-screen.html+++ b/webui/components/welcome/welcome-screen.html@@ -9,8 +9,8 @@<body><div x-data ><template x-if="$store.welcomeStore && $store.welcomeStore.isVisible">- <x-extension id="welcome-screen-start"></x-extension><div x-create="$store.welcomeStore.onCreate()" class="welcome-container">+ <x-extension id="welcome-screen-start"></x-extension><div class="welcome-content"><!-- Action Cards --><div class="welcome-actions">@@ -96,8 +96,8 @@</template></div></div>+ <x-extension id="welcome-screen-end"></x-extension></div>- <x-extension id="welcome-screen-end"></x-extension></template></div>@@ -116,6 +116,9 @@position: relative;overflow: hidden;}+ .welcome-container > x-extension {+ display: contents;+ }.welcome-container::before {content: "";