-
Notifications
You must be signed in to change notification settings - Fork 668
set IsFirstRun to false if hide report options is true #11530
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
| if (!dynamoViewModel.HideReportOptions) | ||
| { | ||
| // If first run, Collect Info Prompt will appear | ||
| UsageReportingManager.Instance.CheckIsFirstRun(this, dynamoViewModel.BrandingResourceProvider); |
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.
It's a bit hard to understand from first glance, to me it seems we may want to fold the dynamoViewModel.HideReportOptions check into CheckIsFirstRun() at https://github.com/DynamoDS/Dynamo/blob/master/src/DynamoCoreWpf/Services/UsageReportingManager.cs#L154 so we do not skip the check/setting FirstRun entirely but only skip the usage prompt
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.
@QilongTang let me give that a shot.
|
@QilongTang PTAL |
|
@mjkkirschner I think this one will need cherry-pick right? |
|
doing it now 😉 |
* Update DynamoView.xaml.cs * add test add internal setter * review comments Co-authored-by: michael kirschner <michael.kirschner@autodesk.com>
Purpose
when
hide report optionsis enabled, the prompt to request user analytics is also hidden - this function has the side effect thatIsFirstRunis set to false so the gallery is not shown again.If
hide report optionsis enabled we setIsFirstRunto false after this check, but before trying to raise a gallery window.TODO
Declarations
Check these if you believe they are true
*.resxfiles