sp-dev-fx-webparts/samples/react-feedback
Hugo Bernier e6cd0b17de Added sample metadata 2021-02-08 02:19:31 -05:00
..
.vscode Add 'samples/react-feedback/' from commit 'f9606eeed86b7a180e44f69e992f99d98b79094f' 2020-12-15 22:19:50 -05:00
assets Added sample metadata 2021-02-08 02:19:31 -05:00
config Adding PnP identifier for the MPN ID entries in samples - distinct sample usage in production 2021-01-07 14:51:39 +02:00
src Fixed readme file 2020-12-17 00:06:13 -05:00
teams Add 'samples/react-feedback/' from commit 'f9606eeed86b7a180e44f69e992f99d98b79094f' 2020-12-15 22:19:50 -05:00
.editorconfig Add 'samples/react-feedback/' from commit 'f9606eeed86b7a180e44f69e992f99d98b79094f' 2020-12-15 22:19:50 -05:00
.gitignore Add 'samples/react-feedback/' from commit 'f9606eeed86b7a180e44f69e992f99d98b79094f' 2020-12-15 22:19:50 -05:00
.yo-rc.json Add 'samples/react-feedback/' from commit 'f9606eeed86b7a180e44f69e992f99d98b79094f' 2020-12-15 22:19:50 -05:00
README.md Fixed readme file 2020-12-17 00:06:13 -05:00
gulpfile.js Add 'samples/react-feedback/' from commit 'f9606eeed86b7a180e44f69e992f99d98b79094f' 2020-12-15 22:19:50 -05:00
package-lock.json Add 'samples/react-feedback/' from commit 'f9606eeed86b7a180e44f69e992f99d98b79094f' 2020-12-15 22:19:50 -05:00
package.json Add 'samples/react-feedback/' from commit 'f9606eeed86b7a180e44f69e992f99d98b79094f' 2020-12-15 22:19:50 -05:00
tsconfig.json Add 'samples/react-feedback/' from commit 'f9606eeed86b7a180e44f69e992f99d98b79094f' 2020-12-15 22:19:50 -05:00
tslint.json Add 'samples/react-feedback/' from commit 'f9606eeed86b7a180e44f69e992f99d98b79094f' 2020-12-15 22:19:50 -05:00

README.md

Feedback

Summary

This is an application that supports Feedback through a web part that can be used directly on a Modern SharePoint Site page. This web part can be added to any site page or article. This allows users to send categorized feedback via email to users in the "Feedback Owners" group.

Feedback

Compatibility

SPFx 1.11

Node.js LTS 10.x

SharePoint Online

Teams N/A

Workbench Not supported

Applies to

Prerequisites

  • Office 365 subscription with SharePoint Online
  • SharePoint Framework development environment set up
  • "Feedback Owners" SharePoint group (see below)

Solution

Solution Author(s)
react-feedback Perry Kankam

Version history

Version Date Comments
1.0 December 15, 2020 Initial release

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

To really get the full experience go to the workbench on a SharePoint Site [Your site url]/_layouts/15/workbench.aspx and that's where the magic will happen but this requires that you deploy and activate features to provision the required SharePoint assets

  • Clone this repository
  • in the command line run:
    • npm install
    • gulp serve
  • Add "Feedback Owners" SharePoint group. This is where you'll add all users who should receive this feedback.
  • Run one of the following custom commands to clean, build, bundle and package the solution.
    • If you want to be able to debug using your local code using gulp serve gulp package
  • Navigate to the output feedback-webpart.sppkg (found in the /sharepoint/solution folder)
  • Upload it to an application catalog (either a tenant or site collection one)
  • In your site collection go to Site Contents and click New > App
  • Find and add the Feedback Application App
    • wait for it to finish installing and activating features on the Site Contents page
  • Go to a site page like home, edit the page and find and add the Feedback web part
    • If you deployed a shippable (SharePoint Online) version you don't need to do anything else
    • If you deployed a debug (http://localhost:4321) version you'll need to ensure gulp serve is running

Features

This sample illustrates the following concepts: