File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
compass-components/src/components
compass-explain-plan/src/components Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -46,11 +46,13 @@ type AssistantActionsContextType = {
4646 error : Error ;
4747 } ) => void ;
4848 clearChat : ( ) => void ;
49+ tellMoreAboutProactiveInsights : ( ) => void ;
4950} ;
5051export const AssistantActionsContext =
5152 createContext < AssistantActionsContextType > ( {
5253 interpretExplainPlan : ( ) => { } ,
5354 interpretConnectionError : ( ) => { } ,
55+ tellMoreAboutProactiveInsights : ( ) => { } ,
5456 clearChat : ( ) => { } ,
5557 } ) ;
5658
@@ -123,6 +125,9 @@ export const AssistantProvider: React.FunctionComponent<
123125 { }
124126 ) ;
125127 } ,
128+ tellMoreAboutProactiveInsights : ( ) => {
129+ openDrawer ( ASSISTANT_DRAWER_ID ) ;
130+ } ,
126131 clearChat : ( ) => {
127132 chat . messages = [ ] ;
128133 } ,
Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ const SignalCard: React.FunctionComponent<
268268 size = "small"
269269 variant = "default"
270270 leftGlyph = {
271- // TODO(COMPASS-9384 ): Will be replaced with Sparkle gradient icon once Leafygreen components are updated.
271+ // TODO(COMPASS-9751 ): Will be replaced with Sparkle gradient icon once Leafygreen components are updated.
272272 < Icon glyph = "Sparkle" style = { { color : palette . green . dark1 } } />
273273 }
274274 data-testid = "tell-me-more-button"
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ export const ExplainPlanModal: React.FunctionComponent<
138138 size = "small"
139139 variant = "default"
140140 leftGlyph = {
141- // TODO(COMPASS-9384 ): Will be replaced with Sparkle gradient icon once Leafygreen components are updated.
141+ // TODO(COMPASS-9751 ): Will be replaced with Sparkle gradient icon once Leafygreen components are updated.
142142 < Icon glyph = "Sparkle" style = { { color : palette . green . dark1 } } />
143143 }
144144 data-testid = "interpret-for-me-button"
You can’t perform that action at this time.
0 commit comments