sp-dev-fx-webparts/samples/react-calendar
dependabot[bot] ab90d11378
Bump xml2js from 0.4.19 to 0.5.0 in /samples/react-calendar
Bumps [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) from 0.4.19 to 0.5.0.
- [Release notes](https://github.com/Leonidas-from-XIV/node-xml2js/releases)
- [Commits](https://github.com/Leonidas-from-XIV/node-xml2js/compare/0.4.19...0.5.0)

---
updated-dependencies:
- dependency-name: xml2js
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 19:17:35 +00:00
..
.devcontainer Added all 1.12.1 and 1.13 containers 2022-02-14 02:52:18 -05:00
assets updated sample.json 2022-11-07 10:02:01 -05:00
config update README 2022-10-25 23:25:48 +02:00
src remove debugger statement 2022-10-25 23:36:54 +02:00
teams New -React-Calendar Web part (#859) 2019-05-04 17:58:48 +03:00
tools New -React-Calendar Web part (#859) 2019-05-04 17:58:48 +03:00
.gitignore React-Calendar upgrade spfx version 2021-12-21 21:44:05 +02:00
.stylelintrc Upgraded to SPFx 1.10 2020-06-09 17:08:34 -04:00
.yo-rc.json React-Calendar upgrade spfx version 2021-12-21 21:44:05 +02:00
README.md Updated contributors for readmes 2023-03-15 00:11:27 -04:00
azure-pipelines.yml New -React-Calendar Web part (#859) 2019-05-04 17:58:48 +03:00
gulpfile.js React-Calendar upgrade spfx version 2021-12-21 21:44:05 +02:00
package-lock.json Bump xml2js from 0.4.19 to 0.5.0 in /samples/react-calendar 2023-04-10 19:17:35 +00:00
package.json Bump xml2js from 0.4.19 to 0.5.0 in /samples/react-calendar 2023-04-10 19:17:35 +00:00
tsconfig.json React-Calendar upgrade spfx version 2021-12-21 21:44:05 +02:00
tslint.json React-Calendar upgrade spfx version 2021-12-21 21:44:05 +02:00

README.md

page_type products languages extensions
sample
office-sp
javascript
typescript
contentType technologies platforms createdDate
samples
SharePoint Framework
react
04/25/2017 12:00:00 AM

Calendar

Summary

This Web Part allows you to manage events in a calendar. Uses a list of existing calendars on any website. The location and name of the list and the dates of the events to be displayed are defined in the properties of the web part.

Each category has its own color that is generated in the load.

The Web Part checks the user's permissions for the View, Add, Edit, and Delete events.

calendar

calendar

calendar

calendar

Web Part - Screenshots

calendar

calendar

calendar

calendar

calendar

calendar

calendar

calendar

calendar

calendar

calendar

calendar

calendar

calendar

calendar

calendar

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.10.0 Node.js v10 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

Web Part Properties

Property Type Required comments
Site Url of Calendar List Text yes
Calendar list Choice/Dropdown yes this is filled with all list of type "event list" created
Start Date Date yes Event Date
End Date Date yes Event Date

Contributors

The Web Part Use PnPjs library, Office-ui-fabric-react components. react Big-Calendar Component

Version history

Version Date Comments
1.0.0 April 25, 2019 Initial release
1.0.1 June 10, 2019 update add recurrence events
1.0.2 April 25, 2020 Update styles according to the applied theme
1.0.3 June 06, 2020 Upgrade to SPFx 1.10.0
1.0.4 October 18, 2020 Added support for all-day events
1.0.5 October 21, 2020 Added Year view
1.0.6 December 3, 2020 Fixed all-day events (#1623)
1.0.7 December 4, 2020 Fixed styling Year view + Dutch localization
1.0.8 December 24, 2020 Fixed timezone difference (#1646)
1.0.9 March 16, 2021 Fixed issue deleting events (#1773)
1.0.10 March 27, 2021 Updated prompt message when deleting single v/s multi-event.
1.0.11 May 10, 2021 Optimized page refresh using local storage
1.0.12 June 21, 2021 Fixes overlap with Year-view and the comment section by adding a vertical scrollbar.
1.0.13 October 2, 2021 Fix to make sure Today is always visible and highlighted.
1.0.14 October 16, 2021 Resolve unhandled exception that happens clicking on recurrent events
1.0.15 November 22, 2021 Fix All Day event issue that makes All Day events date expanded to another day instead of being full day event.
1.0.16 December 21, 2021 Upgraded to SPFx 1.12.1
1.0.17 October 25, 2022 Fixed issue deleting events (#2693)

Minimal Path to Awesome

  • Clone this repository
  • in the command line run:
    • npm install
    • gulp build
    • gulp bundle --ship
    • gulp package-solution --ship
    • Add to AppCatalog and deploy

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

Help

We do not support samples, but we 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.