-
Notifications
You must be signed in to change notification settings - Fork 667
Dyn 3578 enable visual settings #11657
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 3578 enable visual settings #11657
Conversation
I added a new workflow (issue_type_predicte.yaml) that is using the ML.NET model for predicting the issue type (source repo), so If a new issue is created in the Dynamo repo this workflow will run and will predict if is a Wishlist issue or not. If is a Wishlist issue it will be labeled as "Wishlist" and then another workflow will move the issue to the DynamoWishlist repo. If the issue is incomplete or is not valid the label "NotMLEvaluated" will be added to the issue. Also I added two scripts more, one will return the issue body in a json string and the other one will clan the issue body removing sections not used like "Dynamo Version" or "Stack Trace"
When testing the issue predicter workflow the issues labeled as Wishlist were not moved to the DynamoWishlist repo due that the "Move Issue by labels" workflow failed. There was a problem with the PAT used to label the issue, I was using the wrong one (no triggers actions).
Enabling the Geometry Scaling section part 1
I added the functionality for re-loading the ScaleValue in the Geometry Scaling section when the Preferences window is re-opened. Also I set-up the binding functionality for the Render Precision section, so the precision will be reflected in the 3d Figure.
I removed some code that won't be used due that the ChangelScaleFactorPrompt window was deleted (now instead of the window we have 4 radio buttons in the Preferences -> Visual Settings -> Geometry Scaling section). Also I deleted some events/commands used when the ScaleFactor changes due that the event won't be used.
This functionality was additional and I think is not needed since is not forcing to re-run the Graph for updating the Render Precision, so it's been deleted.
| } | ||
|
|
||
| public event EventHandler RequestScaleFactorDialog; | ||
| public virtual void OnRequestScaleFactorDialog(object sender, EventArgs e) |
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.
Since this is partial class of DynamoViewModel. Let's obsolete instead of fully removal
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 I re-added the events and obsolete them in the commit: 10e7dfb
|
@RobertGlobant20 Please address the conflicts and I will make a final review |
Fixing issue that was producing when merging the updated master branch into my feature branch.
Based on Aaron comments instead of removing the event and the method I added the Obsolete decorator.
|
Hi @RobertGlobant20 There is a regression |
@QilongTang now the DynamoSelfServe job is passing, I just updated the master branch and merged into my feature branch (I think the issue was related to other changes done after this pull request). Thanks |

Purpose
In this pull request I'm enabling the functionality for Geometry Scaling and Render Precision in the Preferences -> Visual Settings tab (Both changes take effect immediately after update).
Also I removed the code related to the old Geometry Scaling functionality (ChangeScaleFactorPrompt) and all the events/commands associated with it.
Related to the UIAutomation tests, there is just only one test that is checking all the entries from the settings menu against some entries in a json file, so even if I implement the functionality for validate the "Geometry Scaling" and "Render Precision" the test will be failing, then we are trying to figure out what to implement for this case.
Declarations
Check these if you believe they are true
*.resxfilesReviewers
@QilongTang
FYIs
@Astul-Betizagasti