Skip to content

Conversation

@gagik
Copy link
Contributor

@gagik gagik commented Feb 25, 2025

@gagik gagik changed the title WIP: feat(connection-form): add connection and anonymous id to app name feat(connection-form): add connection and anonymous id to app name COMPASS-8591 Feb 27, 2025
@gagik gagik force-pushed the gagik/add-connection-and-telemetry-info branch from 10778a0 to b23fceb Compare February 27, 2025 14:03
@github-actions github-actions bot added the feat label Feb 27, 2025
@gagik gagik marked this pull request as ready for review February 27, 2025 14:08

expect(onTrackSpy).to.have.been.calledWith('New Connection');

const connectionId = onTrackSpy.firstCall.args[1][
Copy link
Contributor Author

Choose a reason for hiding this comment

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

a bit weird to get it from there though has added benefit of making sure tracking + the URL are consistent.

connectionStringUrl.typedSearchParams<MongoClientOptions>();
if (!searchParams.has('appName') && defaultAppName !== undefined) {
searchParams.set('appName', defaultAppName);
const appName = `${defaultAppName}${
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I used - as a separator, open to suggestions if this can be problem causing in ways

@gagik gagik requested a review from addaleax February 28, 2025 12:17
Copy link
Collaborator

@addaleax addaleax left a comment

Choose a reason for hiding this comment

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

LGTM with a question

@gagik gagik force-pushed the gagik/add-connection-and-telemetry-info branch from 843f0eb to 0d21b46 Compare March 3, 2025 09:41
@gagik gagik added the no release notes Fix or feature not for release notes label Mar 3, 2025
@gagik gagik changed the title feat(connection-form): add connection and anonymous id to app name COMPASS-8591 feat(connection-form): add connection and anonymous id to app name for atlas connections COMPASS-8591 Mar 3, 2025
@gagik gagik merged commit c06afec into main Mar 3, 2025
54 of 55 checks passed
@gagik gagik deleted the gagik/add-connection-and-telemetry-info branch March 3, 2025 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat no release notes Fix or feature not for release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants