Skip to content

fix(@angular/cli): add builders and schematic names as page titles in collected analytics#23718

Merged
clydin merged 1 commit intoangular:mainfrom
alan-agius4:ua-builder-name
Sep 23, 2022
Merged

fix(@angular/cli): add builders and schematic names as page titles in collected analytics#23718
clydin merged 1 commit intoangular:mainfrom
alan-agius4:ua-builder-name

Conversation

@alan-agius4
Copy link
Collaborator

@alan-agius4 alan-agius4 commented Aug 10, 2022

With this commit the builder and schematic names are added as page title to page events.

Also, we address a bug where during a watch or error in some cases analytics where not flushed. Examples when the builder has a watch mode.

Screenshot 2022-08-10 at 11 25 11

@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Aug 10, 2022
@alan-agius4 alan-agius4 requested a review from clydin August 10, 2022 10:57
@alan-agius4 alan-agius4 requested a review from dgp1130 August 10, 2022 18:29
@dgp1130
Copy link
Collaborator

dgp1130 commented Aug 11, 2022

Currently figuring out the privacy approval process for this change, so don't merge this just yet.

@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Aug 11, 2022
Copy link
Collaborator

@dgp1130 dgp1130 left a comment

Choose a reason for hiding this comment

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

LGTM, just waiting on privacy before approving.

… collected analytics

With this commit the builder and schematic names are added as page title to page events.

Also, we address a bug where during a watch or error in some cases analytics where not flushed. Examples when the builder has a watch mode.
@dgp1130
Copy link
Collaborator

dgp1130 commented Aug 19, 2022

I just realized we also list out the data collected on AIO: https://angular.io/analytics#what-is-collected. We should update that as well when this is ready to land.

@alan-agius4 alan-agius4 removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Sep 2, 2022
@dgp1130
Copy link
Collaborator

dgp1130 commented Sep 22, 2022

This is fully privacy approved, so we're good to merge this in and release: http://launch/4185851.

Don't forget to update https://angular.io/analytics#what-is-collected, whether in this PR or another one.

@alan-agius4
Copy link
Collaborator Author

alan-agius4 commented Sep 23, 2022

This is fully privacy approved, so we're good to merge this in and release: http://launch/4185851.

Don't forget to update https://angular.io/analytics#what-is-collected, whether in this PR or another one.

Awesome. Has to be a separate PR as it's a different repo.


EDIT: angular/angular#47529

@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Sep 23, 2022
alan-agius4 added a commit to alan-agius4/angular that referenced this pull request Sep 23, 2022
This commit adds more information on what is collected by the Angular CLI as with angular/angular-cli#23718 we will collect additional information.
@clydin clydin merged commit 23c233c into angular:main Sep 23, 2022
@alan-agius4 alan-agius4 deleted the ua-builder-name branch September 23, 2022 14:31
alxhub pushed a commit to angular/angular that referenced this pull request Sep 27, 2022
This commit adds more information on what is collected by the Angular CLI as with angular/angular-cli#23718 we will collect additional information.

PR Close #47529
alxhub pushed a commit to angular/angular that referenced this pull request Sep 27, 2022
This commit adds more information on what is collected by the Angular CLI as with angular/angular-cli#23718 we will collect additional information.

PR Close #47529
Copy link

@sleepynano sleepynano left a comment

Choose a reason for hiding this comment

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

packages/angular/cli/src/command-builder/schematics-command-module.ts

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants