mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[PR #632] [MERGED] Add updated metrics consent prompt #978
Labels
No labels
area: desktop-app
Bounty
bug
bug-cop:answered
bug-cop:response-received
component: installer
component: preload
custom node
dependencies
Design
documentation
duplicate
enhancement
expected
frontend
good first issue
installation
Low-Priority
performance
Planned
platform: cross-platform
platform: windows
Potential Bug
Potential Bug
pull-request
question
refactor
Release
stale
User Support
V1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/desktop#978
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/desktop/pull/632
Author: @christian-byrne
Created: 1/16/2025
Status: ✅ Merged
Merged: 1/17/2025
Merged by: @huchenlei
Base:
main← Head:metrics-consent📝 Commits (10+)
0516925Add metrics consent handlinge69c02cRemove unnecessary frontend setting7a600a7Refactor849a48fAdd unit testafe4f4fRefactor747a968Refactorbdea512Refactordb55d09Inline handlerab92ea9Fix type in testscce8c1eMerge branch 'main' into metrics-consent📊 Changes
10 files changed (+237 additions, -8 deletions)
View changed files
📝
global.d.ts(+1 -0)📝
src/constants.ts(+1 -0)📝
src/install/installationManager.ts(+1 -0)📝
src/main.ts(+7 -6)📝
src/preload.ts(+3 -0)📝
src/services/telemetry.ts(+31 -0)📝
src/store/desktopSettings.ts(+2 -0)📝
src/utils.ts(+23 -0)📝
tests/unit/telemetry.test.ts(+167 -2)📝
vite.base.config.ts(+1 -0)📄 Description
This PR adds a function which checks the status of the user's allowMetrics/SendStatistics setting. If the user previously opted-in, they will be prompted to confirm their choice given the new metrics policy, with the option to disable.
Any new user installing will have the flag
updatedMetricsConsentset during install, bypassing this process.The UI component is in this frontend PR: https://github.com/Comfy-Org/ComfyUI_frontend/pull/2268
┆Issue is synchronized with this Notion page by Unito
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.