Closed acoates-ms closed 3 years ago
Hey @acoates-ms, this is an awesome addition to the Upgrade-Helper!
The initial load of the diff after the you change the package doesn't seem to work, it does work afterwards though:
https://user-images.githubusercontent.com/6207220/141144934-368796f3-7831-4906-be51-15790552e825.mp4
The reason for this is the to/from versions not being valid for the new platform. So instead I'm going to reset the to/from versions and hide the diff rather than showing the broken diff. That way it doesn't look as broken. The user will still have to select the versions and hit Show me how to upgrade!
button again to show the new diff.
@lucasbento should be good for another look.
Looks great, thank you @acoates-ms!
Summary
Adds UI to the settings popover to allows users to switch between
react-native
andreact-native-windows
, and to switch between C++ and C# withinreact-native-windows
.Here is what the new settings popover looks like:
Test Plan
Ran through the site starting with various values of
packageName
andlanguage
in the URL. Try changing the package name back and forth in the settings. Try changing the language whenpackageName=react-native-windows
. Try changing it when inpackageName=react-native
Try changing back toreact-native
after switching the language.What are the steps to reproduce?
Just load the site and hit the settings icon in the top right.
Checklist
README.md
(if needed)