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

feat(cli): fix event name and provide additional properties #1519

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

chanceaclark
Copy link
Contributor

What/Why?

We were getting some events with arguments. This fixes the telemetry to only send events if the command is one of the available commands. Also added a function to filter out an allowlist of args to pass as properties on the event.

Testing

Screenshot 2024-10-28 at 16 01 14

@chanceaclark chanceaclark requested a review from a team as a code owner October 28, 2024 23:22
Copy link

vercel bot commented Oct 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
catalyst 🔄 Building (Inspect) Visit Preview 💬 Add feedback Oct 28, 2024 11:27pm
catalyst-latest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 28, 2024 11:27pm
5 Skipped Deployments
Name Status Preview Comments Updated (UTC)
catalyst-1millionproducts-store ⬜️ Ignored (Inspect) Visit Preview Oct 28, 2024 11:27pm
catalyst-au ⬜️ Ignored (Inspect) Visit Preview Oct 28, 2024 11:27pm
catalyst-test-store ⬜️ Ignored (Inspect) Visit Preview Oct 28, 2024 11:27pm
catalyst-uk ⬜️ Ignored (Inspect) Visit Preview Oct 28, 2024 11:27pm
catalyst-unstable ⬜️ Ignored (Inspect) Visit Preview Oct 28, 2024 11:27pm

Copy link

changeset-bot bot commented Oct 28, 2024

🦋 Changeset detected

Latest commit: 28f0520

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@bigcommerce/create-catalyst Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@deini deini added this pull request to the merge queue Oct 29, 2024
Merged via the queue into main with commit 630e2ed Oct 29, 2024
11 of 13 checks passed
@deini deini deleted the feat/cli-telemetry branch October 29, 2024 15:40
@github-actions github-actions bot mentioned this pull request Oct 29, 2024
Copy link
Contributor

⚡️🏠 Lighthouse report

Lighthouse ran against https://catalyst-latest-7qoesai0y-bigcommerce-platform.vercel.app

🖥️ Desktop

We ran Lighthouse against the changes on a desktop and produced this report. Here's the summary:

Category Score
🟠 Performance 87
🟢 Accessibility 96
🟢 Best practices 100
🟠 SEO 82

📱 Mobile

We ran Lighthouse against the changes on a mobile and produced this report. Here's the summary:

Category Score
🟢 Performance 99
🟢 Accessibility 96
🟢 Best practices 100
🟠 SEO 85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants