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

177 lines
4.0 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
2019-11-18 16:27:11 -05:00
</br>
</br>
2019-11-18 16:20:19 -05:00
![MyTasks](https://github.com/joaojmendes/sp-dev-fx-webparts/blob/My-Tasks/samples/react-mytasks/assets/MyTasks.gif)
2019-11-18 14:53:51 -05:00
## List of Task Cards
2019-11-18 15:36:40 -05:00
2019-11-18 15:06:42 -05:00
![MyTasks](https://github.com/joaojmendes/sp-dev-fx-webparts/blob/My-Tasks/samples/react-mytasks/assets/screen1.png)
2019-11-18 14:53:51 -05:00
## Filter Tasks
2019-11-18 15:36:40 -05:00
2019-11-18 15:06:42 -05:00
![MyTasks](https://github.com/joaojmendes/sp-dev-fx-webparts/blob/My-Tasks/samples/react-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
2019-11-18 15:06:42 -05:00
![tenant properties](https://github.com/joaojmendes/sp-dev-fx-webparts/blob/My-Tasks/samples/react-mytasks/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
2019-11-18 15:06:42 -05:00
![tenant properties](https://github.com/joaojmendes/sp-dev-fx-webparts/blob/My-Tasks/samples/react-mytasks/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
2019-11-18 15:06:42 -05:00
![tenant properties](https://github.com/joaojmendes/sp-dev-fx-webparts/blob/My-Tasks/samples/react-mytasks/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
2019-11-18 16:20:19 -05:00
![MyTasks](https://github.com/joaojmendes/sp-dev-fx-webparts/blob/My-Tasks/samples/react-mytasks/assets/AddTask.gif)
</br>
</br>
2019-11-18 15:12:16 -05:00
2019-11-18 14:53:51 -05:00
2019-11-18 15:06:42 -05:00
![tenant properties](https://github.com/joaojmendes/sp-dev-fx-webparts/blob/My-Tasks/samples/react-mytasks/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
2019-11-18 15:06:42 -05:00
![tenant properties](https://github.com/joaojmendes/sp-dev-fx-webparts/blob/My-Tasks/samples/react-mytasks/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
2019-11-18 16:20:19 -05:00
![MyTasks](https://github.com/joaojmendes/sp-dev-fx-webparts/blob/My-Tasks/samples/react-mytasks/assets/EditTask.gif)
</br>
</br>
2019-11-18 15:19:57 -05:00
2019-11-18 15:06:42 -05:00
![tenant properties](https://github.com/joaojmendes/sp-dev-fx-webparts/blob/My-Tasks/samples/react-mytasks/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
2019-11-18 15:06:42 -05:00
![tenant properties](https://github.com/joaojmendes/sp-dev-fx-webparts/blob/My-Tasks/samples/react-mytasks/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
2019-11-18 15:06:42 -05:00
![tenant properties](https://github.com/joaojmendes/sp-dev-fx-webparts/blob/My-Tasks/samples/react-mytasks/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
2019-11-18 15:06:42 -05:00
![tenant properties](https://github.com/joaojmendes/sp-dev-fx-webparts/blob/My-Tasks/samples/react-mytasks/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
2019-11-18 15:06:42 -05:00
![tenant properties](https://github.com/joaojmendes/sp-dev-fx-webparts/blob/My-Tasks/samples/react-mytasks/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](https://github.com/joaojmendes/sp-dev-fx-webparts/blob/My-Tasks/samples/react-mytasks/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
2019-11-18 15:36:40 -05:00
![tenant properties](https://github.com/joaojmendes/sp-dev-fx-webparts/blob/My-Tasks/samples/react-mytasks/assets/screen14.png)
2019-11-18 14:53:51 -05:00
## Used SharePoint Framework Version
![drop](https://img.shields.io/badge/version-1.9.1-green.svg)
## Applies to
* [SharePoint Framework](https:/dev.office.com/sharepoint)
* [Office 365 tenant](https://dev.office.com/sharepoint/docs/spfx/set-up-your-development-environment)
## WebPart Properties
Property |Type|Required| comments
--------------------|----|--------|----------
WebPart Title| Text| no|
## Solution
The Web Part Use PnPjs library, Office-ui-fabric-react components and MSGraph API's
Solution|Author(s)
--------|---------
My Tasks |João Mendes
## Version history
Version|Date|Comments
-------|----|--------
1.0.0|November 17, 2019|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
- 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" />