File tree Expand file tree Collapse file tree 4 files changed +7
-91
lines changed Expand file tree Collapse file tree 4 files changed +7
-91
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ import { AssistantChat } from './assistant-chat';
44import { ASSISTANT_DRAWER_ID , AssistantContext } from './assistant-provider' ;
55
66/**
7- * AssistantDrawer component that wraps AssistantChat in a DrawerSection.
7+ * CompassAssistantDrawer component that wraps AssistantChat in a DrawerSection.
88 * This component can be placed at any level in the component tree as long as
99 * it's within an AssistantProvider.
1010 */
11- export const AssistantDrawer : React . FunctionComponent = ( ) => {
11+ export const CompassAssistantDrawer : React . FunctionComponent = ( ) => {
1212 const context = useContext ( AssistantContext ) ;
1313
1414 if ( ! context ) {
Original file line number Diff line number Diff line change @@ -38,4 +38,4 @@ export const CompassAssistantProvider = registerCompassPlugin(
3838 }
3939) ;
4040
41- export { AssistantDrawer as CompassAssistantDrawer } from './assistant-drawer' ;
41+ export { CompassAssistantDrawer } from './compass- assistant-drawer' ;
Original file line number Diff line number Diff line change @@ -58,7 +58,10 @@ import { WebWorkspaceTab as WelcomeWorkspaceTab } from '@mongodb-js/compass-welc
5858import { useCompassWebPreferences } from './preferences' ;
5959import { DataModelingWorkspaceTab as DataModelingWorkspace } from '@mongodb-js/compass-data-modeling' ;
6060import { DataModelStorageServiceProviderInMemory } from '@mongodb-js/compass-data-modeling/web' ;
61- import { CompassAssistantProvider } from '@mongodb-js/compass-assistant' ;
61+ import {
62+ CompassAssistantDrawer ,
63+ CompassAssistantProvider ,
64+ } from '@mongodb-js/compass-assistant' ;
6265
6366export type TrackFunction = (
6467 event : string ,
You can’t perform that action at this time.
0 commit comments