File tree Expand file tree Collapse file tree
ui/src/components/editor/Enter
src/view/frontend/home/HomeView Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 display : flex ;
33 align-items : center ;
44 justify-content : space-between ;
5- padding : var (--padding-10px ) var (--padding-16px );
5+ padding : var (--padding-8px ) var (--padding-12px );
66 background-color : var (--vscode-button-background );
77 color : var (--vscode-button-foreground );
8- border-radius : var (--border-radius-10px );
8+ border-radius : var (--border-radius-6px );
99
1010 & :hover {
1111 background-color : var (--vscode-button-hoverBackground );
Original file line number Diff line number Diff line change 22 "name" : " gemini-coder" ,
33 "displayName" : " Code Web Chat (CWC)" ,
44 "description" : " Free AI pair programming" ,
5- "version" : " 1.301 .0" ,
5+ "version" : " 1.302 .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 @@ -543,23 +543,25 @@ export const HomeView: React.FC<Props> = (props) => {
543543 </ a >
544544 </ div >
545545 < div className = { styles . footer__right } >
546- < button
547- className = { cn (
548- styles . footer__button ,
549- styles [ 'footer__button--outlined' ]
550- ) }
551- onClick = { handle_apply_click }
552- title = {
553- props . can_apply_clipboard
554- ? 'Integrate copied message or a code block'
555- : 'Nothing applicable found in clipboard'
556- }
557- disabled = {
558- ! props . can_apply_clipboard || is_apply_disabled_temporarily
559- }
560- >
561- APPLY
562- </ button >
546+ { props . home_view_type == HOME_VIEW_TYPES . WEB && (
547+ < button
548+ className = { cn (
549+ styles . footer__button ,
550+ styles [ 'footer__button--outlined' ]
551+ ) }
552+ onClick = { handle_apply_click }
553+ title = {
554+ props . can_apply_clipboard
555+ ? 'Integrate copied message or a code block'
556+ : 'Nothing applicable found in clipboard'
557+ }
558+ disabled = {
559+ ! props . can_apply_clipboard || is_apply_disabled_temporarily
560+ }
561+ >
562+ APPLY
563+ </ button >
564+ ) }
563565 < button
564566 className = { cn (
565567 styles . footer__button ,
You can’t perform that action at this time.
0 commit comments