Skip to content

Conversation

@cveticm
Copy link
Collaborator

@cveticm cveticm commented Mar 12, 2025

Proposed changes

The two new project settings have been enabled

  • DataExplorerGenAIFeatures
  • DataExplorerGenAISampleDocumentPassing

These settings now toggleable using --enable/disable<feature-name>
The state of the setting will now also be displayed on running atlas projects settings describe

Jira ticket: CLOUDP-293745

Checklist

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works
  • I have added any necessary documentation in document requirements section listed in CONTRIBUTING.md (if appropriate)
  • I have addressed the @mongodb/docs-cloud-team comments (if appropriate)
  • I have updated test/README.md (if an e2e test has been added)
  • I have run make fmt and formatted my code

@cveticm cveticm requested review from a team as code owners March 12, 2025 14:46
@github-actions github-actions bot added need-doc-review Improvements or additions to documentation, will be reviewed by the docs team atlascli labels Mar 12, 2025
@github-actions
Copy link
Contributor

APIx Bot :bowtie:: a message has been sent to Docs Slack channel 🚀.

Comment on lines +231 to +234
EnableDataExplorerGenAIFeatures = "enableDataExplorerGenAIFeatures" // EnableDataExplorerGenAIFeatures flag
DisableDataExplorerGenAIFeatures = "disableDataExplorerGenAIFeatures" // DisableDataExplorerGenAIFeatures flag
EnableDataExplorerGenAISampleDocumentPassing = "enableDataExplorerGenAISampleDocumentPassing" //nolint:gosec // EnableDataExplorerGenAISampleDocumentPassing flag
DisableDataExplorerGenAISampleDocumentPassing = "disableDataExplorerGenAISampleDocumentPassing" // DisableDataExplorerGenAISampleDocumentPassing flag
Copy link
Collaborator Author

@cveticm cveticm Mar 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All flags are marked as modified due to realignment. For ease of reviewing, these are the actual modifications to this file.

Comment on lines 293 to 296
EnableDataExplorerGenAIFeatures = "Flag that enables the Data Explorer GenAI Features project setting."
DisableDataExplorerGenAIFeatures = "Flag that disables the Data Explorer GenAI Features project setting."
EnableDataExplorerGenAISampleDocumentPassing = "Flag that enables the Data Explorer GenAI Features project setting."
DisableDataExplorerGenAISampleDocumentPassing = "Flag that disables the Data Explorer GenAI Sample Document Passing project setting." //nolint:gosec // This is just a message not a credential
Copy link
Collaborator Author

@cveticm cveticm Mar 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All usages are marked as modified due to realignment. For ease of reviewing, these are the actual modifications to this file.

Comment on lines 293 to 296
EnableDataExplorerGenAIFeatures = "Flag that enables the Data Explorer GenAI Features project setting."
DisableDataExplorerGenAIFeatures = "Flag that disables the Data Explorer GenAI Features project setting."
EnableDataExplorerGenAISampleDocumentPassing = "Flag that enables the Data Explorer GenAI Features project setting."
DisableDataExplorerGenAISampleDocumentPassing = "Flag that disables the Data Explorer GenAI Sample Document Passing project setting." //nolint:gosec // This is just a message not a credential
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

//nolint:gosec added to bypass false-positive detection of hardcoded credentials from linter

DisableDataExplorer = "disableDataExplorer" // DisableDataExplorer flag
EnableDataExplorerGenAIFeatures = "enableDataExplorerGenAIFeatures" // EnableDataExplorerGenAIFeatures flag
DisableDataExplorerGenAIFeatures = "disableDataExplorerGenAIFeatures" // DisableDataExplorerGenAIFeatures flag
EnableDataExplorerGenAISampleDocumentPassing = "enableDataExplorerGenAISampleDocumentPassing" //nolint:gosec // EnableDataExplorerGenAISampleDocumentPassing flag
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

//nolint:gosec added to bypass false-positive detection of hardcoded credentials from linter

DisableDataExplorer = "Flag that disables the Data Explorer project setting."
EnableDataExplorerGenAIFeatures = "Flag that enables the Data Explorer GenAI Features project setting."
DisableDataExplorerGenAIFeatures = "Flag that disables the Data Explorer GenAI Features project setting."
EnableDataExplorerGenAISampleDocumentPassing = "Flag that enables the Data Explorer GenAI Features project setting."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
EnableDataExplorerGenAISampleDocumentPassing = "Flag that enables the Data Explorer GenAI Features project setting."
EnableDataExplorerGenAISampleDocumentPassing = "Flag that enables the Data Explorer GenAI Sample Document Passing project setting."

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching! Fixed now 👍

@github-actions
Copy link
Contributor

Coverage Report 📉

Branch Commit Coverage
master be63411 %
CLOUDP-293745_add_new_proj_settings 972f609 38.2%
Difference %

@cveticm cveticm merged commit d190340 into master Mar 14, 2025
22 checks passed
@cveticm cveticm deleted the CLOUDP-293745_add_new_proj_settings branch March 14, 2025 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

atlascli need-doc-review Improvements or additions to documentation, will be reviewed by the docs team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants