Skip to content

Commit 8159308

Browse files
committed
feat: upgrade SPFx to 1.21.1 version & implement dynamic UI elements site theme colors
- Bump version from 1.2.0 to 1.2.1 in package.json - Update Node.js engine requirement to >=22.14.0 - Migrate to Fluent UI v9 theming in FeedbackApplicationCustomizer and FeedbackCustomizer components - Implement theme change handling in FeedbackApplicationCustomizer - Adjust styles in FeedbackCustomizer to utilize theme properties
1 parent 0342798 commit 8159308

File tree

11 files changed

+9605
-4423
lines changed

11 files changed

+9605
-4423
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18.18.2
1+
v22.18.0

samples/react-application-customizer-feedback-widget/.yo-rc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
"@microsoft/generator-sharepoint": {
33
"plusBeta": false,
44
"isCreatingSolution": true,
5-
"nodeVersion": "18.18.2",
5+
"nodeVersion": "22.18.0",
66
"sdksVersions": {
77
"@microsoft/microsoft-graph-client": "3.0.2",
88
"@microsoft/teams-js": "2.24.0"
99
},
10-
"version": "1.20.0",
10+
"version": "1.21.1",
1111
"libraryName": "feedback-customizer",
1212
"libraryId": "c66c6f38-3920-41b8-849d-3383aa467780",
1313
"environment": "spo",

samples/react-application-customizer-feedback-widget/README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
## Summary
44

5-
An SPFx Application Customizer Extension placed in the bottom placeholder which allows users to input their feedbacks without scrolling down to the end of the page.
5+
An SPFx Application Customizer Extension added to the bottom placeholder that lets users submit comments and ratings, which are then stored in a SharePoint list. Additionally, it gives admins the flexibility to position the widget on either the bottom-left or bottom-right corner of the screen.
66

7+
![Screenshot 1](assets/Feedback_WidgetMain.png)
78
![Screenshot 1](assets/Feedback_Widget1.png)
89
![Screenshot 2](assets/Feedback_Widget2.png)
910
![Screenshot 3](assets/Feedback_Widget3.png)
@@ -19,16 +20,16 @@ An SPFx Application Customizer Extension placed in the bottom placeholder which
1920

2021
This sample is optimally compatible with the following environment configuration:
2122

22-
![SPFx 1.20.0](https://img.shields.io/badge/SPFx-1.20.0-green.svg)
23-
![Node.js v18 | v16](https://img.shields.io/badge/Node.js-v18%20%7C%20v16-green.svg)
23+
![SPFx 1.21.1](https://img.shields.io/badge/SPFx-1.21.1-green.svg)
24+
![Node.js v22](https://img.shields.io/badge/Node.js-v22-green.svg)
2425
![Compatible with SharePoint Online](https://img.shields.io/badge/SharePoint%20Online-Compatible-green.svg)
2526
![Does not work with SharePoint 2019](https://img.shields.io/badge/SharePoint%20Server%202019-Incompatible-red.svg "SharePoint Server 2019 requires SPFx 1.4.1 or lower")
2627
![Does not work with SharePoint 2016 (Feature Pack 2)](https://img.shields.io/badge/SharePoint%20Server%202016%20(Feature%20Pack%202)-Incompatible-red.svg "SharePoint Server 2016 Feature Pack 2 requires SPFx 1.1")
2728
![Local Workbench Unsupported](https://img.shields.io/badge/Local%20Workbench-Unsupported-red.svg "Local workbench is no longer available as of SPFx 1.13 and above")
2829
![Hosted Workbench Compatible](https://img.shields.io/badge/Hosted%20Workbench-Compatible-red.svg)
2930
![Compatible with Remote Containers](https://img.shields.io/badge/Remote%20Containers-Compatible-red.svg)
3031

31-
Tested using Node.js v18.18.2
32+
Tested using Node.js v22.18.0
3233

3334
## Applies to
3435

@@ -62,6 +63,7 @@ Create a SharePoint custom list Feedbacks in the SPO site where this application
6263
| 1.0 | July 02, 2023 | Initial release |
6364
| 1.1 | April 10, 2025 | Version upgrade to SPFx 1.20.0 & other improvements |
6465
| 1.2 | May 23, 2025 | Implement Ratings & change position of widget based on property configuration |
66+
| 1.3 | Oct 17, 2025 | Version upgrade to SPFx 1.21.1 & widget UI elements dynamically adapts to site theme colors |
6567

6668
## Minimal Path to Awesome⚡
6769

@@ -77,7 +79,7 @@ Create a SharePoint custom list Feedbacks in the SPO site where this application
7779
?debugManifestsFile=https%3A%2F%2Flocalhost%3A4321%2Ftemp%2Fmanifests.js&loadSPFX=true&customActions=%7B"33ce42af-1748-4989-ab97-a8d9f782b886"%3A%7B"location"%3A"ClientSideExtension.ApplicationCustomizer"%2C"properties"%3A%7B"title"%3A"Submit+your+feedbacks+%26+ideas"%2C"position"%3A"rightBottom"%7D%7D%7D
7880
```
7981
80-
## Deploy Package Solution
82+
## Deploy Package Solution
8183
- Ensure that you are at the solution folder
8284
- in the command-line run:
8385
- `gulp build --ship`
1.72 MB
Loading

samples/react-application-customizer-feedback-widget/config/package-solution.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"solution": {
44
"name": "feedback-customizer-client-side-solution",
55
"id": "c66c6f38-3920-41b8-849d-3383aa467780",
6-
"version": "1.2.0.0",
6+
"version": "1.2.0.1",
77
"includeClientSideAssets": true,
88
"skipFeatureDeployment": true,
99
"isDomainIsolated": false,
@@ -30,7 +30,7 @@
3030
"title": "Application Extension - Deployment of custom action",
3131
"description": "Deploys a custom action with ClientSideComponentId association",
3232
"id": "062f8d82-ce8f-4035-b0ce-6cba7de74232",
33-
"version": "1.2.0.0",
33+
"version": "1.2.0.1",
3434
"assets": {
3535
"elementManifests": ["elements.xml", "ClientSideInstance.xml"]
3636
}

0 commit comments

Comments
 (0)