Skip to content

Commit 9e27082

Browse files
Merge remote-tracking branch 'origin/main' into beta-releases
2 parents 64632d0 + cea5735 commit 9e27082

File tree

91 files changed

+977
-883
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+977
-883
lines changed

THIRD-PARTY-NOTICES.md

Lines changed: 71 additions & 38 deletions
Large diffs are not rendered by default.

configs/mocha-config-compass/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"identity-obj-proxy": "^3.0.0",
3434
"react-16-node-hanging-test-fix": "^1.0.0",
3535
"sinon-chai": "^3.7.0",
36-
"ts-node": "^10.9.1",
36+
"ts-node": "^10.9.2",
3737
"why-is-node-running": "^2.2.2"
3838
}
3939
}

configs/testing-library-compass/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"depcheck": "^1.4.1",
5757
"mocha": "^10.2.0",
5858
"nyc": "^15.1.0",
59-
"typescript": "^5.0.4"
59+
"typescript": "^5.8.3"
6060
},
6161
"dependencies": {
6262
"@testing-library/react": "^12.1.5",

configs/testing-library-compass/src/index.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,9 @@ function createWrapper(
283283
const wrapperState = {
284284
globalAppRegistry: new AppRegistry(),
285285
localAppRegistry: new AppRegistry(),
286-
preferences: new InMemoryPreferencesAccess(options.preferences),
286+
preferences: new InMemoryPreferencesAccess(
287+
options.preferences
288+
) as PreferencesAccess,
287289
track: Sinon.stub(),
288290
logger: createNoopLogger(),
289291
connectionStorage:
@@ -585,6 +587,12 @@ function createPluginWrapper<
585587
return { ref, Wrapper: ComponentWithProvider };
586588
}
587589

590+
export type RenderPluginWithConnectionsResult<
591+
T extends CompassPluginComponent<any, any, any>
592+
> = RenderWithConnectionsResult & {
593+
plugin: ReturnType<T['useActivate']>;
594+
};
595+
588596
function createPluginTestHelpers<
589597
Props,
590598
ServiceLocators extends Record<string, () => unknown>,

configs/tsconfig-compass/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"tsconfig.react.json"
99
],
1010
"peerDependencies": {
11-
"typescript": "^5.0.4"
11+
"typescript": "^5.8.3"
1212
},
1313
"devDependencies": {
1414
"@mongodb-js/prettier-config-compass": "^1.2.8"

configs/tsconfig-compass/tsconfig.common.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"extends": "@mongodb-js/tsconfig-devtools/tsconfig.common.json",
33
"compilerOptions": {
44
"removeComments": false,
5-
"moduleResolution": "node16"
5+
"moduleResolution": "node16",
6+
"module": "node16"
67
}
78
}
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"extends": "@mongodb-js/tsconfig-devtools/tsconfig.react.json",
33
"compilerOptions": {
4-
"removeComments": false
4+
"removeComments": false,
5+
"moduleResolution": "node16",
6+
"module": "node16"
57
}
68
}

configs/webpack-config-compass/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@types/html-webpack-plugin": "^3.2.9",
5353
"@types/webpack-bundle-analyzer": "^4.7.0",
5454
"depcheck": "^1.4.1",
55-
"typescript": "^5.0.4"
55+
"typescript": "^5.8.3"
5656
},
5757
"dependencies": {
5858
"@babel/core": "^7.21.4",

docs/tracking-plan.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
> the tracking plan for the specific Compass version you can use the following
77
> URL: `https://github.com/mongodb-js/compass/blob/<compass version>/docs/tracking-plan.md`
88
9-
Generated on Sun, Jul 6, 2025
9+
Generated on Tue, Jul 8, 2025
1010

1111
## Table of Contents
1212

@@ -75,6 +75,7 @@ Generated on Sun, Jul 6, 2025
7575

7676
### Data Modeling
7777

78+
- [Data Modeling Diagram Created](#event--DataModelingDiagramCreated)
7879
- [Data Modeling Diagram Exported](#event--DataModelingDiagramExported)
7980

8081
### Database / Collection List
@@ -983,6 +984,17 @@ This event is fired when user successfully connects to a new server/cluster.
983984

984985
## Data Modeling
985986

987+
<a name="event--DataModelingDiagramCreated"></a>
988+
989+
### Data Modeling Diagram Created
990+
991+
This event is fired when a new data modeling diagram is created
992+
993+
**Properties**:
994+
995+
- **num_collections** (required): `number`
996+
- **is_compass_web** (optional): `true | undefined`
997+
986998
<a name="event--DataModelingDiagramExported"></a>
987999

9881000
### Data Modeling Diagram Exported

0 commit comments

Comments
 (0)