Skip to content

Commit cea5735

Browse files
authored
chore(preferences): mark global writes, rolling indexes and disabled connections features as released COMPASS-9537 (#7088)
* update ff for global writes and rolling indexes * update showDisabledConnections to released * fix tests
1 parent 6d79312 commit cea5735

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

packages/compass-connections-navigation/src/connections-navigation-tree.spec.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable @typescript-eslint/no-empty-function */
22
import React from 'react';
33
import {
4-
render,
4+
renderWithConnections,
55
screen,
66
cleanup,
77
within,
@@ -144,10 +144,13 @@ describe('ConnectionsNavigationTree', function () {
144144
enableRenameCollectionModal: true,
145145
...preferencesOverrides,
146146
});
147-
return render(
147+
return renderWithConnections(
148148
<PreferencesProvider value={preferences}>
149149
<ConnectionsNavigationTree {...props} {...customProps} />
150-
</PreferencesProvider>
150+
</PreferencesProvider>,
151+
{
152+
connections: connections.map((x) => x.connectionInfo),
153+
}
151154
);
152155
}
153156

packages/compass-preferences-model/src/feature-flags.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,22 +82,22 @@ export const featureFlags: Required<{
8282
},
8383

8484
showDisabledConnections: {
85-
stage: 'development',
85+
stage: 'released',
8686
description: {
8787
short:
8888
'Show clusters that are not in a "connectable" state in Atlas Cloud',
8989
},
9090
},
9191

9292
enableRollingIndexes: {
93-
stage: 'development',
93+
stage: 'released',
9494
description: {
9595
short: 'Enable creating indexes with the rolling build in Atlas Cloud',
9696
},
9797
},
9898

9999
enableGlobalWrites: {
100-
stage: 'development',
100+
stage: 'released',
101101
description: {
102102
short: 'Enable Global Writes tab in Atlas Cloud',
103103
},

0 commit comments

Comments
 (0)