-
Notifications
You must be signed in to change notification settings - Fork 635
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-3109] Disallow Python Migration Assistant when a Python3 engine is selected #11158
Conversation
@@ -192,7 +192,7 @@ | |||
<value>Use this dropdown to choose the python version/engine to execute your code.</value> | |||
</data> | |||
<data name="PythonScriptEditorMigrationAssistantButtonTooltip" xml:space="preserve"> | |||
<value>Migration Assistant to update your Python 2 scripts to Python 3.</value> | |||
<value>Migration Assistant to update your Python 2 scripts to Python 3. Engine must be set to Python 2 version to work.</value> |
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.
@Amoursol @aparajit-pratap Any more opinion on the messaging?
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.
Looks good to me.
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.
Look solid to me, using converter seems a good choice here
@zeusongit could you check the test failures. |
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.
So is it true that without any hover effect, the only difference between the enabled and disabled state of the 2-3 button is that the tooltip appears and does not appear respectively?
There is also a slight difference in the border of the button. |
Running this branch on the BRE self CI to confirm the failures are real: https://master-15.jenkins.autodesk.com/view/DYN/job/DYN-DevCI_Self_Service/725/ |
@@ -1248,6 +1248,10 @@ | |||
<Project>{6e0a079e-85f1-45a1-ad5b-9855e4344809}</Project> | |||
<Name>Units</Name> | |||
</ProjectReference> | |||
<ProjectReference Include="..\Libraries\PythonNodeModels\PythonNodeModels.csproj"> | |||
<Project>{8872CA17-C10D-43B9-8393-5C5A57065EB0}</Project> | |||
<Name>PythonNodeModels</Name> |
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.
hmm @zeusongit so now DynamoCoreWPF depends on PythonNodeModels, please add Private False
to this entry to see if it helps the failing test issue.
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.
also please consider if we really want DynamoCoreWPF to depend on PythonNodeModels, it seems like a strange reference.
using System.Windows; | ||
using System.Windows.Data; |
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.
Do we still need these references?
using PythonNodeModels; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Globalization; |
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.
same question here. Are all of these used?
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.
yes these are used, removed the other unused ones.
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.
LGTM with a comment about using.
Purpose
DYN-3109
Disallow Python Migration Assistant when a Python3 engine is selected
(PS: I don't know why the gif is so slow, was normal before exporting)
Declarations
Check these if you believe they are true
*.resx
filesReviewers
@DynamoDS/dynamo