-
Notifications
You must be signed in to change notification settings - Fork 664
DYN-8972: Disable data collection agreements in NoNetworkMode #16534
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR disables data collection agreements in no-network mode by adding a check to prevent the usage reporting dialog from appearing when Dynamo is running with network access disabled.
- Added
NoNetworkMode
check to prevent data collection dialog in no-network mode - Maintains existing behavior for normal mode operation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-8972
I think |
Good call @zeusongit !
|
} | ||
|
||
// Skip analytics prompt in no-network mode | ||
if (dynamoViewModel?.Model?.NoNetworkMode == true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we could simply not show the toggle at all in Dynamo view ? Otherwise I assume this message will need to be localized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aparajit-pratap I removed it after seeing @zavub's yesterday. Currently, it is not show the toggle at all in Dynamo view if in NoNetworkMode: ![]() |
I don't get it, what toggle? |
Purpose
NoNetworkMode
check to theUsageReportingManager.CheckIsFirstRun()
methodHideReportOptions
logic to includeNoNetworkMode
conditionTesting
--NoNetworkMode
command line argumentDeclarations
Check these if you believe they are true
Release Notes
Ensures no-network mode disable the terms of use (data agreement) dialog at startup
Reviewers
@DynamoDS/eidos @DynamoDS/synapse