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

refactor: Add telemetry to upgrade paths (no-changelog) #6313

Merged
merged 5 commits into from
May 30, 2023
Merged

Conversation

ivov
Copy link
Contributor

@ivov ivov commented May 24, 2023

@github-actions
Copy link
Contributor

Great PR! Please pay attention to the following items before merging:

Files matching packages/**:

  • If fixing bug, added test to cover scenario.
  • If addressing forum or Github issue, added link to description.

Files matching packages/**/*.ts:

  • Added unit tests to cover new or updated functionality.

Files matching **/*.vue:

  • Used composition API for all new components.
  • Added component or unit tests to cover functionality.

Files matching packages/editor-ui/**/*.vue:

  • Added E2E if adding new features.
  • Used design system tokens (colors, spacings...) where possible.

Make sure to check off this list before asking for review.

@codecov
Copy link

codecov bot commented May 24, 2023

Codecov Report

Patch coverage: 20.00% and project coverage change: +0.01 🎉

Comparison is base (011d577) 27.64% compared to head (168426a) 27.66%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6313      +/-   ##
==========================================
+ Coverage   27.64%   27.66%   +0.01%     
==========================================
  Files        2958     2958              
  Lines      181321   181409      +88     
  Branches    19726    19726              
==========================================
+ Hits        50133    50192      +59     
- Misses     130441   130469      +28     
- Partials      747      748       +1     
Impacted Files Coverage Δ
packages/editor-ui/src/stores/cloudPlan.store.ts 16.34% <0.00%> (-4.14%) ⬇️
packages/editor-ui/src/views/SettingsUsersView.vue 60.20% <0.00%> (ø)
packages/editor-ui/src/views/VariablesView.vue 69.47% <0.00%> (ø)
packages/editor-ui/src/stores/ui.store.ts 69.52% <16.66%> (-1.88%) ⬇️
packages/editor-ui/src/views/SettingsApiView.vue 61.47% <60.00%> (-0.27%) ⬇️
...kages/editor-ui/src/components/ExecutionsUsage.vue 100.00% <100.00%> (ø)
...r-ui/src/components/MainHeader/WorkflowDetails.vue 43.95% <100.00%> (+0.17%) ⬆️

... and 13 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels May 24, 2023
@ivov ivov requested a review from RicardoE105 May 24, 2023 14:52
packages/editor-ui/src/views/SettingsUsersView.vue Outdated Show resolved Hide resolved
packages/editor-ui/src/views/SettingsUsersView.vue Outdated Show resolved Hide resolved
const { executionsLeft, workflowsLeft } = usageLeft;

useTelemetryStore().track('User clicked upgrade CTA', {
source: 'error-toast',
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not the error-toast. This happens when the user clicks the upgrade button. The error toast data is generated in the hooks files, specifically here. So we do not have a way of tracking whether the user clicks on it.

@RicardoE105
Copy link
Contributor

I addressed some of the feedback since I'm blocked by this PR here. Feel free to revert the changes if you disagree.

@github-actions
Copy link
Contributor

✅ All Cypress E2E specs passed

@ivov ivov merged commit f91d36c into master May 30, 2023
@ivov ivov deleted the ado-739-telemetry branch May 30, 2023 13:49
MiloradFilipovic added a commit that referenced this pull request Jun 1, 2023
* master: (54 commits)
  feat: Version control mvp (#6271)
  feat(editor): Implement Resource Mapper component (#6207)
  fix(editor): Update SSO settings styles (#6342)
  fix: Show `Ask AI` only on Code Node (#6336)
  feat(core): Add metadata (customdata) to event log (#6334)
  refactor: Add telemetry to upgrade paths (no-changelog) (#6313)
  fix(Code Node): Fix `item` and `items` alias regression (#6331)
  feat: Add manual login option and password reset link for SSO (#6328)
  fix(editor): Fix Luxon date parsing of ExecutionsUsage component (#6333)
  fix(core): Do not track errored workflow executions for automated executions (no-changelog) (#6322)
  fix(core): Prevent prototype pollution on injectable services (#6309)
  fix(core): Optimize getSharedWorkflowIds query (#6314)
  ci: Reset DB only once per e2e test (no-changelog) (#6216)
  feat(editor): Bring back checklist experiment (no-changelog) (#6307)
  fix: Add ldapts to nodes-base package (no-changelog) (#6315)
  fix(Code Node): Update vm2 to address CVE-2023-32313 (#6318)
  feat: Add tab visibility change detection when polling executions (no-changelog) (#6311)
  fix(editor): Fix locale plularisation if count is 0 (#6312)
  🚀 Release 0.230.0 (#6310)
  fix(Execute Command Node): Block executions when `command` is empty (#6308)
  ...
@janober
Copy link
Member

janober commented Jun 5, 2023

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