Skip to content

chore: remove Atlas Sign-In logic COMPASS-9595 #7150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 0 additions & 5 deletions docs/security-test-summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ including the specific instances listed below.

# Security Tests

## Atlas Login Integration Tests

The Atlas Login feature is thoroughly tested, including proper authentication token
handling and credential revocation upon signout.

<!-- Source File: `packages/atlas-service/src/main.spec.ts` -->

## Connection Import / Export Testing
Expand Down
14 changes: 0 additions & 14 deletions docs/tracking-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ Generated on Sun, Jul 27, 2025

- [AI Opt In Modal Shown](#event--AiOptInModalShownEvent)
- [AI Opt In Modal Dismissed](#event--AiOptInModalDismissedEvent)
- [AI Sign In Modal Shown](#event--AiSignInModalShownEvent)
- [AI Sign In Modal Dismissed](#event--AiSignInModalDismissedEvent)
- [AI Generate Query Clicked](#event--AiGenerateQueryClickedEvent)
- [AI Prompt Submitted](#event--AiPromptSubmittedEvent)
- [AI Query Feedback](#event--AiQueryFeedbackEvent)
Expand Down Expand Up @@ -1392,18 +1390,6 @@ This event is fired when the AI Opt-In Modal is shown to the user.

This event is fired when the AI Opt-In Modal is dismissed by the user.

<a name="event--AiSignInModalShownEvent"></a>

### AI Sign In Modal Shown

This event is fired when the AI Sign-In Modal is shown to the user.

<a name="event--AiSignInModalDismissedEvent"></a>

### AI Sign In Modal Dismissed

This event is fired when the AI Sign-In Modal is dismissed by the user.

<a name="event--AiGenerateQueryClickedEvent"></a>

### AI Generate Query Clicked
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ export const resetIsAggregationGeneratedFromQuery =
export const showInput = (): PipelineBuilderThunkAction<Promise<void>> => {
return async (dispatch, _getState, { atlasAiService }) => {
try {
if (process.env.COMPASS_E2E_SKIP_ATLAS_SIGNIN !== 'true') {
if (process.env.COMPASS_E2E_SKIP_AI_OPT_IN !== 'true') {
await atlasAiService.ensureAiFeatureAccess();
}
dispatch({
Expand Down
8 changes: 0 additions & 8 deletions packages/compass-e2e-tests/helpers/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1382,14 +1382,6 @@ export const ModifySourceBanner = '[data-testid="modify-source-banner"]';
export const InsightIconButton = '[data-testid="insight-badge-button"]';
export const InsightPopoverCard = '[data-testid="insight-signal-card"]';

// Atlas login
export const LogInWithAtlasButton = 'button=Log in with Atlas';
export const LogInWithAtlasModalButton = 'button*=Log in to Atlas';
export const DisconnectAtlasAccountButton = 'button=Log Out';
export const AtlasLoginStatus = '[data-testid="atlas-login-status"]';
export const AtlasLoginErrorToast = '#atlas-sign-in-error';
export const AgreeAndContinueButton = 'button=Agree and continue';

// Proxy settings
export const ProxyUrl =
'[data-testid="proxy-settings"] [data-testid="proxy-url"]';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe('Collection ai query', function () {
true
);
await browser.setFeature('enableGenAIFeaturesAtlasOrg', true);
await browser.setFeature('optInDataExplorerGenAIFeatures', true);
await browser.setFeature('optInGenAIFeatures', true);
});

describe('on the documents tab', function () {
Expand Down Expand Up @@ -170,7 +170,7 @@ describe('Collection ai query', function () {
true
);
await browser.setFeature('enableGenAIFeaturesAtlasOrg', false);
await browser.setFeature('optInDataExplorerGenAIFeatures', true);
await browser.setFeature('optInGenAIFeatures', true);
});

it('should not show the gen ai intro button', async function () {
Expand Down
Loading
Loading