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

[DYN-6621] Save "Don't show again" setting on splash screen close #14866

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

zeusongit
Copy link
Contributor

@zeusongit zeusongit commented Jan 18, 2024

Purpose

https://jira.autodesk.com/browse/DYN-6621

If the "Don't show again" option on the splash screen is checked while closing it from the splash screen close button, the setting will be saved and the splash screen will not pause on the next run.

SplashScreen PR: DynamoDS/SplashScreen#49

Declarations

Check these if you believe they are true

  • The codebase is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • This PR modifies some build requirements and the readme is updated
  • This PR contains no files larger than 50 MB

Release Notes

(FILL ME IN) Brief description of the fix / enhancement. Mandatory section

Reviewers

@DynamoDS/dynamo

@zeusongit zeusongit changed the title Save "Don't show again" setting on splash screen close [DYN-6621] Save "Don't show again" setting on splash screen close Jan 18, 2024
Copy link

UI Smoke Tests

Test: success. 2 passed, 0 failed.
TestComplete Test Result
Workflow Run: UI Smoke Tests
Check: UI Smoke Tests - net8.0

@@ -600,9 +605,9 @@ public bool SignOut()
{
return RequestSignOut();
}
public void CloseWindow()
public void CloseWindow(bool isCheckboxChecked)
Copy link
Contributor

Choose a reason for hiding this comment

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

Are any of these API used in Dynamo Revit repo?

Copy link
Contributor

Choose a reason for hiding this comment

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

Also instead of passing param, any other way to do it, e.g. static boolean saved?

Copy link
Contributor Author

@zeusongit zeusongit Jan 19, 2024

Choose a reason for hiding this comment

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

Are any of these API used in Dynamo Revit repo?

The APIs are not used in DynamoRevit

@@ -604,5 +628,9 @@ public void CloseWindow()
{
RequestCloseWindow();
}
public void CloseWindowPreserve(bool isCheckboxChecked)
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 overload does not seem to work in Javascript context, I am getting this error: Invalid number of parameters in console. It is probably getting confused or maybe overloads don’t work in script object. The other solution is to use a new method. I have update the PR please take a look. @QilongTang

Copy link

UI Smoke Tests

Test: success. 2 passed, 0 failed.
TestComplete Test Result
Workflow Run: UI Smoke Tests
Check: UI Smoke Tests - net8.0

@QilongTang QilongTang added this to the 3.1 milestone Jan 22, 2024
@QilongTang QilongTang merged commit a48b686 into DynamoDS:master Jan 22, 2024
21 checks passed
mjkkirschner pushed a commit to mjkkirschner/Dynamo that referenced this pull request Mar 14, 2024
…namoDS#14866)

* Update SplashScreen.xaml.cs

* Update SplashScreen.xaml.cs
QilongTang pushed a commit that referenced this pull request Mar 15, 2024
…4866) (#15018)

* Update SplashScreen.xaml.cs

* Update SplashScreen.xaml.cs

Co-authored-by: Ashish Aggarwal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants