Skip to content

Commit b24d748

Browse files
committed
merge remote branch back into local
Merge branch 'user-data-interface' of https://github.com/mongodb-js/compass into user-data-interface
2 parents 78026a3 + ad5e416 commit b24d748

File tree

27 files changed

+604
-207
lines changed

27 files changed

+604
-207
lines changed

THIRD-PARTY-NOTICES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The following third-party software is used by and included in **Mongodb Compass**.
2-
This document was automatically generated on Tue Jul 08 2025.
2+
This document was automatically generated on Thu Jul 10 2025.
33

44
## List of dependencies
55

docs/tracking-plan.md

Lines changed: 1 addition & 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 Tue, Jul 8, 2025
9+
Generated on Thu, Jul 10, 2025
1010

1111
## Table of Contents
1212

package-lock.json

Lines changed: 50 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/compass-aggregations/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"@mongodb-js/compass-utils": "^0.9.3",
7272
"@mongodb-js/compass-workspaces": "^0.44.0",
7373
"@mongodb-js/explain-plan-helper": "^1.4.11",
74-
"@mongodb-js/mongodb-constants": "^0.12.0",
74+
"@mongodb-js/mongodb-constants": "^0.12.1",
7575
"@mongodb-js/my-queries-storage": "^0.30.0",
7676
"@mongodb-js/shell-bson-parser": "^1.2.0",
7777
"bson": "^6.10.3",

packages/compass-collection/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@mongodb-js/compass-telemetry": "^1.10.2",
5656
"@mongodb-js/compass-workspaces": "^0.44.0",
5757
"@mongodb-js/connection-info": "^0.15.4",
58-
"@mongodb-js/mongodb-constants": "^0.12.0",
58+
"@mongodb-js/mongodb-constants": "^0.12.1",
5959
"compass-preferences-model": "^2.43.0",
6060
"@mongodb-js/compass-app-registry": "^9.4.13",
6161
"mongodb-collection-model": "^5.29.4",

packages/compass-components/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
"hadron-type-checker": "^7.4.11",
8787
"is-electron-renderer": "^2.0.1",
8888
"lodash": "^4.17.21",
89+
"mongodb-query-util": "^2.4.11",
8990
"polished": "^4.2.2",
9091
"react": "^17.0.2",
9192
"react-hotkeys-hook": "^4.3.7",

packages/compass-components/src/components/document-list/document.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,16 @@ const HadronDocument: React.FunctionComponent<{
8686
editing?: boolean;
8787
onEditStart?: () => void;
8888
extraGutterWidth?: number;
89+
onUpdateQuery?: (field: string, value: unknown) => void;
90+
query?: Record<string, unknown>;
8991
}> = ({
9092
value: document,
9193
editable = false,
9294
editing = false,
9395
onEditStart,
9496
extraGutterWidth,
97+
onUpdateQuery,
98+
query,
9599
}) => {
96100
const { elements, visibleElements } = useHadronDocument(document);
97101
const [autoFocus, setAutoFocus] = useState<{
@@ -156,6 +160,8 @@ const HadronDocument: React.FunctionComponent<{
156160
});
157161
}}
158162
extraGutterWidth={extraGutterWidth}
163+
onUpdateQuery={onUpdateQuery}
164+
query={query}
159165
></HadronElement>
160166
);
161167
})}

0 commit comments

Comments
 (0)