diff --git a/CHANGELOG.md b/CHANGELOG.md index 571b485..98cb6a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [4.3.3](https://github.com/react-scheduler/react-big-schedule/compare/4.3.2...4.3.3) + +`2023-12-16` + +- Updated `node_modules` version by [@ansulagrawal](https://github.com/ansulagrawal). +- Fix issue [#114](https://github.com/react-scheduler/react-big-schedule/issues/114) displaying `[object Object]` in the title of resources. + ## [4.3.2](https://github.com/react-scheduler/react-big-schedule/compare/4.3.1...4.3.2) `2023-11-06` diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f487e6d..f899bb3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,6 +10,8 @@ Before you start contributing, please take a moment to read our Code of Conduct. If you're new to the project, it's a good idea to familiarize yourself with the [README.md](https://github.com/react-scheduler/react-big-schedule/blob/master/README.md) file, which provides an overview of the project and its features. Also, explore existing issues and pull requests to understand the ongoing work and discussions. +#### Important Note: The `master` branch is for beta releases, and the `main` branch is for stable releases. When changes are pushed to the `master` branch, a beta version will be released, whereas pushing changes to the `main` branch will trigger a release for the next stable version. + ### How to Contribute We value contributions in various forms – from reporting issues and suggesting improvements to submitting feature requests and providing code changes. To get started with your contributions, follow these steps: @@ -51,5 +53,3 @@ If you encounter a bug, have a feature request, or need assistance with the libr Thank you for taking the time to contribute to react-big-schedule! Your passion and effort are what make open-source communities thrive. We value your contributions and look forward to seeing you grow with the project. #### Happy coding! - -- The react-big-schedule Team diff --git a/package.json b/package.json index 060f073..634696e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-big-schedule", - "version": "4.3.2", + "version": "4.3.3", "description": "React Big Schedule is a powerful and intuitive scheduler and resource planning solution built with React. Seamlessly integrate this modern browser-compatible component into your applications to effectively manage time, appointments, and resources. With drag-and-drop functionality, interactive UI, and granular views, react-big-schedule empowers users to effortlessly schedule and allocate resources with precision. Enhance productivity and streamline your workflow with this React-based solution, designed to optimize time management and simplify calendar-based operations. Perfect for applications requiring advanced scheduling capabilities, react-big-schedule offers a seamless and intuitive experience for managing appointments, resource allocation, and time slots. Unlock the potential of your React projects with react-big-schedule and revolutionize the way you handle scheduling and resource planning. It is the updated version of react-big-scheduler", "keywords": [ "react-big-schedule", @@ -60,33 +60,33 @@ }, "dependencies": { "@ant-design/icons": "^5.2.6", - "antd": "^5.11.0", + "antd": "^5.12.2", "dayjs": "^1.11.10", "prop-types": "^15.8.1", "react": "^18.2.0", "react-dnd": "^14.0.5", "react-dnd-html5-backend": "^14.1.0", "react-dom": "^18.2.0", - "rrule": "^2.7.2" + "rrule": "^2.8.1" }, "devDependencies": { - "@babel/cli": "^7.23.0", - "@babel/core": "^7.23.2", - "@babel/eslint-parser": "^7.22.15", - "@babel/preset-env": "^7.23.2", - "@babel/preset-react": "^7.22.15", + "@babel/cli": "^7.23.4", + "@babel/core": "^7.23.6", + "@babel/eslint-parser": "^7.23.3", + "@babel/preset-env": "^7.23.6", + "@babel/preset-react": "^7.23.3", "babel-loader": "^9.1.3", "copy-webpack-plugin": "^11.0.0", "css-loader": "^6.8.1", - "eslint": "^8.53.0", + "eslint": "^8.56.0", "eslint-config-airbnb": "^19.0.4", - "eslint-plugin-import": "^2.29.0", + "eslint-plugin-import": "^2.29.1", "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "eslint-webpack-plugin": "^4.0.1", - "fs-extra": "^11.1.1", - "html-webpack-plugin": "^5.5.3", + "fs-extra": "^11.2.0", + "html-webpack-plugin": "^5.5.4", "style-loader": "^3.3.3", "webpack": "^5.89.0", "webpack-cli": "^5.1.4", diff --git a/src/components/AgendaResourceEvents.jsx b/src/components/AgendaResourceEvents.jsx index 8301a30..425410a 100644 --- a/src/components/AgendaResourceEvents.jsx +++ b/src/components/AgendaResourceEvents.jsx @@ -12,7 +12,6 @@ function AgendaResourceEvents(props) { const end = localeDayjs(endDate).add(1, 'days'); const headerStart = localeDayjs(new Date(item.start)); const headerEnd = localeDayjs(new Date(item.end)); - if (start === headerStart && end === headerEnd) { return item.events.map(evt => { const durationStart = localeDayjs(new Date(startDate)); @@ -36,7 +35,7 @@ function AgendaResourceEvents(props) { ); let slotItem = ( -