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
feat(extension): Rename launcher buttons for clarity #1872
Conversation
- Update launcher extension button labels - New labels: "Visual Studio Shader addons" - Add link under VisualStudioExtension label: "An installed Visual Studio is required, which can be found here" This commit addresses the issue of misleading launcher extension button labels, making it clearer that users are installing an extension, not the IDE itself. The new labels and added clarification help redirect users to the Visual Studio download page to avoid confusion.
Can we only show the message if Visual Studio isn't installed? There's an example of how to detect an installation here,
The VS requirements also change by Stride version (i.e., VS 2022 is only needed for Stride 4.1+). We might have to re-word the message to get this across. |
Thanks, @MeharDT! I will take a look on it. |
I'm facing a dilemma and would appreciate your input on it: We currently have a class called
What would you suggest we do in this situation? Thank you! |
Hi @acastrodev, I think option 1 makes the most amount of sense to me but this might have to be a discussion for the next community meeting. Another option, can this PR idea be merged into the existing
|
Hi @MeharDT, Thank you for your input! I agree that option 1 seems like the approach to go, and discussing it in the next community meeting sounds like a good idea to ensure everyone's alignment. Regarding your suggestion to merge this PR idea into the existing FindAndSetMSBuildVersion() check, it's an interesting thought. It could potentially simplify the logic and improve the user experience by providing more specific error messages. I would say, we could definitely consider that as an option. |
Note that |
Thank you, @manio143. I'll consider your point about the MSBuild dependency. Creating a new project for the MSBuild abstraction sounds like a good approach to avoid impacting dependencies. I'll explore this option further and update this PR. Appreciate your insight! |
Following up the idea to extract this logic for a new project, my understanding is that it can live under Stride.Core. instead of Stride.Core.Assets. Assuming Stride.Core. is the way to go, I have some suggestions to name this project as follows: 1 - @manio143 and others, please let me know what are your ideas around that. Thanks! |
Please note that, in the solution, This one is more appropriately placed under the "design-time" part. The naming could be whatever is better for legibility, but it must be in the correct category to avoid confusion. |
Thanks for the feedback @Ethereal77. I see now we already have a class inside Stride.Core.Design for this purpose — to check Visual Studio versions installed ( |
In LauncherWindow.xaml.cs: - Added a Loaded event handler method TextBlockVisualStudioDownloadPage_Loaded to handle the loading of the TextBlock displaying Visual Studio download information. - Implemented logic to check for compatible Visual Studio versions and hide the TextBlock if compatible versions are found. In LauncherWindow.xaml: - Added the Loaded event handler TextBlockVisualStudioDownloadPage_Loaded to the TextBlock element responsible for displaying Visual Studio download information. This change improves the user experience by dynamically hiding the Visual Studio download information TextBlock when compatible versions are detected, providing a cleaner interface.
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.
Cool, so the dependencies were already referenced. Good job!
Nice work, well done @acastrodev! Is there a way to see which version of Stride is actively selected in the launcher? Since you're checking for either VS 2019 or 2022, maybe the text that's displayed could reflect that? As an example if Stride 4.1 is selected it could say something like, A valid Visual Studio 2022 installation could not be found. Download Now (hyperlink) For Stride 4.0 and below it would be 2019 |
Thanks, @MeharDT! And thanks for the feedback! I trust it is possible, although, if we follow the prerequisites from README it mentions Visual Studio 2022 only. If we are going to explicit offer a link with a wording based in the selected Stride version, I would say we should also need to update the README to reflect it. Another option is to include "2022" straight ahead in the current wording, being aligned with README instructions. |
Fair enough, I only mentioned 2019 because of the extension but lets stick to 2022 since it's current for 4.1 and 4.2 (soon). |
Thanks ! |
PR Details
VisualStudioExtension
label: "An installed Visual Studio is required, which can be found here"Description
This commit addresses the issue of misleading launcher extension button labels, making it clearer that users are installing an extension, not the IDE itself. The new labels and added clarification help redirect users to the Visual Studio download page to avoid confusion.
Related Issue
Resolves: #1773
Motivation and Context
Improves Launcher UX
No Visual Studio 2019 or 2022 found (hovering over the link shows the tooltip in the bottom part of the screen with the Visual Studio download page URL):
When one or another is found:
Types of changes
Checklist