Skip to content

Commit 0a8ea24

Browse files
authored
fix: update aggregation docs link COMPASS-10103 (#7586)
* fix agg link * remove utm params * fix test
1 parent eedd02a commit 0a8ea24

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/compass-aggregations/src/components/focus-mode/focus-mode-stage-editor.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ describe('FocusMode', function () {
4242

4343
expect(element.closest('a')).to.have.attribute(
4444
'href',
45-
'https://www.mongodb.com/docs/manual/reference/mql/aggregation-stages/'
45+
'https://www.mongodb.com/docs/manual/core/aggregation-pipeline/'
4646
);
4747
});
4848
});

packages/compass-aggregations/src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const MERGE_STAGE_PREVIEW_TEXT =
2424
'the specified location.';
2525

2626
export const PIPELINE_HELP_URI =
27-
'https://www.mongodb.com/docs/manual/reference/mql/aggregation-stages/';
27+
'https://www.mongodb.com/docs/manual/core/aggregation-pipeline/';
2828

2929
export const STAGE_HELP_BASE_URL =
3030
'https://www.mongodb.com/docs/manual/reference/operator/aggregation';

packages/compass-collection/src/components/mock-data-generator-modal/faker-schema-editor-screen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ const FakerSchemaEditorScreen = ({
154154
We analyzed a sample of your data and used generative AI to suggest
155155
the following mapping between your document fields and data simulation
156156
functions.{' '}
157-
<Link href="https://www.mongodb.com/docs/generative-ai-faq/?utm_source=compass&utm_medium=product">
157+
<Link href="https://www.mongodb.com/docs/generative-ai-faq/">
158158
Learn more about MongoDB’s AI usage
159159
</Link>
160160
</Description>

packages/compass-welcome/src/components/desktop-welcome-tab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function AtlasHelpSection(): React.ReactElement {
9999
)}
100100
onClick={() => track('Atlas Link Clicked', { screen: 'connect' })}
101101
variant={ButtonVariant.PrimaryOutline}
102-
href="https://www.mongodb.com/cloud/atlas/lp/try4?utm_source=compass&utm_medium=product&utm_content=v1"
102+
href="https://www.mongodb.com/cloud/atlas/lp/try4"
103103
target="_blank"
104104
size={ButtonSize.Small}
105105
>

0 commit comments

Comments
 (0)