File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 "name" : " gemini-coder" ,
33 "displayName" : " Code Web Chat" ,
44 "description" : " The fastest way to code with AI (CWC)" ,
5- "version" : " 1.895 .0" ,
5+ "version" : " 1.896 .0" ,
66 "scripts" : {
77 "build" : " npx vsce package --no-dependencies" ,
88 "vscode:prepublish" : " rimraf out && npm run compile" ,
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ type Props = {
4444 on_task_delete : ( root : string , timestamp : number ) => void
4545 on_task_forward : ( text : string ) => void
4646 is_setup_complete : boolean
47+ is_connected : boolean
4748}
4849
4950export const Home : React . FC < Props > = ( props ) => {
@@ -159,7 +160,7 @@ export const Home: React.FC<Props> = (props) => {
159160 ref = { mode_ref }
160161 >
161162 < UiModeButton
162- pre = " Autofill"
163+ pre = { props . is_connected ? ' Autofill' : 'Copy for' }
163164 label = "Chatbots"
164165 on_click = { props . on_chatbots_click }
165166 is_compact = { is_mode_sticky }
Original file line number Diff line number Diff line change @@ -447,6 +447,7 @@ export const Panel = () => {
447447 < Home
448448 vscode = { vscode }
449449 is_active = { active_view == 'home' }
450+ is_connected = { is_connected }
450451 on_go_forward = { ( ) => set_active_view ( 'main' ) }
451452 on_chatbots_click = { ( ) => {
452453 set_active_view ( 'main' )
You can’t perform that action at this time.
0 commit comments