Skip to content

Commit

Permalink
Merge pull request #5309 from ervingayle/dynaccordion
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoabernier authored Oct 21, 2024
2 parents cc264b8 + 4f96d1c commit d3c08ec
Show file tree
Hide file tree
Showing 15 changed files with 29,136 additions and 19,151 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For more information on how to run this SPFx project in a VS Code Remote Container, please visit https://aka.ms/spfx-devcontainer
{
"name": "SPFx 1.16.1",
"name": "SPFx 1.20.0",
"image": "docker.io/m365pnp/spfx:1.16.1",
// Set *default* container specific settings.json values on container create.
"settings": {},
Expand Down
349 changes: 348 additions & 1 deletion samples/react-accordion-dynamic-section/.eslintrc.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions samples/react-accordion-dynamic-section/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18.18.0
17 changes: 17 additions & 0 deletions samples/react-accordion-dynamic-section/.yo-rc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"@microsoft/generator-sharepoint": {
"isCreatingSolution": true,
"environment": "spo",
"version": "1.20.0",
"libraryName": "react-accordion-dynamicsection",
"libraryId": "bf6fa974-fd40-45a3-80e9-e826abe025b9",
"packageManager": "npm",
"isDomainIsolated": false,
"componentType": "webpart",
"sdkVersions": {
"@microsoft/teams-js": "2.24.0",
"@microsoft/microsoft-graph-client": "3.0.2"
},
"nodeVersion": "18.18.0"
}
}
9 changes: 5 additions & 4 deletions samples/react-accordion-dynamic-section/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
| Every SPFx version is only compatible with specific version(s) of Node.js. In order to be able to build this sample, please ensure that the version of Node on your workstation matches one of the versions listed in this section. This sample will not work on a different version of Node.|
|Refer to <https://aka.ms/spfx-matrix> for more information on SPFx compatibility. |

![SPFx 1.16.1](https://img.shields.io/badge/SPFx-1.16.1-green.svg)
![Node.js v16](https://img.shields.io/badge/Node.js-v16-green.svg)
![SPFx 1.20.0](https://img.shields.io/badge/SPFx-1.20.0-green.svg)
![Node.js v18](https://img.shields.io/badge/Node.js-v18-green.svg)
![Compatible with SharePoint Online](https://img.shields.io/badge/SharePoint%20Online-Compatible-green.svg)
![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")
![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")
Expand All @@ -62,6 +62,7 @@ Please create the list as described above
* [Erik Benke](https://github.com/ejbenke)
* [Ari Gunawan](https://github.com/AriGunawan)
* [Valeras Narbutas](https://github.com/ValerasNarbutas)
* [Ervin Gayle](https://github.com/ErvinGayle)

## Version history

Expand All @@ -70,8 +71,8 @@ Please create the list as described above
| 1.0 | September 20, 2020 | Reused [Erik Benke] and [Mike Zimmerman] web part |
| 1.1 | September 20, 2020 | Added Support for Dynamic Column selection for reuseability, Dynamic Property Selection for Columns |
| 1.8 | August 8, 2021 | Add configuration for sorting the items |
| 2.0 | April 2, 2023 | Upgarde to SPFX 1.16.1 |

| 2.0 | April 2, 2023 | Upgrade to SPFX 1.16.1 |
| 2.0 | October 10, 2024 | Upgrade to SPFX 1.20.1 |


## Minimal Path to Awesome
Expand Down
4 changes: 2 additions & 2 deletions samples/react-accordion-dynamic-section/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"This sample is based on Erik Benke and Mike Zimmerman Accordion Section FAQ Builder web part. It was extended support single FAQs list based on Category and dynamic properties selection."
],
"creationDateTime": "2021-01-05",
"updateDateTime": "2021-08-08",
"updateDateTime": "2024-10-19",
"products": [
"SharePoint"
],
Expand All @@ -20,7 +20,7 @@
},
{
"key": "SPFX-VERSION",
"value": "1.16.1"
"value": "1.20.0"
},
{
"key": "SPFX-TEAMSTAB",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"solution": {
"name": "Accordion Section FAQ Builder",
"id": "bf6fa974-fd40-45a3-80e9-e826abe025b9",
"version": "2.0.0.0",
"version": "2.1.0.0",
"includeClientSideAssets": true,
"skipFeatureDeployment": true,
"developer": {
"name": "",
"privacyUrl": "",
"termsOfUseUrl": "",
"websiteUrl": "",
"mpnId": "Undefined-1.15.0"
"mpnId": "Undefined-1.20.0"
},
"metadata": {
"shortDescription": {
Expand All @@ -29,7 +29,7 @@
"title": "react-accordion ReactAccordionWebPart Feature",
"description": "The feature that activates ReactAccordionWebPart from the react-accordion solution.",
"id": "061da2cd-f680-4da5-ab30-40a8ba1aafd8",
"version": "2.0.0.0",
"version": "2.1.0.0",
"componentIds": [
"061da2cd-f680-4da5-ab30-40a8ba1aafd8"
]
Expand Down
4 changes: 2 additions & 2 deletions samples/react-accordion-dynamic-section/config/serve.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/spfx-serve.schema.json",
"port": 4321,
"https": true,
"initialPage": "https://enter-your-SharePoint-site/_layouts/workbench.aspx",
}
"initialPage": "https://{tenantDomain}/_layouts/workbench.aspx"
}
Loading

0 comments on commit d3c08ec

Please sign in to comment.