sp-dev-fx-webparts/samples/react-teams-lead-dashboard
dependabot[bot] 16936a48a4
Bump webpack in /samples/react-teams-lead-dashboard
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 08:13:51 +00:00
..
.devcontainer Added all 1.12.1 and 1.13 containers 2022-02-14 02:52:18 -05:00
assets Update sample.json 2022-11-15 17:19:13 +02:00
config Upgraded react-teams-lead-dashboard to SPFx 1.16 2022-11-22 18:25:56 +01:00
src Upgraded react-teams-lead-dashboard to SPFx 1.16 2022-11-22 18:25:56 +01:00
teams Upgrades Lead Assist Dashboard to SPFx v1.16.0-rc.0 (#3150) 2022-11-15 17:04:25 +02:00
.eslintrc.js Upgraded react-teams-lead-dashboard to SPFx 1.16 2022-11-22 18:25:56 +01:00
.gitignore Upgrades Lead Assist Dashboard to SPFx v1.16.0-rc.0 (#3150) 2022-11-15 17:04:25 +02:00
.npmignore Upgrades Lead Assist Dashboard to SPFx v1.16.0-rc.0 (#3150) 2022-11-15 17:04:25 +02:00
.yo-rc.json Upgrades Lead Assist Dashboard to SPFx v1.16.0-rc.0 (#3150) 2022-11-15 17:04:25 +02:00
README.md Changed authors to contributors 2023-02-18 22:58:44 -05:00
gulpfile.js Added react-teams-lead-dashboard sample 2021-10-05 23:33:22 +02:00
package-lock.json Bump webpack in /samples/react-teams-lead-dashboard 2023-03-15 08:13:51 +00:00
package.json Upgraded react-teams-lead-dashboard to SPFx 1.16 2022-11-22 18:25:56 +01:00
tsconfig.json Upgrades Lead Assist Dashboard to SPFx v1.16.0-rc.0 (#3150) 2022-11-15 17:04:25 +02:00

README.md

Lead Assist Dashboard

Summary

This sample shows how to integrate SharePoint Framework, PnP React Controls, and Microsoft Graph Toolkit in a solution available for SharePoint web parts or Microsoft Teams personal application.

Lead Assist Dashboard

Compatibility

⚠️ Important
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.0 Node.js >=16.13.0 <17.0.0 Compatible with SharePoint Online Does not work with SharePoint 2019 Does not work with SharePoint 2016 (Feature Pack 2) Local Workbench Incompatible Hosted Workbench Compatible Compatible with Remote Containers

Applies to

Get your own free development tenant by subscribing to Microsoft 365 developer program

Contributors

Version history

Version Date Comments
1.0.2 November 22, 2022 Upgraded to SPFx v1.16.0
1.0.1 November 15, 2022 Upgraded to SPFx v1.16.0-rc.0
1.0.0 October 5, 2021 Initial release

Minimal Path to Awesome

  • Clone this repository
  • Ensure that you are at the solution folder
  • In the command-line run:
    • npm install
    • npm run package
  • Upload the generated SPPKG file into the SharePoint App Catalog of your tenant
  • Select the SPPKG in the App Catalog and click on "Sync to Teams" button
  • Verify that you have the latest version of the Microsoft Graph Toolkit SPFx package installed in your app catalog. If you don't:
  • Add the web part to a SharePoint page
  • In the first run the web part will ask for the target SharePoint site URL

This sample can also be opened with VS Code Remote Development. Visit https://aka.ms/spfx-devcontainer for further instructions.

If needed:

  • Using the control panel of the web part
    • Create the SharePoint demo lists
    • Populate the SharePoint demo lists
    • Generate the Microsoft Graph demo data

Features

This solution provides an example of how to implement a SharePoint Framework web part, that is also usable as a Microsoft Teams personal app, using the SharePoint Framework React Controls and the Microsoft Graph Toolkit.

This web part illustrates the following concepts:

  • How to use the PnP React Controls such as the chart control Activity chart detail

  • How to integrate the Microsoft Graph Toolkit in a SharePoint Framework web part such as the Agenda control

    MGT Agenda control in action

    and the Todo control

    MGT Todo control in action

  • How to execute operations on SharePoint using PnP JS

References

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.

"Sharing is Caring"