Skip to content

Commit 9551efd

Browse files
committed
Merge remote-tracking branch 'origin/main' into 1.32-releases
2 parents decac5d + ef20d52 commit 9551efd

File tree

40 files changed

+218
-418
lines changed

40 files changed

+218
-418
lines changed

.depalignrc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@
7373
"^4.5.0"
7474
],
7575
"electron-mocha": ["^8.2.0", "^8.1.2", "^6.0.1", "^8.2.2"],
76-
"highlight.js": ["^9.8.0", "^9.12.0", "^8.9.1"],
7776
"chai-enzyme": [
7877
"1.0.0-beta.0",
7978
"1.0.0-beta.1",

package-lock.json

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

packages/compass-aggregations/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ const aggregationsStore = configureAggregationsStore({
9696
serverVersion: '4.2.0',
9797
fields: [],
9898
isAtlasDeployed: true,
99-
allowWrites: false,
10099
outResultsFn: handleOut,
101100
env: 'atlas',
102101
localAppRegistry: appRegistry

packages/compass-aggregations/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"hadron-react-buttons": "^5.9.0",
8484
"hadron-react-components": "^5.15.0",
8585
"mocha": "^8.4.0",
86-
"mongodb-ace-autocompleter": "^0.14.0",
86+
"mongodb-ace-autocompleter": "^1.0.0",
8787
"mongodb-connection-model": "^21.17.0",
8888
"mongodb-data-service": "^21.21.0",
8989
"mongodb-query-parser": "^2.4.6",

packages/compass-aggregations/src/components/aggregations/aggregations.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ class Aggregations extends Component {
114114
* @returns {Object} The mapped properties.
115115
*/
116116
const mapStateToProps = (state) => ({
117-
allowWrites: state.allowWrites,
118117
fields: state.fields,
119118
inputDocuments: state.inputDocuments,
120119
namespace: state.namespace,

packages/compass-aggregations/src/components/pipeline-builder-workspace/pipeline-builder-workspace.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class PipelineWorkspace extends PureComponent {
2525
static displayName = 'PipelineWorkspace';
2626

2727
static propTypes = {
28-
allowWrites: PropTypes.bool.isRequired,
2928
editViewName: PropTypes.string,
3029
env: PropTypes.string.isRequired,
3130
isTimeSeries: PropTypes.bool.isRequired,
@@ -97,7 +96,6 @@ class PipelineWorkspace extends PureComponent {
9796
key={stage.id}
9897
idx={i}
9998
index={i}
100-
allowWrites={this.props.allowWrites}
10199
env={this.props.env}
102100
isTimeSeries={this.props.isTimeSeries}
103101
isReadonly={this.props.isReadonly}

packages/compass-aggregations/src/components/pipeline-builder-workspace/pipeline-builder-workspace.spec.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ const PIPELINE_1 = [
4545

4646
/* eslint react/prop-types: 0 */
4747
function createPipelineWorkspace({
48-
allowWrites = false,
4948
pipeline = [],
5049
env = 'atlas',
5150
isTimeSeries = false,
@@ -78,7 +77,6 @@ function createPipelineWorkspace({
7877
newPipelineFromPaste = () => {},
7978
} = {}) {
8079
return (<PipelineBuilderWorkspace
81-
allowWrites={allowWrites}
8280
pipeline={pipeline}
8381
env={env}
8482
isTimeSeries={isTimeSeries}

packages/compass-aggregations/src/components/pipeline/pipeline.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ class Pipeline extends PureComponent {
3232
static displayName = 'PipelineComponent';
3333

3434
static propTypes = {
35-
allowWrites: PropTypes.bool.isRequired,
3635
env: PropTypes.string.isRequired,
3736
isAtlasDeployed: PropTypes.bool.isRequired,
3837
openPipelineById: PropTypes.func.isRequired,
@@ -204,7 +203,6 @@ class Pipeline extends PureComponent {
204203
<PipelineResultsWorkspace />
205204
) : (
206205
<PipelineBuilderWorkspace
207-
allowWrites={this.props.allowWrites}
208206
editViewName={this.props.editViewName}
209207
env={this.props.env}
210208
isTimeSeries={this.props.isTimeSeries}

packages/compass-aggregations/src/components/stage-editor-toolbar/stage-editor-toolbar.jsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { Tooltip, Body, Icon } from '@mongodb-js/compass-components';
1111

1212
import styles from './stage-editor-toolbar.module.less';
1313

14-
1514
const STAGE_TOOLTIP_MESSAGE = {
1615
$out: 'The $out operator will cause the pipeline to persist the results to the specified location (collection, S3, or Atlas). If the collection exists it will be replaced.',
1716
$merge: 'The $merge operator will cause the pipeline to persist the results to the specified location.'
@@ -47,7 +46,6 @@ StageEditorOutMergeTooltip.propTypes = {
4746
class StageEditorToolbar extends PureComponent {
4847
static displayName = 'StageEditorToolbar';
4948
static propTypes = {
50-
allowWrites: PropTypes.bool.isRequired,
5149
env: PropTypes.string.isRequired,
5250
isTimeSeries: PropTypes.bool.isRequired,
5351
isReadonly: PropTypes.bool.isRequired,
@@ -87,7 +85,6 @@ class StageEditorToolbar extends PureComponent {
8785
stageCollapseToggled={this.props.stageCollapseToggled}
8886
/>
8987
<StageOperatorSelect
90-
allowWrites={this.props.allowWrites}
9188
env={this.props.env}
9289
isTimeSeries={this.props.isTimeSeries}
9390
isReadonly={this.props.isReadonly}

packages/compass-aggregations/src/components/stage-editor-toolbar/stage-editor-toolbar.spec.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ describe('StageEditorToolbar [Component]', function() {
4242
sourceName={null}
4343
isEnabled
4444
isExpanded
45-
allowWrites
4645
index={0}
4746
stageCollapseToggled={stageCollapseToggledSpy}
4847
stageOperatorSelected={stageOperatorSelectedSpy}

0 commit comments

Comments
 (0)