-
Notifications
You must be signed in to change notification settings - Fork 17
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
💡 [Feature]: The Upgrade
and Validate
actions could return also code tour response
#188
Comments
Hi there 👋 , can i work on this one please? |
Of course |
Hi @nicodecleyre, |
## 🎯 Aim Adding the tour options and both md & tour options as settings for the upgrade and validate actions ## 📷 Result ![image](https://github.com/user-attachments/assets/582ac622-aa94-43f5-a3ae-644d24d36f17) ## ✅ What was done - [X] Added `Md`, `Tour`, `Both` as upgrade options in the settings - [X] Added `Md`, `Tour`, `Both` as validate options in the settings - [X] Added tour logic to code for the upgrade option - [X] Added tour logic to code for the validate option ## 🔗 Related issue Closes: #188
PR merged. This will be live as a new pre-release soon. |
## 🎯 Aim Adding the tour options and both md & tour options as settings for the upgrade and validate actions ## 📷 Result ![image](https://github.com/user-attachments/assets/582ac622-aa94-43f5-a3ae-644d24d36f17) ## ✅ What was done - [X] Added `Md`, `Tour`, `Both` as upgrade options in the settings - [X] Added `Md`, `Tour`, `Both` as validate options in the settings - [X] Added tour logic to code for the upgrade option - [X] Added tour logic to code for the validate option ## 🔗 Related issue Closes: #188
🎯 Aim of the feature
As internally those actions use the
project upgrade
andproject doctor
CLI for M365 commands and those support also thetour
output mode which create a code tour for the current project with the findings. We could extend those functionalities so that we return the markdown sum up report and the tour in one go.Proposed implementation
In the
CliActions
service we the upgrade and validate methods. Each of those just run the CLI command under the hood withmd
output mode.Depending on the what user have saved in the setting (see below) we should execute either the command with
md
ortour
output or execute the commands twice with both output for bothAdditional Proposal
Similar to node settings we could add additional setting for those features. For each of those features:
upgrade
andvalidate
we could provide a dropdown with options that define what report type should be generated. Either:markdown
(as we have now),code tour
,both
(which should be the default value)The text was updated successfully, but these errors were encountered: