diff --git a/app/globals.css b/app/globals.css index 94ad126..69debcc 100644 --- a/app/globals.css +++ b/app/globals.css @@ -129,4 +129,66 @@ html, body { transform: scale(1); opacity: 1; } +} + +/* Modal/Popup animations */ +@keyframes modalFadeIn { + from { + opacity: 0; + } + to { + opacity: 1; + } +} + +@keyframes modalSlideUp { + from { + opacity: 0; + transform: translateY(20px) scale(0.95); + } + to { + opacity: 1; + transform: translateY(0) scale(1); + } +} + +@keyframes modalFadeOut { + from { + opacity: 1; + } + to { + opacity: 0; + } +} + +/* Modal utility classes */ +.modal-backdrop { + animation: modalFadeIn 0.15s ease-out; +} + +.modal-content { + animation: modalSlideUp 0.2s cubic-bezier(0.4, 0, 0.2, 1); +} + +/* Text truncation utilities */ +.text-truncate { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.text-truncate-2 { + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; +} + +.text-truncate-3 { + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; } \ No newline at end of file diff --git a/src/components/agents/AgentsPanel.tsx b/src/components/agents/AgentsPanel.tsx index 36cda5b..01a34fd 100644 --- a/src/components/agents/AgentsPanel.tsx +++ b/src/components/agents/AgentsPanel.tsx @@ -111,6 +111,7 @@ export default function AgentsPanel({ openTabsData, activeTabId, onNodeClick, on }; }, []); + useEffect(() => { const handleCreated = (event: Event) => { const detail = (event as CustomEvent<{ delegation: AgentDelegation }>).detail; @@ -187,151 +188,132 @@ export default function AgentsPanel({ openTabsData, activeTabId, onNodeClick, on }; return ( -
{`
- ██████╗ █████╗ ██╗ ██╗
- ██╔══██╗██╔══██╗ ██║ ██║
- ██████╔╝███████║█████╗███████║
- ██╔══██╗██╔══██║╚════╝██╔══██║
- ██║ ██║██║ ██║ ██║ ██║
- ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝
-`}
-
-