-
Notifications
You must be signed in to change notification settings - Fork 636
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
Migration assistant legal messages #10965
Migration assistant legal messages #10965
Conversation
* add ScriptMigrator * Add visual difference viewer * Update PythonMigrationViewExtension.cs * Add tooltip description to migration assistant * updates * comment updates * comment updates
* add ScriptMigrator * Add visual difference viewer * Added methods for updating the ScriptEditors with the migrated code * Update PythonMigrationViewExtension.cs * Add tooltip description to migration assistant * updates * comment updates * comment updates * Update ScriptEditorWindow.xaml.cs * Update PythonMigrationViewExtension.csproj * Update PythonMigrationViewExtension.csproj * comment updates * Revert "comment updates" This reverts commit 2d2332a. * comment updates * Update PythonMigrationAssistantViewModel.cs * comment updates 2
* add ScriptMigrator * Add visual difference viewer * Added methods for updating the ScriptEditors with the migrated code * Update PythonMigrationViewExtension.cs * add mechanisme to save Python 2 backup * Add tooltip description to migration assistant * updates * comment updates * comment updates * Update ScriptEditorWindow.xaml.cs * Update PythonMigrationViewExtension.csproj * Update PythonMigrationViewExtension.csproj * comment updates * Revert "comment updates" This reverts commit 2d2332a. * comment updates * Update PythonMigrationAssistantViewModel.cs * comment updates 2 * small clean ups * Update PythonMigrationAssistantViewModel.cs
…dsen/Dynamo into T1.3-SavePython2BackupFile
…ionAssistantTests
also allow for slightly larger vertical height for Before/After label as it was hard to spot
…ion-assistant-warning
src/PythonMigrationViewExtension/Controls/MigrationAssistantWarning.xaml.cs
Outdated
Show resolved
Hide resolved
src/PythonMigrationViewExtension/MigrationAssistant/PythonMigrationAssistantViewModel.cs
Outdated
Show resolved
Hide resolved
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.
An additional comment. It's unclear to me what the dialog's initial position is. I saw it in the gif but also happened to me while running. Should it be centered on top of the diff viewer?
src/PythonMigrationViewExtension/Controls/MigrationAssistantWarning.xaml.cs
Outdated
Show resolved
Hide resolved
src/PythonMigrationViewExtension/Controls/MigrationAssistantWarning.xaml.cs
Outdated
Show resolved
Hide resolved
src/PythonMigrationViewExtension/Controls/MigrationAssistantWarning.xaml.cs
Outdated
Show resolved
Hide resolved
src/PythonMigrationViewExtension/Controls/MigrationAssistantWarning.xaml
Outdated
Show resolved
Hide resolved
src/PythonMigrationViewExtension/MigrationAssistant/PythonMigrationAssistantViewModel.cs
Show resolved
Hide resolved
src/PythonMigrationViewExtension/MigrationAssistant/PythonMigrationAssistantViewModel.cs
Outdated
Show resolved
Hide resolved
@mmisol addressed the comments, should be good to go. |
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.
Thanks @SHKnudsen . Just noticed some minor issues and some texts that should be externalized as resources.
src/PythonMigrationViewExtension/Controls/MigrationAssistantDisclaimer.xaml.cs
Outdated
Show resolved
Hide resolved
src/PythonMigrationViewExtension/Controls/MigrationAssistantDisclaimer.xaml.cs
Outdated
Show resolved
Hide resolved
src/PythonMigrationViewExtension/Controls/MigrationAssistantDisclaimer.xaml
Outdated
Show resolved
Hide resolved
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!
Purpose
This PR adds a legal message to the Migration Assistant when the user wants to accept the changes proposed. the warning message has the option to
Do not show again
which will store a text file with a timestamp and the name of the machine inAppData\Local\Dynamo
.Disable warning dialog file
Migration Assistant warning dialog
Declarations
Check these if you believe they are true
*.resx
filesReviewers
@mmisol
FYIs
@mjkkirschner
@Amoursol
@radumg