diff --git a/samples/react-graph-cascading-managed-metadata/README.md b/samples/react-graph-cascading-managed-metadata/README.md index a783f5933..a0250c2ac 100644 --- a/samples/react-graph-cascading-managed-metadata/README.md +++ b/samples/react-graph-cascading-managed-metadata/README.md @@ -12,9 +12,16 @@ This web part shows how to use the Microsoft Graph APIs (beta) for Taxonomy to g ![Term store](./assets/termstore.png) -## Used SharePoint Framework Version +## Compatibility -![SPFx v1.11.0](https://img.shields.io/badge/SPFx-1.11.0-green.svg) +![SPFx 1.11](https://img.shields.io/badge/SPFx-1.11.0-green.svg) +![Node.js LTS 10.x](https://img.shields.io/badge/Node.js-LTS%2010.x-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") +![Teams Incompatible](https://img.shields.io/badge/Teams-Incompatible-lightgrey.svg) +![Local Workbench Incompatible](https://img.shields.io/badge/Local%20Workbench-Incompatible-yellow.svg "This solution requires access to data terms using Microsoft Graph API") +![Hosted Workbench Compatible](https://img.shields.io/badge/Hosted%20Workbench-Compatible-green.svg) ## Applies to @@ -41,12 +48,6 @@ Version|Date|Comments 1.0.0|Aug 24, 2020|Initial release 1.0.1|Sep 03, 2020|Error handling and logging improvements -## Disclaimer - -**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.** - ---- - ## Minimal Path to Awesome * Clone this repository @@ -70,4 +71,20 @@ This sample illustrates the following concepts on top of the SharePoint Framewor * Currently, this web part supports 2-level cascading. So there is scope to enhance this such that it supports more levels of cascading dynamically. * Currently, this web part reads latitude and longitude from description of the city terms. If there is a way of getting these from the custom properties of the city terms, then that needs to be implemented. +## Disclaimer + +**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.** + +## Help + +We do not support samples, but we this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues. + +If you encounter any issues while using this sample, [create a new issue](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=bug-report.yml&sample=react-graph-cascading-managed-metadata&authors=@anoopt&title=react-graph-cascading-managed-metadata%20-%20). + +For questions regarding this sample, [create a new question](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=question.yml&sample=react-graph-cascading-managed-metadata&authors=@anoopt&title=react-graph-cascading-managed-metadata%20-%20). + +Finally, if you have an idea for improvement, [make a suggestion](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=suggestion.yml&sample=react-graph-cascading-managed-metadata&authors=@anoopt&title=react-graph-cascading-managed-metadata%20-%20). + + + diff --git a/samples/react-mgtEvents/.editorconfig b/samples/react-mgtevents/.editorconfig similarity index 100% rename from samples/react-mgtEvents/.editorconfig rename to samples/react-mgtevents/.editorconfig diff --git a/samples/react-mgtEvents/.gitignore b/samples/react-mgtevents/.gitignore similarity index 100% rename from samples/react-mgtEvents/.gitignore rename to samples/react-mgtevents/.gitignore diff --git a/samples/react-mgtEvents/.yo-rc.json b/samples/react-mgtevents/.yo-rc.json similarity index 100% rename from samples/react-mgtEvents/.yo-rc.json rename to samples/react-mgtevents/.yo-rc.json diff --git a/samples/react-mgtEvents/README.md b/samples/react-mgtevents/README.md similarity index 100% rename from samples/react-mgtEvents/README.md rename to samples/react-mgtevents/README.md diff --git a/samples/react-mgtEvents/assets/mhtEvents.JPG b/samples/react-mgtevents/assets/mgtevents.jpg similarity index 100% rename from samples/react-mgtEvents/assets/mhtEvents.JPG rename to samples/react-mgtevents/assets/mgtevents.jpg diff --git a/samples/react-mgtEvents/assets/sample.json b/samples/react-mgtevents/assets/sample.json similarity index 96% rename from samples/react-mgtEvents/assets/sample.json rename to samples/react-mgtevents/assets/sample.json index db0918d61..7fc25453e 100644 --- a/samples/react-mgtEvents/assets/sample.json +++ b/samples/react-mgtevents/assets/sample.json @@ -1,10 +1,10 @@ [ { - "name": "pnp-sp-dev-spfx-web-parts-react-mgtEvents", + "name": "pnp-sp-dev-spfx-web-parts-react-mgtevents", "source": "pnp", "title": "MGT Events", "shortDescription": "This sample shows how to use Microsoft Graph Toolkit in SPFx and custom with Fluent UI Fabric Controls", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-mgtEvents", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-mgtevents", "longDescription": [ "This sample shows how to use Microsoft Graph Toolkit in SPFx and custom with Fluent UI Fabric Controls" ], @@ -44,7 +44,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-mgtEvents/assets/mhtEvents.JPG", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-mgtevents/assets/mgtevents.jpg", "alt": "MGT Events" } ], diff --git a/samples/react-mgtEvents/config/config.json b/samples/react-mgtevents/config/config.json similarity index 100% rename from samples/react-mgtEvents/config/config.json rename to samples/react-mgtevents/config/config.json diff --git a/samples/react-mgtEvents/config/copy-assets.json b/samples/react-mgtevents/config/copy-assets.json similarity index 100% rename from samples/react-mgtEvents/config/copy-assets.json rename to samples/react-mgtevents/config/copy-assets.json diff --git a/samples/react-mgtEvents/config/deploy-azure-storage.json b/samples/react-mgtevents/config/deploy-azure-storage.json similarity index 100% rename from samples/react-mgtEvents/config/deploy-azure-storage.json rename to samples/react-mgtevents/config/deploy-azure-storage.json diff --git a/samples/react-mgtEvents/config/package-solution.json b/samples/react-mgtevents/config/package-solution.json similarity index 100% rename from samples/react-mgtEvents/config/package-solution.json rename to samples/react-mgtevents/config/package-solution.json diff --git a/samples/react-mgtEvents/config/serve.json b/samples/react-mgtevents/config/serve.json similarity index 100% rename from samples/react-mgtEvents/config/serve.json rename to samples/react-mgtevents/config/serve.json diff --git a/samples/react-mgtEvents/config/write-manifests.json b/samples/react-mgtevents/config/write-manifests.json similarity index 100% rename from samples/react-mgtEvents/config/write-manifests.json rename to samples/react-mgtevents/config/write-manifests.json diff --git a/samples/react-mgtEvents/gulpfile.js b/samples/react-mgtevents/gulpfile.js similarity index 100% rename from samples/react-mgtEvents/gulpfile.js rename to samples/react-mgtevents/gulpfile.js diff --git a/samples/react-mgtEvents/package-lock.json b/samples/react-mgtevents/package-lock.json similarity index 100% rename from samples/react-mgtEvents/package-lock.json rename to samples/react-mgtevents/package-lock.json diff --git a/samples/react-mgtEvents/package.json b/samples/react-mgtevents/package.json similarity index 100% rename from samples/react-mgtEvents/package.json rename to samples/react-mgtevents/package.json diff --git a/samples/react-mgtEvents/src/common/TeamsContrastTheme.json b/samples/react-mgtevents/src/common/TeamsContrastTheme.json similarity index 100% rename from samples/react-mgtEvents/src/common/TeamsContrastTheme.json rename to samples/react-mgtevents/src/common/TeamsContrastTheme.json diff --git a/samples/react-mgtEvents/src/common/TeamsDarkTheme.json b/samples/react-mgtevents/src/common/TeamsDarkTheme.json similarity index 100% rename from samples/react-mgtEvents/src/common/TeamsDarkTheme.json rename to samples/react-mgtevents/src/common/TeamsDarkTheme.json diff --git a/samples/react-mgtEvents/src/common/TeamsDefaultTheme.json b/samples/react-mgtevents/src/common/TeamsDefaultTheme.json similarity index 100% rename from samples/react-mgtEvents/src/common/TeamsDefaultTheme.json rename to samples/react-mgtevents/src/common/TeamsDefaultTheme.json diff --git a/samples/react-mgtEvents/src/common/constants.ts b/samples/react-mgtevents/src/common/constants.ts similarity index 100% rename from samples/react-mgtEvents/src/common/constants.ts rename to samples/react-mgtevents/src/common/constants.ts diff --git a/samples/react-mgtEvents/src/common/themeColors.module.scss b/samples/react-mgtevents/src/common/themeColors.module.scss similarity index 100% rename from samples/react-mgtEvents/src/common/themeColors.module.scss rename to samples/react-mgtevents/src/common/themeColors.module.scss diff --git a/samples/react-mgtEvents/src/index.ts b/samples/react-mgtevents/src/index.ts similarity index 100% rename from samples/react-mgtEvents/src/index.ts rename to samples/react-mgtevents/src/index.ts diff --git a/samples/react-mgtEvents/src/webparts/mgtEvents/MgtEventsWebPart.manifest.json b/samples/react-mgtevents/src/webparts/mgtEvents/MgtEventsWebPart.manifest.json similarity index 100% rename from samples/react-mgtEvents/src/webparts/mgtEvents/MgtEventsWebPart.manifest.json rename to samples/react-mgtevents/src/webparts/mgtEvents/MgtEventsWebPart.manifest.json diff --git a/samples/react-mgtEvents/src/webparts/mgtEvents/MgtEventsWebPart.ts b/samples/react-mgtevents/src/webparts/mgtEvents/MgtEventsWebPart.ts similarity index 100% rename from samples/react-mgtEvents/src/webparts/mgtEvents/MgtEventsWebPart.ts rename to samples/react-mgtevents/src/webparts/mgtEvents/MgtEventsWebPart.ts diff --git a/samples/react-mgtEvents/src/webparts/mgtEvents/components/IMgtEventsProps.ts b/samples/react-mgtevents/src/webparts/mgtEvents/components/IMgtEventsProps.ts similarity index 100% rename from samples/react-mgtEvents/src/webparts/mgtEvents/components/IMgtEventsProps.ts rename to samples/react-mgtevents/src/webparts/mgtEvents/components/IMgtEventsProps.ts diff --git a/samples/react-mgtEvents/src/webparts/mgtEvents/components/MgtEvent.tsx b/samples/react-mgtevents/src/webparts/mgtEvents/components/MgtEvent.tsx similarity index 100% rename from samples/react-mgtEvents/src/webparts/mgtEvents/components/MgtEvent.tsx rename to samples/react-mgtevents/src/webparts/mgtEvents/components/MgtEvent.tsx diff --git a/samples/react-mgtEvents/src/webparts/mgtEvents/components/MgtEvents.tsx b/samples/react-mgtevents/src/webparts/mgtEvents/components/MgtEvents.tsx similarity index 100% rename from samples/react-mgtEvents/src/webparts/mgtEvents/components/MgtEvents.tsx rename to samples/react-mgtevents/src/webparts/mgtEvents/components/MgtEvents.tsx diff --git a/samples/react-mgtEvents/src/webparts/mgtEvents/components/MgtPersons.tsx b/samples/react-mgtevents/src/webparts/mgtEvents/components/MgtPersons.tsx similarity index 100% rename from samples/react-mgtEvents/src/webparts/mgtEvents/components/MgtPersons.tsx rename to samples/react-mgtevents/src/webparts/mgtEvents/components/MgtPersons.tsx diff --git a/samples/react-mgtEvents/src/webparts/mgtEvents/loc/en-us.js b/samples/react-mgtevents/src/webparts/mgtEvents/loc/en-us.js similarity index 100% rename from samples/react-mgtEvents/src/webparts/mgtEvents/loc/en-us.js rename to samples/react-mgtevents/src/webparts/mgtEvents/loc/en-us.js diff --git a/samples/react-mgtEvents/src/webparts/mgtEvents/loc/mystrings.d.ts b/samples/react-mgtevents/src/webparts/mgtEvents/loc/mystrings.d.ts similarity index 100% rename from samples/react-mgtEvents/src/webparts/mgtEvents/loc/mystrings.d.ts rename to samples/react-mgtevents/src/webparts/mgtEvents/loc/mystrings.d.ts diff --git a/samples/react-mgtEvents/teams/03fe68f7-84ef-46a7-8210-d47a1c911d69_color.png b/samples/react-mgtevents/teams/03fe68f7-84ef-46a7-8210-d47a1c911d69_color.png similarity index 100% rename from samples/react-mgtEvents/teams/03fe68f7-84ef-46a7-8210-d47a1c911d69_color.png rename to samples/react-mgtevents/teams/03fe68f7-84ef-46a7-8210-d47a1c911d69_color.png diff --git a/samples/react-mgtEvents/teams/03fe68f7-84ef-46a7-8210-d47a1c911d69_outline.png b/samples/react-mgtevents/teams/03fe68f7-84ef-46a7-8210-d47a1c911d69_outline.png similarity index 100% rename from samples/react-mgtEvents/teams/03fe68f7-84ef-46a7-8210-d47a1c911d69_outline.png rename to samples/react-mgtevents/teams/03fe68f7-84ef-46a7-8210-d47a1c911d69_outline.png diff --git a/samples/react-mgtEvents/tools/pre-version.js b/samples/react-mgtevents/tools/pre-version.js similarity index 100% rename from samples/react-mgtEvents/tools/pre-version.js rename to samples/react-mgtevents/tools/pre-version.js diff --git a/samples/react-mgtEvents/tsconfig.json b/samples/react-mgtevents/tsconfig.json similarity index 100% rename from samples/react-mgtEvents/tsconfig.json rename to samples/react-mgtevents/tsconfig.json diff --git a/samples/react-mgtEvents/tslint.json b/samples/react-mgtevents/tslint.json similarity index 100% rename from samples/react-mgtEvents/tslint.json rename to samples/react-mgtevents/tslint.json