sp-dev-fx-webparts/samples/react-mytasks/README.md

170 lines
2.7 KiB
Markdown
Raw Normal View History

2019-11-18 16:27:11 -05:00
# React My Tasks Web Part
2019-11-18 14:53:51 -05:00
## Summary
2019-11-18 15:36:40 -05:00
This web part allows user to manage planner tasks in SharePoint Site. The UI was inspired on Planner UI, it is full implemented with Office-UI-Fabric Components. Use MSGraph API's and PnPjs to data access.
The user can search task by name, can filter by progress status, all data are dynamic updated on change.
2019-11-18 14:53:51 -05:00
![MyTasks](./assets/MyTasks.gif)
2019-11-18 16:20:19 -05:00
2020-09-23 22:18:48 -04:00
## List of Task Cards
2019-11-18 15:36:40 -05:00
![MyTasks](./assets/screen1.png)
2019-11-18 14:53:51 -05:00
## Filter Tasks
![MyTasks](./assets/screen2.png)
2019-11-18 14:53:51 -05:00
2019-11-18 15:27:15 -05:00
</br>
</br>
2019-11-18 15:36:40 -05:00
![tenant properties](./assets/screen3.png)
2019-11-18 14:53:51 -05:00
2019-11-18 15:27:15 -05:00
</br>
</br>
2019-11-18 15:36:40 -05:00
![tenant properties](./assets/screen4.png)
2019-11-18 14:53:51 -05:00
2019-11-18 15:27:15 -05:00
</br>
</br>
2019-11-18 15:36:40 -05:00
![tenant properties](./assets/screen5.png)
2019-11-18 14:53:51 -05:00
2019-11-18 15:27:15 -05:00
</br>
</br>
2019-11-18 15:19:57 -05:00
2019-11-18 15:12:16 -05:00
## Add Task
![MyTasks](./assets/AddTask.gif)
2019-11-18 16:20:19 -05:00
</br>
</br>
2019-11-18 15:12:16 -05:00
2019-11-18 14:53:51 -05:00
![tenant properties](./assets/screen6.png)
2019-11-18 14:53:51 -05:00
2019-11-18 15:27:15 -05:00
</br>
</br>
2019-11-18 15:19:57 -05:00
2019-11-18 15:36:40 -05:00
![tenant properties](./assets/screen7.png)
2019-11-18 14:53:51 -05:00
2019-11-18 15:27:15 -05:00
</br>
</br>
2019-11-18 15:19:57 -05:00
2019-11-18 15:12:16 -05:00
## Edit Tasks
2019-11-18 14:53:51 -05:00
2019-11-18 15:19:57 -05:00
![MyTasks](./assets/EditTask.gif)
2019-11-18 16:20:19 -05:00
</br>
</br>
2019-11-18 15:19:57 -05:00
![tenant properties](./assets/screen8.png)
2019-11-18 15:12:16 -05:00
2019-11-18 14:53:51 -05:00
2019-11-18 15:27:15 -05:00
</br>
</br>
2019-11-18 15:19:57 -05:00
2019-11-18 15:30:19 -05:00
![tenant properties](./assets/screen9.png)
2019-11-18 15:12:16 -05:00
2019-11-18 15:27:15 -05:00
</br>
</br>
2019-11-18 15:30:19 -05:00
![tenant properties](./assets/screen10.png)
2019-11-18 15:12:16 -05:00
2019-11-18 15:27:15 -05:00
</br>
</br>
2019-11-18 15:30:19 -05:00
![tenant properties](./assets/screen11.png)
2019-11-18 15:12:16 -05:00
2019-11-18 15:27:15 -05:00
</br>
</br>
2019-11-18 15:30:19 -05:00
![tenant properties](./assets/screen12.png)
2019-11-18 14:53:51 -05:00
2019-11-18 15:19:57 -05:00
2019-11-18 15:30:19 -05:00
</br>
</br>
2019-11-18 15:19:57 -05:00
2019-11-18 15:12:16 -05:00
![tenant properties](./assets/screen13.png)
2019-11-18 14:53:51 -05:00
2019-11-18 15:12:16 -05:00
2019-11-18 15:36:40 -05:00
</br>
</br>
2019-11-18 14:53:51 -05:00
![tenant properties](./assets/screen14.png)
2019-11-18 15:36:40 -05:00
2019-11-18 14:53:51 -05:00
## Used SharePoint Framework Version
2020-09-23 22:18:48 -04:00
![SPFx 1.11](https://img.shields.io/badge/version-1.11.0-green.svg)
2019-11-18 14:53:51 -05:00
## Applies to
* [SharePoint Framework](https://docs.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview)
* [Office 365 tenant](https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-development-environment)
2019-11-18 14:53:51 -05:00
## WebPart Properties
Property |Type|Required| comments
--------------------|----|--------|----------
WebPart Title| Text| no|
## Solution
2020-09-23 22:18:48 -04:00
2019-11-18 14:53:51 -05:00
The Web Part Use PnPjs library, Office-ui-fabric-react components and MSGraph API's
Solution|Author(s)
--------|---------
My Tasks |João Mendes
2020-09-23 22:20:54 -04:00
My Tasks |Swaminathan Sriram
2019-11-18 14:53:51 -05:00
## Version history
Version|Date|Comments
-------|----|--------
1.0.0|November 17, 2019|Initial release
2020-09-23 22:18:48 -04:00
1.0.1|September 9, 2020|Upgraded to SPFx 1.11.
2019-11-18 14:53:51 -05:00
## Disclaimer
2020-09-23 22:18:48 -04:00
2019-11-18 14:53:51 -05:00
**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
- Move to sample folder
- in the command line run:
- `npm install`
- `gulp build`
- `gulp bundle --ship`
- `gulp package-solution --ship`
- `Add to AppCatalog and deploy`
- `go to SharePoint Admin Center and Approve required API Permissions`
<img src="https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/react-MyTask" />