File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
agentex-ui/components/agentex Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { useRouter } from 'next/navigation';
66import { AnimatePresence } from 'framer-motion' ;
77import {
88 Loader2 ,
9+ MessageSquare ,
910 MessageSquarePlus ,
1011 PanelLeftClose ,
1112 PanelLeftOpen ,
@@ -75,6 +76,14 @@ export function TaskSidebar() {
7576 setIsCollapsed ( prev => ! prev ) ;
7677 } , [ ] ) ;
7778
79+ const handleFeedback = useCallback ( ( ) => {
80+ window . open (
81+ 'https://github.com/scaleapi/scale-agentex/issues/new' ,
82+ '_blank' ,
83+ 'noopener,noreferrer'
84+ ) ;
85+ } , [ ] ) ;
86+
7887 return (
7988 < ResizableSidebar
8089 side = "left"
@@ -131,6 +140,17 @@ export function TaskSidebar() {
131140 </ >
132141 ) }
133142 </ div >
143+ < div className = "mt-auto px-2 pt-2" >
144+ < Separator className = "mb-2" />
145+ < Button
146+ onClick = { handleFeedback }
147+ variant = "ghost"
148+ className = "text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-primary-foreground flex w-full items-center justify-start gap-2"
149+ >
150+ < MessageSquare className = "size-4" />
151+ Give Feedback
152+ </ Button >
153+ </ div >
134154 </ div >
135155 </ ResizableSidebar >
136156 ) ;
You can’t perform that action at this time.
0 commit comments