Skip to content

Commit beaf740

Browse files
Adam-itSaurabh7019nicodecleyre
authored
Release v4.3.0 (#380)
## 🎯 Aim The aim is to create a new minor release that adds more manage capabilities to the SPFx solutions view for every app catalog. It also includes a new `/manage` GitHub Copilot Chat command that allows to retrieve data from SharePoint Online. Improvements to the upgrade and validate actions which now allow to generate a code tour with guidance and added support for SPFx Fast Serve as an optional dependency. ## 📷 Result ![spfx-chat2](https://github.com/user-attachments/assets/ff86b85b-82eb-4b8c-87db-7b555a5bce41) ![sign-in-cache](https://github.com/user-attachments/assets/737d0b29-87a0-4821-a425-ae91f66fd9a6) ![spfx-fast-serve](https://github.com/user-attachments/assets/33e9373b-a304-4dbf-9b05-8b83aa4f5536) ![app-catalog-list](https://github.com/user-attachments/assets/46739b9f-da48-4905-8588-9c82a4a8d528) ## ✅ What was done - [x] Added remove confirmation prompt when removing SPFx solution from app catalog - [x] Added /manage GitHub Chat command - [x] Added generating code tour for upgrade and validate SPFx solution actions - [x] Added upgrade SPFx project action - [x] Added SPFx Fast Serve optional dependency to the scaffolding form - [x] Improved sign in experience with caching of Client ID and Tenant ID --------- Co-authored-by: Saurabh Tripathi <[email protected]> Co-authored-by: Nico De Cleyre <[email protected]>
1 parent 82393b2 commit beaf740

36 files changed

+2847
-170
lines changed

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
# Change Log
22

3+
## [4.3.0] - 2024-12-11
4+
5+
- Added remove confirmation prompt when removing SPFx solution from app catalog
6+
- Added /manage GitHub Chat command
7+
- Added generating code tour for upgrade and validate SPFx solution actions
8+
- Added upgrade SPFx project action
9+
- Added SPFx Fast Serve optional dependency to the scaffolding form
10+
- Improved sign in experience with caching of Client ID and Tenant ID
11+
312
## [4.2.0] - 2024-10-19
413

5-
- Include m365 prefix and log passed CLI command options
6-
- Refactors to ensure types for settings
14+
- Included m365 prefix and log passed CLI command options
15+
- Refactored to ensure types for settings
716
- Added a new project additional step to create or not the node version manager configuration file
817
- Added new VSCode setting createNodeVersionFileDefaultValue to define the default value of the new project additional step
918
- Added new VSCode setting nodeVersionManagerFile to specify which configuration file to be created

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -104,22 +104,14 @@ Creating a new project was never easier. Just use the **create a new project** a
104104

105105
![Create new project](./assets/images/scaffolding.png)
106106

107-
Check it out in action 👇.
108-
109-
![Create new project](./assets/images/scaffolding-form.gif)
110-
111107
It's possible to scaffold any kind of SPFx project.
112108

113109
![All SPFx project support](./assets/images/scaffolding-support.png)
114110

115-
Install additional dependencies with a single click straight from the scaffolding form. Currently we support installing [PnP reusable property pane controls](https://pnp.github.io/sp-dev-fx-property-controls/), [PnP reusable React controls](https://pnp.github.io/sp-dev-fx-controls-react/), and [PnPjs](https://pnp.github.io/pnpjs/).
111+
Install additional dependencies with a single click straight from the scaffolding form. Currently we support installing [PnP reusable property pane controls](https://pnp.github.io/sp-dev-fx-property-controls/), [PnP reusable React controls](https://pnp.github.io/sp-dev-fx-controls-react/), [PnPjs](https://pnp.github.io/pnpjs/). Add and preconfigure [SPFx Fast Serve](https://github.com/s-KaiNet/spfx-fast-serve) and add a Node Version Manager configuration file either for NVM or NVS.
116112

117113
![Additional dependency step](./assets/images/scaffolding-additional-step.png)
118114

119-
When you can set the additional dependencies it's also possible to automatically create the node version manager file with the version of Node.js used when creating the project. These settings are available in the extension settings.
120-
121-
![Additional dependency step node version](./assets/images/scaffolding-additional-step-node-version.png)
122-
123115
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.2-Scaffolding#1-scaffold-a-new-spfx-project)
124116

125117
### 6️⃣ Sign in to your tenant & retrieve environment details
@@ -136,6 +128,8 @@ SPFx Toolkit will guide you through the process of creating a new app registrati
136128

137129
![entra app reg form](./assets/images/sign-in-entra-app-reg-form.png)
138130

131+
Check it out in action 👇
132+
139133
![app registration](./assets/images/sign-in.gif)
140134

141135
If you already have an Entra App Registration you may use it to sign in to your tenant by providing the Client Id and Tenant Id.
@@ -159,6 +153,7 @@ After successful sign in, an additional view is presented that shows a list of l
159153
- **Remove**: Removes the app from the app catalog.
160154
- **Enable**: Allows end users to add the solution to their SharePoint sites.
161155
- **Disable**: Hides the solution from end users, preventing them from adding it to sites.
156+
- **Upgrade**: Upgrades the solution to the latest version available in the app catalog for the specified site.
162157

163158
Additionally, it will show you all tenant-wide extensions installed on your tenant.
164159

@@ -202,13 +197,17 @@ And for Azure DevOps👇
202197

203198
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#cicd-github-workflow)
204199

205-
- **Upgrade project** - Uses CLI for Microsoft 365 to create a .md report with upgrade guidance to the latest supported SPFx version by the extension.
200+
- **Upgrade project** - Uses CLI for Microsoft 365 to create a .md and/or code tour report with upgrade guidance to the latest supported SPFx version by the extension. The upgrade guidance provides optional as well as required steps a user needs to take manually in order to upgrade the project. At the end of the guidance file, the user may find a summary of the steps in a single script and a couple of manual steps that need to be taken.
206201

207202
![Upgrade project](./assets/images/upgrade-project.png)
208203

204+
And the code tour guidance will provide you upgrade tips directly in your code!
205+
206+
![Upgrade project](./assets/images/upgrade-project-code-tour.png)
207+
209208
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#upgrade-project)
210209

211-
- **Validate project** - Creates a validation .md report against the currently used SPFx version in the project. The action will automatically detect the SPFx version used and will validate if the project is properly set up.
210+
- **Validate project** - Creates a validation .md report and/or code tour validation guidance for the currently open SPFx project. The action will automatically detect the SPFx version used and will validate if the project is properly set up.
212211

213212
![Upgrade project](./assets/images/validate-project.png)
214213

@@ -315,7 +314,8 @@ Now you may use SPFx Toolkit as a chat participant in GitHub Copilot chat extens
315314
Currently, we support the following commands:
316315
- `/setup` - that is dedicated to providing information on how to setup your local workspace for SharePoint Framework development
317316
- `/new` - that may be used to get guidance on how to create a new solution or find and reuse an existing sample from the PnP SPFx sample gallery
318-
- `/code` - that is fine-tuned to provide help in coding your SharePoint Framework project and provides additional boosters like validating the correctness of your SPFx project, scaffolding a CI/CD workflow, or renaming your project, and many more.
317+
- `/code` - [beta] this command is fine-tuned to provide help in coding your SharePoint Framework project and provides additional boosters like validating the correctness of your SPFx project, scaffolding a CI/CD workflow, or renaming your project, and many more.
318+
- `/manage` - [beta] this command will allow you to ask and retrieve any kind of data from you SharePoint Online tenant. This command will only work if your are signed in to your tenant. It uses CLI for Microsoft 365 commands under the hood to retrieve and explain data and assets from your SharePoint Online tenant. Currently it does support only retrieving information, it will not support you in creating, updating or removing any resources. For example, you want to check if some list item or file exists. Or how many items with specific metadata do you have on a list? Or ask for content type columns to generate an interface based on the response quickly.
319319

320320
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/8.-SPFx-Toolkit-GitHub-Chat-Participant)
321321

assets/images/actions.png

1.6 KB
Loading

assets/images/app-catalog-list.png

308 KB
Loading
3.83 MB
Loading
38.6 KB
Loading

assets/images/scaffolding.png

-16.8 KB
Loading

assets/images/settings.png

148 KB
Loading
-3.57 MB
Loading

assets/images/sign-in.gif

-3.31 MB
Loading

0 commit comments

Comments
 (0)