Skip to content

Commit f65bcf6

Browse files
committed
chore: cleanup
1 parent 30847bd commit f65bcf6

File tree

4 files changed

+7
-91
lines changed

4 files changed

+7
-91
lines changed

packages/compass-assistant/README.md

Lines changed: 0 additions & 87 deletions
This file was deleted.

packages/compass-assistant/src/assistant-drawer.tsx renamed to packages/compass-assistant/src/compass-assistant-drawer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import { AssistantChat } from './assistant-chat';
44
import { 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) {

packages/compass-assistant/src/index.tsx

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

packages/compass-web/src/entrypoint.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ import { WebWorkspaceTab as WelcomeWorkspaceTab } from '@mongodb-js/compass-welc
5858
import { useCompassWebPreferences } from './preferences';
5959
import { DataModelingWorkspaceTab as DataModelingWorkspace } from '@mongodb-js/compass-data-modeling';
6060
import { 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

6366
export type TrackFunction = (
6467
event: string,

0 commit comments

Comments
 (0)