Skip to content
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

New telemetry functionality #1992

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from
Draft

New telemetry functionality #1992

wants to merge 14 commits into from

Conversation

Camwyn
Copy link
Member

@Camwyn Camwyn commented Oct 6, 2023

Adds a stellar-licensing section to the Telemetry JSON:
licenses

Also allows plugins to hook in and filter their slug.
See https://github.com/the-events-calendar/events-filterbar/pull/474 for an example.

@Camwyn Camwyn added hold Status: on hold–do not proceed with other status items. needs ticket Needs an associated Central ticket before merging. needs release Needs an associated release in Central before merging. needs changelog Needs a changelog entry before merging. needs artifact A screencast, screenshot, or other artifact is needed before merging. needs tests Needs tests before merging. innovation Project associated with 20% time innovations. labels Oct 6, 2023
@Camwyn Camwyn self-assigned this Oct 6, 2023
@Camwyn Camwyn changed the title Feature/new telemetry New telemetry functionality Oct 14, 2023
@Camwyn Camwyn removed the needs artifact A screencast, screenshot, or other artifact is needed before merging. label Oct 14, 2023
Camwyn added a commit to the-events-calendar/the-events-calendar that referenced this pull request Oct 20, 2023
Just keeping the TCMN changes linked.

See: the-events-calendar/tribe-common#1992
src/Common/Telemetry/Telemetry.php Outdated Show resolved Hide resolved
src/Common/Telemetry/Telemetry.php Outdated Show resolved Hide resolved
@@ -245,4 +249,8 @@ public function filter_exit_interview_args( $args ) {
public function maybe_enqueue_admin_modal_assets(): void {
$this->container->make( Asset_Subscriber::class )->maybe_enqueue_admin_assets();
}

public function filter_data_args( $args ) {
Copy link
Contributor

Choose a reason for hiding this comment

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

[phpcs] reported by reviewdog 🐶
Squiz.Commenting.FunctionComment.Missing
Missing doc comment for function filter_data_args()

* Text Domain: tribe-common
* License: GPLv2 or later
*/
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

[phpcs] reported by reviewdog 🐶
Squiz.Commenting.FileComment.WrongStyle
You must use "/**" style comments for a file comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hold Status: on hold–do not proceed with other status items. innovation Project associated with 20% time innovations. needs changelog Needs a changelog entry before merging. needs release Needs an associated release in Central before merging. needs tests Needs tests before merging. needs ticket Needs an associated Central ticket before merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants