@@ -6,13 +6,13 @@ import { Editor } from "../editor/Editor";
66import { TableDefinition , TableDefinitionResponse , TabularResult } from "../../lib/types" ;
77import { getBackendSrv } from '@grafana/runtime' ;
88import { TimeSeriesChart } from "../charts/TimeSeriesChart" ;
9- import { PlayIcon } from '@heroicons/react/24/solid' ;
109import { AlertCircle , Loader2Icon } from 'lucide-react' ;
1110import { parseDate } from "../../lib/daterange" ;
1211import { DateRangeSelector } from "../filters/DateRangeSelector" ;
1312import logo from '../../img/quesma-logo-white-transparent-full.png' ;
1413import { AiModal } from "../ai/AiModal" ;
1514import { getBackendUrl } from "../../constants" ;
15+ import { ArrowPathIcon } from '@heroicons/react/24/solid' ;
1616
1717function extractTableFromQuery ( query : string ) {
1818 const regex = / f r o m \s + ( \w + ) / i;
@@ -311,25 +311,27 @@ export default function ObservabilityQueryLanguageComponent() {
311311 disabled = { isLoading }
312312 style = { {
313313 padding : '8px 16px' ,
314- backgroundColor : '#3b82f6 ' ,
314+ backgroundColor : 'rgb(59, 130, 246) ' ,
315315 color : 'white' ,
316- borderRadius : '4px ' ,
316+ borderRadius : '0 ' ,
317317 display : 'flex' ,
318318 alignItems : 'center' ,
319319 gap : '8px' ,
320320 border : 'none' ,
321321 cursor : 'pointer' ,
322322 transition : 'background-color 0.2s' ,
323323 opacity : isLoading ? 0.5 : 1 ,
324- pointerEvents : isLoading ? 'none' : 'auto'
324+ pointerEvents : isLoading ? 'none' : 'auto' ,
325+ fontSize : '14px' ,
326+ fontWeight : '500'
325327 } }
326328 >
327329 { isLoading ? (
328- < Loader2Icon style = { { width : '20px ' , height : '20px' , animation : 'spin 1s linear infinite ' } } />
330+ < Loader2Icon className = "animate-spin" style = { { width : '16px ' , height : '16px ' } } />
329331 ) : (
330- < PlayIcon style = { { width : '20px ' , height : '20px ' } } />
332+ < ArrowPathIcon style = { { width : '16px ' , height : '16px ' } } />
331333 ) }
332- Run Query
334+ Run query
333335 </ button >
334336 </ div >
335337
0 commit comments