Skip to content

Commit 886ee68

Browse files
committed
chore: correct the version, remove redundanc ones
1 parent 2b90d85 commit 886ee68

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

packages/compass-assistant/src/compass-assistant-provider.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,13 @@ type AssistantActionsContextType = {
4646
error: Error;
4747
}) => void;
4848
clearChat: () => void;
49+
tellMoreAboutProactiveInsights: () => void;
4950
};
5051
export 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
},

packages/compass-components/src/components/signal-popover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"

packages/compass-explain-plan/src/components/explain-plan-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)