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: Add telemetry event when users click on templates link #8625

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

MiloradFilipovic
Copy link
Contributor

Summary

This PR adds telemetry event for new template link clicks.

Related tickets and issues

Related to ADO-1789

Review / Merge checklist

  • PR title and summary are descriptive. Remember, the title automatically goes into the changelog. Use (no-changelog) otherwise. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.

    A bug is not considered fixed, unless a test is added to prevent it from happening again.
    A feature is not complete without tests.

@MiloradFilipovic MiloradFilipovic self-assigned this Feb 14, 2024
@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Feb 14, 2024
@@ -419,6 +422,14 @@ export default defineComponent({
},
async handleSelect(key: string) {
switch (key) {
case 'templates':
if (
this.settingsStore.isTemplatesEnabled &&
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this also related to the custom templates host? Or is there an option to hide the templates altogether?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The sidebar option will be different for custom template host but it will have the same key. So this will prevent this event from being sent if users still have in-app templates (custom host)

Copy link
Contributor

Choose a reason for hiding this comment

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

Check. Merge away

Copy link

cypress bot commented Feb 14, 2024

1 flaky test on run #4096 ↗︎

0 343 5 0 Flakiness 1

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 MiloradFilipovic 🗃️ e2e/*
Project: n8n Commit: f1bbddcce6
Status: Passed Duration: 03:31 💡
Started: Feb 14, 2024 11:54 AM Ended: Feb 14, 2024 11:57 AM
Flakiness  cypress/e2e/5-ndv.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > should not retrieve remote options when required params throw errors Test Replay Screenshots Video

Review all test suite changes for PR #8625 ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@MiloradFilipovic MiloradFilipovic merged commit bf4f896 into master Feb 14, 2024
32 checks passed
@MiloradFilipovic MiloradFilipovic deleted the add-templates-click-event branch February 14, 2024 12:26
@github-actions github-actions bot mentioned this pull request Feb 15, 2024
@janober
Copy link
Member

janober commented Feb 15, 2024

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team Released ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants