Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Cleanup
  • Loading branch information
kylelai1 committed Oct 6, 2025
commit 0aaa8f10ef33cfb9ec6858dc46bc03b0c72b75d7
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ const CollectionHeaderActions: React.FunctionComponent<
const { database, collection } = toNS(namespace);

// Check if user is in treatment group for Mock Data Generator experiment
const isInMockDataTreatmentVariant = true; // EDITBACK
// mockDataGeneratorAssignment?.assignment?.assignmentData?.variant ===
// ExperimentTestGroup.mockDataGeneratorVariant;
const isInMockDataTreatmentVariant =
mockDataGeneratorAssignment?.assignment?.assignmentData?.variant ===
ExperimentTestGroup.mockDataGeneratorVariant;

const shouldShowMockDataButton =
isInMockDataTreatmentVariant &&
Expand Down
7 changes: 4 additions & 3 deletions 7 packages/compass-collection/src/stores/collection-tab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,10 @@ export function activatePlugin(
ExperimentTestName.mockDataGenerator,
false // Don't track "Experiment Viewed" event here
);
return true; // EDITBACK
// assignment?.assignmentData?.variant ===
// ExperimentTestGroup.mockDataGeneratorVariant
return (
assignment?.assignmentData?.variant ===
ExperimentTestGroup.mockDataGeneratorVariant
);
} catch (error) {
// On error, default to not running schema analysis
logger.debug(
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.