File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
packages/jupyter-ai/src/components Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import {
12
12
Radio ,
13
13
RadioGroup ,
14
14
TextField ,
15
+ Tooltip ,
15
16
CircularProgress
16
17
} from '@mui/material' ;
17
18
import SettingsIcon from '@mui/icons-material/Settings' ;
@@ -530,23 +531,26 @@ function CompleterSettingsButton(props: {
530
531
} ) : JSX . Element {
531
532
if ( props . selection && ! props . isCompleterEnabled ) {
532
533
return (
533
- < IconButton
534
+ < Tooltip
534
535
title = {
535
536
'A completer model is selected, but ' +
536
537
( props . provider === null
537
538
? 'the completion provider plugin is not available.'
538
539
: 'the inline completion provider is not enabled in the settings: click to open settings.' )
539
540
}
540
- onClick = { props . openSettings }
541
541
>
542
- < WarningAmberIcon />
543
- </ IconButton >
542
+ < IconButton onClick = { props . openSettings } >
543
+ < WarningAmberIcon />
544
+ </ IconButton >
545
+ </ Tooltip >
544
546
) ;
545
547
}
546
548
return (
547
- < IconButton onClick = { props . openSettings } title = "Completer settings" >
548
- < SettingsIcon />
549
- </ IconButton >
549
+ < Tooltip title = "Completer settings" >
550
+ < IconButton onClick = { props . openSettings } >
551
+ < SettingsIcon />
552
+ </ IconButton >
553
+ </ Tooltip >
550
554
) ;
551
555
}
552
556
You can’t perform that action at this time.
0 commit comments