File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { useFileContext } from '../context/UsersFiles';
66import { AlertColor , AlertPropsColorOverrides } from '@mui/material' ;
77import { OverridableStringUnion } from '@mui/types' ;
88import { buttonCaptions } from '../utils/Constants' ;
9+ import ButtonWithToolTip from './ButtonWithToolTip' ;
910
1011const SchemaFromTextDialog = ( {
1112 open,
@@ -113,7 +114,7 @@ const SchemaFromTextDialog = ({
113114 onClose ( ) ;
114115 } }
115116 >
116- < Dialog . Header id = 'form-dialog-title' > Graph Settings</ Dialog . Header >
117+ < Dialog . Header id = 'form-dialog-title' > Entity Graph Extraction Settings</ Dialog . Header >
117118 < Dialog . Content className = 'n-flex n-flex-col n-gap-token-4' >
118119 < Textarea
119120 helpText = 'Analyze the text to extract Entities'
@@ -134,9 +135,9 @@ const SchemaFromTextDialog = ({
134135 } }
135136 checked = { isSchema }
136137 />
137- < Button loading = { loading } disabled = { userText . trim ( ) === '' || loading } onClick = { clickHandler } >
138+ < ButtonWithToolTip placement = 'top' label = 'Analyze button' text = { userText . trim ( ) === '' ? 'please fill the text to extract graph schema' : buttonCaptions . analyze } loading = { loading } disabled = { userText . trim ( ) === '' || loading } onClick = { clickHandler } >
138139 { buttonCaptions . analyze }
139- </ Button >
140+ </ ButtonWithToolTip >
140141 </ Dialog . Actions >
141142 </ Dialog . Content >
142143 </ Dialog >
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ export default function SettingsModal({
161161
162162 return (
163163 < Dialog size = 'medium' open = { open } aria-labelledby = 'form-dialog-title' onClose = { onClose } >
164- < Dialog . Header id = 'form-dialog-title' > Graph Settings</ Dialog . Header >
164+ < Dialog . Header id = 'form-dialog-title' > Entity Graph Extraction Settings</ Dialog . Header >
165165 < Dialog . Content className = 'n-flex n-flex-col n-gap-token-4' >
166166 < Dropdown
167167 helpText = 'Schema Examples'
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ export const buttonCaptions = {
124124 amazon : 'Amazon S3' ,
125125 noLables : 'No Labels Found in the Database' ,
126126 dropYourCreds : 'Drop your neo4j credentials file here' ,
127- analyze :'Analyze' ,
127+ analyze :'Analyze text to extract graph schema ' ,
128128 connect : 'Connect' ,
129129 disconnect :'Disconnect' ,
130130 submit :'Submit' ,
You can’t perform that action at this time.
0 commit comments