sp-dev-fx-webparts/samples/react-my-approvals
dependabot[bot] f7fe290417
Bump follow-redirects in /samples/react-my-approvals
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 08:17:03 +00:00
..
.devcontainer Updated readme, sample.json and devcontainer 2022-03-28 18:23:44 -04:00
assets Updated sample.json and readme 2022-11-09 11:04:49 -05:00
config Updated to support responsive layouts 2022-11-04 10:35:48 +09:00
src Updated to support responsive layouts 2022-11-04 10:35:48 +09:00
teams Added react-my-approvals sample 2022-01-14 18:01:37 +09:00
.eslintrc.js Updated to support responsive layouts 2022-11-04 10:35:48 +09:00
.gitignore Added devcontainers for 1.13 solutions 2022-01-31 00:10:13 -05:00
.npmignore Added react-my-approvals sample 2022-01-14 18:01:37 +09:00
.yo-rc.json Added react-my-approvals sample 2022-01-14 18:01:37 +09:00
README.md Added more contributions 2023-03-15 01:23:34 -04:00
gulpfile.js Updated to support responsive layouts 2022-11-04 10:35:48 +09:00
package-lock.json Bump follow-redirects in /samples/react-my-approvals 2024-01-10 08:17:03 +00:00
package.json Updated to support responsive layouts 2022-11-04 10:35:48 +09:00
tsconfig.json Updated to support responsive layouts 2022-11-04 10:35:48 +09:00

README.md

My Approvals

Summary

This web part demonstrates displaying the list of approval requests of Power Automate. Power Automate provides a new workflow feature that replaces SharePoint workflows, but it is a Power Platform feature, not a Microsoft 365 feature. You can display approval requests from only Power Automate site. This web part enable to display approval requests from SharePoint site.

Web part preview

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.15.2 Node.js v16 | v14 | v12 Compatible with SharePoint Online Does not work with SharePoint 2019 Does not work with SharePoint 2016 (Feature Pack 2) Local Workbench Unsupported Hosted Workbench Compatible (with permissions) Compatible with Remote Containers

NodeJS version must match >=10.13.0 <11.0.0 on >=12.13.0 <13.0.0 or >=14.15.0 <15.0.0

Prerequisites

This web part uses Microsoft Flow Service API. You need to approve the API request after deploying the package.

  • Approvals.Read.All
  • Flows.Read.All

For more information, see docs.

Minimal Path to Awesome

  • Clone this repository (or download this solution as a .ZIP file then unzip it)
  • From your command line, change your current directory to the directory containing this sample (react-my-approvals, located under samples)
  • in the command-line run:
    • npm install
    • gulp serve

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

Contributors

Version history

Version Date Comments
1.3 November 2, 2022 Updated to support responsive layouts; Upgraded to SPFx v1.15.2
1.2 March 28, 2022 Upgraded to SPFx v1.14
1.1 January 22, 2022 Updated to allow multiple environments to be selected
1.0 January 11, 2022 Initial release

Help

We do not support samples, but 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're having issues building the solution, please run spfx doctor from within the solution folder to diagnose incompatibility issues with your environment.

You can try looking at issues related to this sample to see if anybody else is having the same issues.

You can also try looking at discussions related to this sample and see what the community is saying.

If you encounter any issues while using this sample, create a new issue.

For questions regarding this sample, create a new question.

Finally, if you have an idea for improvement, make a suggestion.

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.