File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
packages/compass-indexes/src/components/create-index-form Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 11import {
22 Button ,
33 palette ,
4+ InsightsChip ,
45 Body ,
56 cx ,
67 useFocusRing ,
@@ -76,6 +77,12 @@ const indexSuggestionsLoaderStyles = css({
7677 borderRadius : editorContainerRadius ,
7778} ) ;
7879
80+ const insightStyles = css ( {
81+ display : 'flex' ,
82+ alignItems : 'center' ,
83+ gap : spacing [ 100 ] ,
84+ } ) ;
85+
7986const QueryFlowSection = ( {
8087 schemaFields,
8188 serverVersion,
@@ -132,6 +139,14 @@ const QueryFlowSection = ({
132139
133140 return (
134141 < >
142+ { initialQuery && (
143+ < div className = { insightStyles } >
144+ < InsightsChip />
145+ < p >
146+ We prefilled the query input below based on your recently run query
147+ </ p >
148+ </ div >
149+ ) }
135150 < Body baseFontSize = { 16 } weight = "medium" className = { headerStyles } >
136151 Input Query
137152 </ Body >
You can’t perform that action at this time.
0 commit comments